Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 7689

Use for questions about Selenium 2. Selenium 2 is the second major release of Selenium, an open source framework for testing web applications. A major difference between Selenium 1 and Selenium 2 is the latter's use of WebDriver.

0
votes
The Selenium Grid and Node is downward compatible. It works with Selenium 1 and Selenium 2 / WebDriver. The seleniumProtocol parameters define for what version of Selenium the configuration apply. …
answered Jul 24 '14 by Twaldigas
1
vote
You have the following options: driver.findElement(By.className="k-button").click(); // Do not work if you have several HTML elements with the k-button CSS class on the same page driver.findElement(B …
answered Nov 25 '14 by Twaldigas
9
votes
No, Selenium 2 / WebDriver is for web applications only. But there are other tools to automate desktop application GUI tests. http://en.wikipedia.org/wiki/List_of_GUI_testing_tools You can also se …
answered Jul 18 '14 by Twaldigas
0
votes
Use the Actions object to open a new tab. Perform a action who press and hold the ctrl key and after that press the t key. After that release all keys. ctrl and t is the shortcut to open a new tab in …
answered Jul 22 '14 by Twaldigas
2
votes
IWebDriver has the method WindowHandles. The method returns a collection. So you can use the size of the collection to get the number of open windows. IWebDriver Interface IWebDriver.WindowHandles P …
answered Aug 27 '14 by Twaldigas
1
vote
You need the SafariDriver extension for your Safari browser and you have to set two system properties: webdriver.safari.driver - Location of the Safari browser extension file webdriver.safari.noinst …
answered Jan 14 '15 by Twaldigas
0
votes
This should work: class Hull { protected WebDriver driver; @BeforeMethod public void initializeDriver() { // Initialize the driver here. } } class ClassWithTestMethods ext …
answered Jul 15 '14 by Twaldigas
0
votes
This should work: WebElement element = driver.findElement(By.xpath("//button[@class='btn' and contains(@onclick,'PopulateInvestor')]")); element.click(); The driver search for the element on this w …
answered Oct 8 '14 by Twaldigas
1
vote
Approach 1 Create a class, for example Hull. In the cass is a protected variable WebDriver driver. In the class is a method setup() with a @Before annotation. In the method you has a condition: Is W …
answered Jul 7 '14 by Twaldigas
1
vote
Something like this should work: public boolean isTextOnPagePresent(String text) { WebElement body = driver.findElement(By.tagName("body")); String bodyText = body.getText(); return bodyT …
answered Jul 15 '14 by Twaldigas
2
votes
As far as I can tell from your screenshot, you do not face an alert. The "Cookie control" is just a HTML element on your website and is styled to overlay the website. So you just need to click on the …
answered Nov 21 '18 by Twaldigas
7
votes
Java My experience is, that the basics of Java suffice to start developing test cases with Selenium 2 / WebDriver. Myself started developing of Selenium test cases with a basic knowledge about Java. …
answered Sep 2 '14 by Twaldigas
2
votes
1.In eclipse i have executed the tests they are working fine, how i have to execute them in production server? Your tests can run in every environment. You can have a Selenium Hub and many VMs wi …
answered Aug 6 '14 by Twaldigas
14
votes
PageObjects The code of automated test cases should be easy to understand and not too complex. If a test fails, we want to know why and this as soon as possible. To allow this exists PageObjects. Pag …
answered Oct 8 '14 by Twaldigas
1
vote
Like Josa Pita says, that is nothing for testing frameworks itself. The developers could write a script to save the current version of the DB. The process should look like that: Save current versi …
answered Jul 2 '14 by Twaldigas

15 30 50 per page