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.

learn more… | top users | synonyms

0
votes
0answers
14 views

How to run a particular test in an test suite?

Iam new to selenium suite, please show me how to run an particular test in an test suite, Below is my test suite, <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > <suite ...
0
votes
0answers
139 views

Selenium:Permission denied to access property 'nr@context'

I have been running selenium tests on a Linux Centos and it worked fine for over a year, until yesterday, when I started receiving error on my tests from Selenium: ...
0
votes
0answers
23 views

Is there away to load a spreadsheet to jenkins?

I'm trying to write tests to load a spreadsheet that populates users to a program site. I was wondering if I can have a spreadsheet loaded to the site when the test runs on jenkins. To be more ...
0
votes
0answers
20 views

How to select an element 'name' with groovy language?

As i have used groovy language along with selenium 2 to test my web application, As the login page consists of only name instead of id , When i test it with groovy it shows error. While i run with id ...
0
votes
1answer
73 views

Difficulty setting focus on element with Selenium WebDriver

I have a Selenium WebDriver test where I enter some text into a text input box var input_Note = Driver.Instance.FindElement(By.Id("note")); input_Note.SendKeys("test"); I then attempt to ...
0
votes
2answers
108 views

XPath not recognised in page object model in WebDriver [closed]

xpath not recognised in page object model in webdriver. @FindBy(xpath = "//td[contains (text(),'xxx')]") public WebElement topMenu; topMenu.click(); Error: Unable to locate element: ...
1
vote
3answers
171 views

How to write test cases in selenium webdriver using C#, simultaneously when web application is being developed (application pages not available)

I want to write test cases when application is under developing. I know the design of the application based on the wireframes. I intend to write test cases in C# using the Selenuim WebDriver. ...
1
vote
1answer
36 views

Best way to wait till the status changes

I have to automate a web page. Which has the following behaviour. I will create an application and the created application will be displayed in a table. The table has a column named status. The ...
1
vote
1answer
95 views

How to use Run Keyword IF" in Robot Framework

I want to run Keyword if Element is visible. E.g I want to check that if a button is visible on the page then run particular Keyword. Below is my code. Create button is Keyword and want to run if ...
2
votes
1answer
201 views

What are the Selenium, JUnit, Ant and JScover and how they are combined?

I am given a javascript function which takes as input some numbers and returns the max, as a part of a project at the university, and I have to test it, using Selenium, JUnit, Ant and JScover. I have ...
0
votes
0answers
27 views

Is it possible to run OpenScript functional tests from Maven?

I don't know Maven very well at all. I've been trying to pick up the basics as part of learning Selenium, which my company is considering for web functional tests. We also have some tests in Oracle ...
0
votes
1answer
69 views

How to capture a series of screenshots in Web Driver using Java

I Just wanted to know, that how we can take a series of screenshots / a video recording for a screen using Selenium 2 / Web Driver with JAVA ? Please provide the answer or the lick where I can get ...
2
votes
2answers
115 views

Where I can get all the commands related to Web Driver / Selenium 2

I am not able to find all the commands for Web Driver / Selenium 2. Please help me providing the same. Thanks
2
votes
1answer
77 views

How to navigate to a alert using Selenium Web Driver with Java?

I am trying to navigate the command on the alert box, but I am not able to do it in Web Driver with JAVA. Please help me with it. Apart from this I would also like to know how to tackle with the ...
1
vote
1answer
132 views

Fieldlevel validation in Selenium Webdriver (Java)

how to test validations for "FIRSTNAME" textfield. Below are the details and code. URL: http://www.vrlbus.in/vrl2013/register_customer.aspx Special chars: #!#!#$@#!$@!$@#$%#%^#$^^&%&$%* ...
1
vote
1answer
64 views

How to automate test the website inside some windows desktop app?

I have this question: I found there are web test automation tools such as selenium, but they are designed for testing website in the browsers such as ie/firefox/google chrome... What if the website ...
1
vote
1answer
77 views

What is the difference between type() and typeKeys() in WebDriver?

