Selenium Common Knowledge
m936956
这个作者很懒,什么都没留下…
展开
-
Selenium Grid
Id Detail What is Selenium-Grid? Selenium-Grid allows you run your tests on different machines against different browsers in parallel. That is, running multiple tes...原创 2019-05-20 15:50:22 · 117 阅读 · 0 评论 -
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, Chrome, Internet Explorer, Safari etc.)ØHave great platform compatibility (Wi...原创 2019-05-27 15:41:56 · 159 阅读 · 0 评论 -
What are available drivers in WebDriver?
ØFirefoxDriverØInternetExplorerDriverØChromeDriverØSafariDriverØOperaDriverØAndroidDriverØIPhoneDriverØHtmlUnitDriver原创 2019-05-27 15:42:53 · 151 阅读 · 0 评论 -
Xpath VS. cssSelector
Id Detail XPath Using XPaths we can traverse up in the document i.e. we can move to parent elements. cssSelector Only move downwards in the...原创 2019-05-27 15:44:36 · 187 阅读 · 0 评论 -
Xpath
Id Detail What is XPath XPath is used to locate the elements using XPath, we could navigate through elements and attributes in an XML documents to locate web elem...原创 2019-05-27 16:06:47 · 94 阅读 · 0 评论 -
Exceptions in Selenium WebDriver
Id Detail WebDriverException Mismatching between webdriver version and browser version TimeoutException Give Explicitly wait or implicitly wai...原创 2019-05-28 16:40:35 · 134 阅读 · 0 评论 -
driver.get(url) VS. driver.navigate.to(url)
Id Detail driver.get(url) To open an URL and it will wait till the whole page get loaded. When the page is loading, selenium will not perform any action unti...原创 2019-05-28 17:35:53 · 761 阅读 · 0 评论 -
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 Client Server etc) applications Windows OS based pop-up Third part calendar Imag...原创 2019-05-31 17:19:10 · 111 阅读 · 0 评论 -
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 page is loading, selenium will ...原创 2019-05-29 11:27:03 · 95 阅读 · 0 评论 -
What are the benefits of Automation Testing?
ØSupports execution of repeated test casesØAids in testing a large test matrixØEnables parallel executionØEncourages unattended executionØImproves accuracy thereby reducing human-generated err...原创 2019-05-27 15:41:22 · 127 阅读 · 0 评论 -
What is Automation Testing?
Automation testing or Test Automation is a process of automating the manual process to test the application/system under test. Automation testing involves the use of a separate testing tool which lets...原创 2019-05-27 15:40:45 · 179 阅读 · 0 评论 -
Selenium 1 VS Selenium 2
Summary Detail Selenium 1 2004 when Jason Huggins He developed a Javascript library that could drive interactions with the page, allowing him to automatically rer...原创 2019-05-15 14:39:44 · 130 阅读 · 0 评论 -
WebDriver VS. Selenium-Server
Id Detail WebDriver Run test in your local: If your browser and tests will all run on the same machine, and your tests only use the WebDriver API, then you do ...原创 2019-05-15 14:44:05 · 208 阅读 · 0 评论 -
HtmlUnit Driver
Id Detail HtmlUnit Driver This is currently the fastest and most lightweight implementation of WebDriver. As the name suggests, this is based on HtmlUnit. HtmlUnit ...原创 2019-05-15 14:44:45 · 888 阅读 · 0 评论 -
Explicit Wait VS. Implicit Wait
Id Detail Explicit Wait This waits up to 10 seconds before throwing a TimeoutException or if it finds the element will return it in 0 - 10 seconds. WebDriverWait by de...原创 2019-05-15 14:55:18 · 153 阅读 · 0 评论 -
Assert VS. Verify
Id Detail Assert If you use an assert, the test will stop at that point and not run any subsequent checks. The advantage: you have an immediate visual of whethe...原创 2019-05-15 14:56:20 · 125 阅读 · 0 评论 -
Page Object Model/Page Factory VS. User Interface Mapping
Page Object Model Id Detail Define A page object is an object-oriented class that serves as an interface to a page of your AUT. The tests then use the methods of ...原创 2019-05-15 14:58:49 · 117 阅读 · 0 评论 -
By ID/Name VS. xpath Vs. link text
Id Detail Using an element ID or name locator Most efficient in terms of test performance Makes your test code more readable, assuming the ID or name within the...原创 2019-05-15 15:00:36 · 119 阅读 · 0 评论 -
Selenium components
Selenium Integrated Development Environment (IDE) – Selenium IDE is a record and playback tool. It is distributed as a Firefox Plugin. It is the simplest framework in the Selenium Suite. It allows us ...原创 2019-05-27 15:05:40 · 110 阅读 · 0 评论 -
driver.close() VS. driver.quit()
Id Detail driver.quit() It basically calls driver.dispose() method which in turn clos...原创 2019-05-29 11:27:43 · 337 阅读 · 0 评论