原创 Why should Selenium be selected as a test tool?

ØIs a free and open source ØHave a large user base and helping communities ØHave cross Browser compatibility (Firefox,

原创 Switch Window

 If the new window wiht name attribute: driver.switchTo().window(<windowName>); Otherwise:  public static final b

原创 Xpath VS. cssSelector

Id Detail XPath Using XPaths we can traverse up in the document i.e. we can move to parent elements. cssSe

原创 What are the benefits of Automation Testing?

ØSupports execution of repeated test cases ØAids in testing a large test matrix ØEnables parallel execution ØEncourages

原创 Some scenarios which can not using Selenium

Bigmap comparison Captcha and bar code Don’t support any non_web based (Like Win 32, Java Applet, Java Swing, Net Clien

原创 driver.close() VS. driver.quit()

Id                                                                               Detail driver.quit() It basica

原创 The ways to refresh a browser using Selenium WebDriver

ID Way Detail 1 driver.get(url) To open an URL and it will wait till the whole page get loaded. When the p

原创 What are available drivers in WebDriver?

ØFirefoxDriver ØInternetExplorerDriver ØChromeDriver ØSafariDriver ØOperaDriver ØAndroidDriver ØIPhoneDriver ØHtmlUnitD

原创 What is Automation Testing?

Automation testing or Test Automation is a process of automating the manual process to test the application/system unde

原创 TestNG - Indicate environment and browser as parameter, set up value in Xml file.

Set up parameter in TestNG class  There is a class named Config which focuses on set up environment and browser, here j

原创 What are the limitations of Selenium?

ØSelenium supports testing of only web-based applications ØMobile applications cannot be tested using Selenium ØCaptch

原创 What are the advantage of TestNG?

1. TestNG provides parallel execution of test methods 2. It allows to define dependency of one test method over other

原创 What is he importance of testing.xml file?

In a selenium TestNG project, we use testing.xml file to configure the complete test suite in a single file. TestNG.xm

原创 Selenium Workflow

原创 Framework - Java+Selenium+TestNG

 How to use it:          1.  Create test case which extends BaseTestCase, or BaseWebTestCase.          2.  Create test