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.

15 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
2 answers
471 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 ...
Gediminas Tubelevicius's user avatar
4 votes
0 answers
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,...
Arun Ramachandran's user avatar
4 votes
1 answer
294 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 ...
Georg Ritzmann's user avatar
3 votes
1 answer
956 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 ...
QAMember's user avatar
  • 1,520
3 votes
1 answer
613 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 ...
Sajini Fernando's user avatar
1 vote
0 answers
30 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 ...
Ramya's user avatar
  • 33
1 vote
0 answers
421 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 ...
mr.error's user avatar
1 vote
0 answers
234 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: <...
Ranjan Gupta's user avatar
0 votes
1 answer
60 views

How to select city based on city name in mat-option-text?

I need to find a specific city from a drop down list. I have tried using the xpath but the id number for the city keeps changing. The element from the website is below: <mat-option role="...
David's user avatar
  • 1
0 votes
1 answer
367 views

Not able to Launch Edge with Remote Driver can some one pls help

DesiredCapabilities capabillities = DesiredCapabilities.edge(); capabillities.setBrowserName(BrowserType.EDGE); capabillities.setCapability(CapabilityType.ACCEPT_SSL_CERTS, ...
user49677's user avatar
0 votes
0 answers
86 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 ...
james edison's user avatar
0 votes
1 answer
86 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....
John snow's user avatar
0 votes
0 answers
364 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 ...
JustARandomGuy's user avatar
-1 votes
1 answer
298 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}","...
user40261's user avatar
-1 votes
6 answers
16k 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 ...
Renold Reno's user avatar