Database Testing Checklist N B 9/27/2013 03:51:00 pm 19 1.) Data integrity The complete data belonging to each entity should be stored in the database. Depending on the database design, t... Read more »
Regression Testing VS ReTesting N B 9/27/2013 02:58:00 pm 0 a.)ReTesting- This is done to check if the Fix done by the Dev for the Defect works Properly. Regression Testing-This is done to ensure... Read more »
Oracle Database Connectivity (WebDriver) N B 9/27/2013 01:43:00 pm 2 Code Snippet for Oracle Database Connectivity in WebDriver Jar Files required: 1.)ojdbc14-10.2.0.3.0.jar 2.)mysql-connector-java-5.1.21.... Read more »
Read Data or HTML table Using WebDriver N B 9/24/2013 10:34:00 am 2 Code Snippet for how to Read Data or HTML table Using WebDriver WebElement tab=driver.findElement(By. xpath("//table[@id=' av... Read more »
Find Broken Images for an Application or a Website(WebDriver) N B 9/24/2013 10:29:00 am 3 Code in Selenium to Find Broken Images for an Application or a Website import java.util.List; import java.util.concurrent.TimeUnit; ... Read more »
Upload a File Using AutoIT(WebDriver) N B 9/24/2013 10:27:00 am 11 1. First install autoit from www.autoitscript.com/site/autoit/downloads 2. Create an autoit file with below code say abc.au3 file and ... Read more »
Integrate Firebug with WebDriver Window N B 9/24/2013 10:19:00 am 0 When We Run Selenium WebDriver , the WebDriver Window does not have Firebug in it. To Launch Firebug in WebDriver window we can use the f... Read more »
How to Sort The Array List in Java(WebDriver) N B 9/23/2013 03:01:00 pm 0 List<String> unsortList = new ArrayList<String>(); List<WebElement>data=cell. findElements(By.xpath("//td[5] ... Read more »
Selecting Date from Calendars(WebDriver) N B 9/23/2013 02:48:00 pm 0 Calendar now = Calendar.getInstance(); System.out.println("Current Year is : " + now.get(Calendar.Y... Read more »
Bypass the Username and Password for a Website(WebDriver) N B 9/23/2013 02:42:00 pm 0 Add the username and password in the Url , Without prompting the dailogbox it will open the site. For Example : If you want to access... Read more »
How to switch control to pop-up window(WebDriver)----> Handling Pop Ups N B 9/23/2013 02:35:00 pm 0 How to switch control to pop-up window ? If you want to do any operations in pop-up window you need to switch the control to pop-up w... Read more »
Handling Excel Sheet in Selenium(WebDriver) N B 9/23/2013 02:30:00 pm 5 Download jxl.jar file import java.io.FileInputStream; import jxl.Sheet; import jxl.Workbook; import org.openqa.selenium.By ; ... Read more »
Handling MOUSE OVER IN WebDriver N B 9/23/2013 01:47:00 pm 0 MOUSE OVER Actions actions=newActions(driver); WebElement mouseover=driver.findElement(By.id("")); actions.moveToElement(m... Read more »
Handling Time Outs in Selenium(WebDriver) N B 9/23/2013 01:46:00 pm 0 TIME OUTS – WAIT Implicit Waits: driver.manage().timeouts().implicitlyWait(10,TimeUnit.SECONDS); EXPLICIT WAITS WebDriverWait w... Read more »
Handling frame in Selenium(WebDriver) N B 9/23/2013 01:45:00 pm 0 Snippet for Handling frame in selenium WebElement frame1=driver.findElement(By.className("codtnbiframepd")); driver.swit... Read more »
Setting Up Profile in Firefox and Webdriver N B 9/23/2013 01:40:00 pm 0 Setting Up Profile in Firefox and Webdriver Press Win+r Then firefox -P Add a new Profille by Name for example-neeraj Profi... Read more »
Handling Alerts (WebDriver) N B 9/23/2013 01:36:00 pm 0 Handling Alerts Package Required for Alert-----> import org.openqa.selenium.Alert; Three methods Alert class provides variou... Read more »
Taking Screenshot and Saving Screenshot (WebDriver) N B 9/23/2013 01:36:00 pm 0 Snippet for Taking Screenshot and Saving Screenshot import java.io.File; import org.apache.commons.io.FileUtils; File scrFi... Read more »
Assertion Check if Heading and label appears Proper (WebDriver) N B 9/23/2013 01:34:00 pm 0 Assertion Check if Heading and label appears Proper WebElement zipcode=driver.findElement(By.id("lblmsg")); assertEqual... Read more »
Select Value from Drop Down (WebDriver) N B 9/23/2013 01:32:00 pm 0 Snippet for Selecting Value from Drop Down 1.)Select selectData=new Select(element); selectData.deselectAll(); selectData.selec... Read more »
Printing Values from Drop Down dox (WebDriver) N B 9/23/2013 01:15:00 pm 0 Snippet for Printing Values from Drop Down dox (WebDriver) WebElement dropdown=driver.findElement(By.xpath("//*[@id='gh-c... Read more »
Segmentation Fault N B 9/23/2013 12:46:00 pm 0 Segmentation Fault: An error in which a running program attempts to access memory not allocated to it and core dumps with a segmentation ... Read more »
Hide Apache and PHP information N B 9/23/2013 12:45:00 pm 0 Attacker will always try to find out your PHP and Apache version using simple method. Most bugs are version specific. You can hide A... Read more »