As both of them do the same activity is there any special differences between type and typekeys in selenium webdriver. wdBacked.type(locator, value); wdBacked.typeKeys(locator, value);
0
votes
2answers
78 views

How to select an default window or popup in selenium webdriver?

I want to select the current window,frame or popup where my browser is pointing. (i.e when i doubleclick or click it opens an popup or window) I want to get through that window or popup using selenium ...
1
vote
1answer
276 views

How to compare values from the list or from dropdown list in webdriver (Java)?

Below is my code and html code, please let me know how to compare values. When i executed i am getting same result (Mateched) for multiple times. But i want to compare and display result as "Matched" ...
2
votes
1answer
55 views

Driving client interaction tests with Selenium

I have some experience with JMeter for performance and scale, but I'm very new to Selenium for browser based testing. At present I have some simple Selenium scripts recorded for Firefox. These are ...
0
votes
1answer
72 views

Is parameterized constructor (Java) supported in selenium webdriver?

I was asked in an interview whether Selenium Webdriver supported parameterized constructors. Example: import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import ...
2
votes
1answer
154 views

How to execute Ruby Selenium Web Driver tests using Jenkins?

I have written quite a few Ruby programs for my clients test automation project.But the problem is my client wants to check the output to his PC without instilling ruby.He is asking me to make one web ...
0
votes
2answers
104 views

How to find the element that displays and hides with in 2 seconds in selenium webdriver?

I am automating a site in which there is a section to create forums. Every time I create a forum it displays message as forums created and hides after 1 section. I have to check the displayed message, ...
1
vote
1answer
131 views

QA Automation Tool. QTP vs Selenium [closed]

My department is currently looking at a tool for QA automation. On that side we are looking at both QTP and Selenium. The major features we want are automation of regression testing, something ...
0
votes
1answer
71 views

Prime Faces editing component and Selenium

I'm creating a new tests with selenium in my job. But i can't get one element in my system. We use Prime Faces and i can't get this element. I need to send a value to him, and He is a iFrame. I tried ...
0
votes
0answers
75 views

ConnectionRefusedError: [WinError 10061] while running multiple selenium tests serially

I am trying to run a series of tests using selenium webdriver using a loop. Code snippet I am using. for var in range(2,worksheet.nrows+1): ...
0
votes
3answers
114 views

Using WebDriverWait to verify a performed action versus assertions in JUnit

Can someone tell me if by using the following code is sufficient enough to verify that the actions performed have taken place. So by using a wait command for certain elements to be visible in the DOM, ...
0
votes
1answer
70 views

If we click on down load file it will ask for confirmation whether to open or save? how to handle this in selenium web driver using python

Am new to selenium web driver. I need to download the file, if we click on download, after downloading it it will ask confirmation to open or save file. It should save with out asking confirmation. ...
0
votes
1answer
394 views

JavascriptExecutor is not identifying the button to click in Webdriver

I have this HTML <div class="btnContr"> <input type="button" onclick="return cancel();" value="Cancel"/> Below is the xpath identified, using this xpath, I am not able to click on the ...
3
votes
3answers
165 views

SQA guy role in Selenium Automation Except Development

This might seems to be common question but my concern here is a bit different. I am new to Automation and my development skills are not that Good. We are trying to Automate our Project using Selenium ...
0
votes
3answers
229 views

Is it possible to integrate bugzilla with selenium web driver

Is it possible for us to integrate selenium web driver test with Bugzilla? My intention are as below: If we can integrate web driver with Bugzilla, can we automatically attach screen shot of ...
0
votes
2answers
130 views

ImportError: No module named 'httplib'

I have recently updated selenium Webdriver to 2.38.1 and I am writing scripts using python. When I run the test case I have I get the following error *Traceback (most recent call last): File ...
0
votes
0answers
50 views

How to tear down E2E scenarios into JBehave stories?

I have been been asked to automate few E2E scenarios which merely contains few hundred steps. i did POCs and they are working, but when it comes to real implementations, aplenty of question arises. ...
1
vote
1answer
893 views

