Selenium-Webdriver provides an API to control and communicate with web browsers.
0
votes
0answers
8 views
Webdriver is not able to close the Browser
I'm using IE. When I use the command driver.quit() or driver.close() to close the browser, an alert box pops up saying "do you want to navigate away from the webpage?" So How to accept the alert box ...
0
votes
0answers
8 views
Not able to locate org.openqa.selenium class using ant to run a webdriver script
I am using Apache ANT to run my webdriver script.
My project structure is as follows:
ant_webdriver_project
- src
- test.ant.webdriver
- TestLogin.java
- JRE System Libraries
- Referenced ...
1
vote
1answer
25 views
Selenium Webdriver takes long time to run
Webdriver taking long time to run than ide why, is there a way to execute my web driver example in already opened firefox browser, Since i was new to Webdriver i need good tutorials, Please share the ...
0
votes
1answer
37 views
My script is not running successfully every time. After running sometimes it runs successfully for 1 time and next time when I run again it fails
My script is not running successfully every time. After running sometimes it runs successfully for 1 time and next time when I run again it fails.
package Example;
import java.io.FileInputStream;
...
0
votes
1answer
27 views
end of file error while handling options from select tag in selenium Webdriver using Ruby
The following is the code that I am using to select one particular option from a select tag:
select = driver.find_element(:id, "lang")
wait = Selenium::WebDriver::Wait.new(:timeout ...
0
votes
1answer
43 views
How find_element_by_tag_name and find_elements_by_tag_name differs?
I am confused with their applications of the two below. How by functionally they acts?
find_element_by_name and
find_elements_by_name ;
find_element_by_tag_name and
find_elements_by_tag_name
I ...
0
votes
1answer
27 views
How to execute a Javascript function in python with selenium
I have a function called 'checkdata(code)' in javascript, which, as you can see, takes an argument called 'code' to run and returns a 15-char string.
So, I found out (and tested) how to call ...
2
votes
1answer
41 views
Data Driven Testing for a database web application
I have a database web application and I need to see all the possible inputs and all the possible outputs of this application (using Selenium or Jmeter).
Actually I tried to understand how the "Input ...
0
votes
2answers
11 views
Selenium [JavaScipt Application] Error
I have the following code:
driver = new FirefoxDriver();
// driver = new InternetExplorerDriver();
The InternetExplorerDriver works fine (with the .exe), but with the Firefox driver, ...
-1
votes
0answers
16 views
WebDriver explicit wait using TestNG [closed]
Probably I am facing an issue while using the WebdriverWait. The implicit call. My issue is If I am able to wait for a clickable element to load on the next page then its working as expected as the ...
0
votes
1answer
27 views
Select multiple rows from table using Selenium in ruby
I'm writing script to automate test where I've to select multiple rows from table & apply some settings to those rows (by selecting them in a group). For that, I'll have to select multiple rows ...
0
votes
1answer
14 views
Can Python selenium be used to work with Excel sheet to store webdata?
Can I use python to work with Excel?Basically I will traverse the webpage and collect the data from the different fields and want to store them in excel tabular format.So is there any way to open an ...
2
votes
3answers
47 views
+50
Explicit waits in phpunit selenium2 extension
For C# there is a way to write a statement for waiting until an element on a page appears:
WebDriverWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(10));
IWebElement myDynamicElement = ...
0
votes
1answer
23 views
Can Python selenium be used to click on webpage labels?
I am working on third party applications where on the page too many labels are used as link or navigate to another page. So does python can do such tasks or read the page select list values?
I am ...
0
votes
1answer
21 views
Automate android embedded web views
I tried to automate android embedded views.
I have used Robotium and selenium web driver tools. But both are NOT supporting.
Android Web Driver code
import org.openqa.selenium.By;
import ...