Test
Monday, April 1, 2019
HTML Table
Key Names | CompanyName | Value |
---|---|---|
Drank E | Apple | $122,365.24 |
Robert A | $599.00 | |
Uncle Bob | MicroSoft | $850,139.99 |
Imbder O | Tesla | $23,329.50 |
Anand Pasunoori | My Company | $566.27 |
Key Names | CompanyName | Value |
---|---|---|
Drank E | Apple | $122,365.24 |
Robert A | $599.00 | |
Uncle Bob | MicroSoft | $850,139.99 |
Imbder O | Tesla | $23,329.50 |
Anand Pasunoori | My Company | $566.27 |
package com.sample; import org.openqa.selenium.WebDriver; import org.openqa.selenium.ie.InternetExplorerDriver; public class IETest { public static String GOOGLE_HOME_PAGE = "https://google.com"; public static void main(String[] args) { System.setProperty("webdriver.ie.driver", "C:/Users/u405905/Desktop/seleniumDrivers/IEDriverServer/IEDriverServer.exe"); WebDriver driver = new InternetExplorerDriver(); driver.get(GOOGLE_HOME_PAGE); } }
1) When an "assert" fails, the test will be aborted. Where if a "verify" fails, the test will continue executing and logging the failure. 2) assertions are used when u really want to check some things and make sure that it works. If assertions fail ur test will fail with assertions Failure exception and your test case execution will stop . Verify will not cause ur test case to stop but u will have failure in the logs.
As you know Selenium is a free ware open source testing tool. There are many challenges with Selenium. 1. Selenium Supports only web based applications 2. It doesn’t support any non web based (Like Win 32, Java Applet, Java Swing, .Net Client Server etc) applications 3. When you compare selenium with QTP, Silk Test, Test Partner and RFT, there are many challenges in terms of maintainability of the test cases 4. Since Selenium is a freeware tool, there is no direct support if one is in trouble with the support of applications 5. There is no object repository concept in Selenium, so maintainability of the objects is very high 6. There are many challenges if one have to interact with Win 32 windows even when you are working with Web based applications 7. Bitmap comparison is not supported by Selenium 8. Any reporting related capabilities, you need to depend on third party tools 9. You need to learn any one of the native language like (.Net, Java, Perl, Python, PHP, Ruby) to work efficiently with the scripting side of selenium
Selenium is a suite of tools for web automation testing. Selenium first came to life in 2004 when Jason Huggins was testing an internal application at ThoughtWorks. Selenium was a tremendous tool, it wasn’t without it’s drawbacks. Because of its Javascript based automation engine and the security limitations browsers apply to Javascript, different things became impossible to do. Selenium Suite of projects include: Selenium IDE Selenium Core Selenium 1 (known as. Selenium RC or Remote Control) Selenium 2 (known as. Selenium Webdriver) Selenium-Grid Official Link: http://www.seleniumhq.org/
Using the Selenium IDE, QA Tester can record a test to comprehend the syntax of Selenium IDE commands, or to check the basic syntax for a specific type of user interface. Keep in mind that Selenium IDE recorder is not clever as QA Testers want it to be. Quality assurance team should never consider Selenium IDE as a "record, save, and run it" tool, all the time anticipate reworking a recorded test cases to make them maintainable in the future.
Copyright © 2011 Mixx Blogger Template - Blogger Templates by BloggerReflex
Sponsored by: Trucks | SUV | Cheap Concert Tickets