Running Selenium Script in Chrome browser in android devices

Can any one suggest me how to do a set up to run selenium scripts in chrome browser of android device. Currently script is running fine in native browser of android device, but the requirement is ...
0
votes
0answers
71 views

Running Selenium webdriver scripts in android device (Samsung galaxy tab)-Portrait mode

I have been stuck in an issue while running selenium webdriver script in android device -Portrait mode. Script is running successfully in landscape mode but when we run the same script in android ...
0
votes
0answers
38 views

Safari browser not does not launch in selenium local

I am using selenium 2.35 and safari 4.5. When I ran the test. It opens in a local url and displays safari driver client.
1
vote
2answers
1k views

How to generate testing report in JUNIT in webdriver

I am using Selenium webdriver 2.0 in JUnit framework. I need to generate a report on my tuned both (positive and negative) test cases. NOTE: We have an option to generate report by default in ...
0
votes
1answer
135 views

Selecting xpath using a variable in selenium 2

I am doing a selenium automation where I want to pass the variable into the xpath and select the element. The xpath which I am trying looks like: browser.find_element_by_xpath("//span[contains(.,'SEM ...
0
votes
0answers
153 views

selenium WebDriver error

I am newbie with selenium and writing selenium test cases, I am basically trying to modify existing code in order to enhance some functionality. I am creating a webDriver using the following code : ...
1
vote
1answer
250 views

How to use AutoIT for handling multiple authentication windows with different credentials?

I am writing the test script in java using selenium webDriver. I have a situation where while executing the test script different authentication windows will appear and might need different ...
2
votes
2answers
3k views

Take screen shots using selenium webdriver

How to take screen shot on both test cases "Positive and Negative" results. NOTE: Currently, iam working in selenium webdriver (junit) and i didnt have an idea about how to code for adding methods to ...
0
votes
1answer
91 views

PHPUnit Selenium2 calling a function

I am testing with PHPUnit and Selenium2. I am testing the admin panel. So, I need to add Admin Login Test into all my admin panel tests. I want to create a new Admin Login Test with a new file and I ...
0
votes
0answers
43 views

Unable to access an same list with different count on ajax call

I have an list that consists of ten entries. on clicking a button ajax loads and the count of the element in the list increases to 20. I have to take the previous count(10) and compare with the ...
2
votes
2answers
188 views

How to wait until the count of a web element changes in webdriver?

I'm new to selenium. I am facing an issue. The number of web elements in a page increases on a button click(triggered by ajax call). So while getting the size of the element after button click gives ...
0
votes
2answers
158 views

As to improve the Selenium 2 test speed?

I'm trying to create Selenium tests to my Java application, but each test spends about 5 seconds to execute. The most time consuming part of the test is to initialize the Selenium. I'm initialize the ...
0
votes
2answers
262 views

JUnit ParallelComputer Runs All Test Classes As One

I'm building automation testing for web application by using JUnit 4.9 and Selenium Webdriver. It's time consuming. So I'm trying to experiment with ParallelComputer. I'm wondering how can I get ...
1
vote
1answer
188 views

Selenium: Click on input-field with complicated selector

I need the right direction to click on a input field. When I copy the CSS path I get the following: html body#root div#box div#content div#C_INTERNAL_OBJECT-98286949812.container ...
0
votes
1answer
253 views

Selenium: Best way to capture unexpected error?

I know how to check values and create tests and do the error handling if something fails, but what I din't found anywhere was the following: A test case tests specific things. But what when ...
0
votes
1answer
92 views

Selenium and PHP

As I read on the net, Selenium tests should be written in the language of the App if this is possible. Our intranet-application is written in PHP. I was able to get Selenium working with PHPUnit but ...
4
votes
3answers
514 views

How do you block Google Analytics from Selenium automated visits?

Basically, we have a javascript integration on client's webpages. We don't have much (or any) control of the deployed environment, hence the only way to test our integration is truly working is using ...