Tagged Questions
2
votes
1answer
96 views
Selenium Webdriver | Unable to locate element error
I am trying to run the below code but getting error. Can you please point out the issue?
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import ...
3
votes
2answers
102 views
Is it a good idea to learn Selenium RC alongside Webdriver
I have recently started exploring Selenium. According to the experts future lies in Selenium Webdriver. But my question is being a predecessor should I also learn Selenium RC? Will it be worth ...
0
votes
1answer
758 views
Unable to add Safari developer certificate in safari
Enviornment: Maz OSX
browser : safari
wedriver: 2.24.1
Created safari extension and safari developer certificate from apple developer site.
tried adding the certificate in safari keychain login .
As ...
4
votes
2answers
569 views
Issue with losing focus of “hover” command when the mouse is outside of the active window
If I automate mouse actions using Selenium2/Webdriver in combination with Firefox 12, I can easily get the "mouse" to move to and hover over a context menu so the sub-menus are seen. However, if I ...
3
votes
3answers
201 views
Rule of thumb for using wait()
A rule of thumb for using wait() would be before navigating to a different page. For Ex :
WebDriverWait(driver,10).until(lambda driver: driver.title.startswith("Submitted!!"))
What would be other ...
4
votes
1answer
146 views
Read requests and responses made by browser on naviagating a web page in C# webdriver
0 down vote favorite
share [g+] share [fb] share [tw]
I wants to read all the requests and responses made and get by the browser on navigating on a page.
For ex: If I navigate to ...
4
votes
4answers
1k views
Testing Page Layout with webdriver
Has anyone tried to test the page layout of a website using webdriver? To be specific, using webelement.getPosition() and webelement.getDimension().
Shouldn't these two methods be enough for testing ...
1
vote
1answer
301 views
What is the max number of threads allowed for running TestNG tests in parallel?
I’m trying to run TestNG tests in parallel, right now I’ve set “parallel=tests” & ‘thread-count=25’ but I see that only 10 threads are running at a time. Is this testNG’s thread limit? Is there ...
1
vote
2answers
1k views
Speed up launch of WebDriver Firefox Window
When WebDriver initializes, there is a long waiting time when a browser window launches before the actual automated test begins. How can I speed this up? Is there a way to have a browser window ...
0
votes
3answers
6k views
WebDriver: navigate to new browser window
How do I open a new browser window in Selenium WebDriver? I'm using C# client drivers, but if you know with any language, I should be able to find the correct class/method in C#. On Stack Overflow, ...
2
votes
4answers
2k views
I face a problem while opening Firefox with Selenium script
I face a problem while running Selenium scripts. I try to open Firefox using the following command:
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public ...
1
vote
1answer
1k views
Can't open webpage using Firefox WebDriver using Selenium [duplicate]
Possible Duplicate:
I face a problem while opening Firefox with Selenium script
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class ok {
...
3
votes
3answers
1k views
Any one have experience with frameworks using webdriver in Visual Studio?
I'm using webdriver to automate our browser testing, I have some scripted tests already where I am using Visual Studio and while I don't mind other formats I'm looking for a good supportable framework ...