Post Views: 48,308 Benefits of Automation testing are as follows. It allows execution of repeated test cases It enables parallel execution Automation Testing encourages unattended execution It improves accuracy. Thus, it reduces human-generated errors It saves time and money.
Post Views: 48,309 The main disadvantage of implicit wait is that it slows down test performance. Another disadvantage of implicit wait is: Suppose, you set the waiting limit to be 10 seconds, and the elements appear in the DOM in 11 seconds, your tests will be failed because you told it to wait a maximum of 10 seconds.
Post Views: 48,283 Selenium Webdriver introduces the concept of waits for the AJAX-based application. There are two types of waits: Implicit Wait Explicit Wait
Post Views: 48,291 findElement(): It is used to find the first element within the current page using the given “locating mechanism”. It returns a single WebElement. findElements(): It uses the given “locating mechanism” to find all the elements within the current page. It returns a list of web elements.
Post Views: 48,273 “type” command is used to type keyboard key values into the text box of software web application. It can also be used for selecting values of combo box whereas “typeAndWait” command is used when your typing is completed and software web page start reloading. This command will wait for software application page to reload. If there is no page reload event on typing, you have to use a simple “type” command.
Post Views: 48,280 Selenium WebDriver supports the below languages to write Test Cases. JAVA PHP Python C# Ruby Perl
Post Views: 48,269 WebDriver supported “mobile testing drivers” are: AndroidDriver IphoneDriver OperaMobileDriver
Post Views: 48,258 JUnit annotations which can be used are: Test Before After Ignore BeforeClass AfterClass RunWith
Post Views: 48,252 Single Slash “/”: Single slash is used to create XPath with absolute path. Double Slash “//”: Double slash is used to create XPath with the relative path.