Questions tagged [selenium2]
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.
16
questions with no upvoted or accepted answers
6
votes
0answers
348 views
Integrating Selenium Webdriver tests written in Java to SpiraTest
I'm interested in SpiraTest's and Selenium Webdriver's collaboration. My objective - launch a Selenium test written in Java on Eclipse. Can the SpiraTest quality management tool run .exe or .bat files ...
4
votes
0answers
3k views
Jenkins Build Is Hanging
We are using Jenkins for continuous integration. I have already created a Jenkins job for running all my robot framework automation test scripts & Everything was absolutely working fine.
But now,...
4
votes
1answer
250 views
Getting and logging the selenium version used in a groovy project
I'm using Selenium in my Groovy application as a Maven dependency. Now I'm looking for a way to log the used Selenium Version to the console.
I tried this:
BuildInfo info = new BuildInfo();
def ...
3
votes
0answers
772 views
How to set browser window size using Phantom JS + Java
I am working on PhantomJS with Java for one of my project. I am looking for some help in working with PhantomJS in following scenario.
Scenario:
Step-1: Mouse hover on tab/link then 2 sub-links will ...
3
votes
0answers
245 views
How do I access fields within Braintree's Hosted Fields' iframes using selenium
On my application payment gateway is Braintree, I need to automate it and face some difficulties when I am automating it, the major problem is I cannot send credit card details using xpath, I research ...
1
vote
3answers
235 views
How to pass excel column values into different test methods of a class in Java Selenium
I have an excel which contains 4 columns with N rows. Let us say Col1, Col2, Col3, Col4 are the headers.
Now I have a java class and there are 3 methods inside it.
public class test(){
@Test(...
1
vote
0answers
22 views
How to print the webservice(jqurey) hit on the console for search functionality
Open a website, press F12 go to network option and enable preserve log
now type the work you want to search eg:dogs
we can see the service "http://search.test.com/search........."
here i want the ...
1
vote
0answers
410 views
how to use javascript in selenium for get data from excel
I am using selenium for data entry there are some drop downs in my web page I use dropDown.selectByVisibleText(input.getCellData(i, 0)); for every one but after first drop down it is not working ...
1
vote
0answers
215 views
search string text in search grid is not working using send keys
I am passing sendKeys( ) through search grid to search a particular string.I am able to click that search text but its not clicking the search string ,Below is the html for that search text:
<...
0
votes
0answers
147 views
[[TestNGClassFinder]] Unable to read methods on class
[[TestNGClassFinder]] Unable to read methods on class package.CreateCustomer - unable to resolve class reference org/openqa/selenium/WebDriver
I have created a testNG program and run the program using ...
0
votes
0answers
157 views
How can we use the “TableTransfomer” Method to read data from “DataTable” in Cucumber?
I am stuck with using a TableTransfomer Class to convert Datatable into desired domain object. I am following some examples from the web, but have completely messed up my code.
I just want Cucumber ...
0
votes
0answers
20 views
How to get data from PDF from URL having authentication using selenium?
I need to automate this flow where a PDF will be opened when i use the URL and enter the authentication.
This flow has to be automated using Selenium. I tried PDFbox API but it works only for URL ...
0
votes
1answer
58 views
Fetch paid Amount value from iframe
if(ScenarioName.equals("MoveinwithVantivCard")) {
driver.findElement(By.id("btnsave")).click();
// driver.switchTo().frame("paymentIFrame");
driver.switchTo().frame(driver.findElement(By....
0
votes
0answers
331 views
Selenium Grid2 and Sikuli
Has anyone tried integrating Sikuli to Selenium Grid architecture? I have read many articles online but unfortunately couldn't reach to a solution.
To briefly explain, my scripts are equipped with ...
-1
votes
1answer
236 views
when I try to launch any driver the webpage is not getting loaded
org.openqa.selenium.firefox.NotConnectedException: Unable to connect
to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
syncGUID":"{4ef3f74f-a8c6-4d0a-9f70-82419b95c42f}","...
-1
votes
5answers
12k views
Unable to click on checkbox using Selenium & Java
please send me the full code I tried Some XPath and CSS:
XPath:
//div[@id='autofill']/div/label
//div[4]/div/label
CSS:
div.col-md-1.checkbox.checkbox-primary > label*
but using above ...