Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

1
vote
1answer
1k views

Selenium IDE Store variable in Javascript of Page

I am attempting to inject Javascript directly into a page in order to set a variable for the page. I am still rather new to the IDE and I have seen the runScript function and I think it does what I ...
1
vote
1answer
653 views

How to update test cases in MS Test Manager based on automated test script results

For a web-application, I am automating my test cases using selenium web driver in java. My test cases are being managed using Microsoft Test Manager. Now, I want to update the test cases in the ...
1
vote
1answer
4k 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
112 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
201 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 ...
0
votes
2answers
3k views

How to handle the popup window in selenium webdriver using java?

use this url--http://www.indiangiftsportal.com/product_info.php?products_id=kaju-kalash-shivaaz ,then click add To cart , it ll show you one popup window in that am not getting how to click that ...
1
vote
1answer
561 views

How to use rollup command in selenium ide?

I am new to selenium IDE, As with reference to below image i cant click into rollup icon during and after my recording. So kindly explain me how to, why and what time we should use rollup ...
0
votes
1answer
127 views

Question about 'self.assertIn' & 'driver.title'

I researched this as much as I could on my own but came to no clear conclusion to my question. I've been teaching myself automation testing via Python + Selenium, I'm as new or n00b as it gets so bare ...
0
votes
1answer
2k views

How to select a particular date from calendar?

Hello Im using selenium ide, how to select an date from calendar popup through selenium ide, Below is my calendar popup.
0
votes
0answers
28 views

How to get Alert after using Fireevent command?

<tr> <td>type</td> <td>endDate</td> <td>test</td> </tr> <tr> <td>waitForAlert</td> <td>endDate</td> ...
0
votes
0answers
194 views

Python Selenium bingings ActionChains context_click having no effect for PhantomJS

I am using python selenium bindings for phantomjs. I am trying to simulate a right click and then take a screenshot (showing the context menu). But I am unable to get the right click context menu. ...
0
votes
1answer
345 views

Using Selenium webdriver with chrome browser - Junit or java - how to upload a file from desktop(or any folder in pc) to application [duplicate]

Using Selenium webdriver with chrome browser for automation - Junit or java programming - how to upload a file from desktop(or any folder in pc) to application
0
votes
1answer
315 views

How to select Security Certificate From security Dialog

The problem I would like to solve is as follow: go to a website which is protected by client certificate authentication using browser once the security challenge dialog box is shown, select on the ...
0
votes
3answers
771 views

Selenium tests written using Junit are not running in order

I executed some selenium scripts, but they are not running properly. Execution is taking the scripts randomly and start execution. I want to execute the scripts as per script order. Please tell me a ...
0
votes
0answers
145 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
2answers
186 views

Migrating website content, need to test using Selenium/Python

We are working on a large project which involves LOTS of content being migrated to a new version of a website. I would like to be able to test the content on a page from the old site, with the same ...
0
votes
1answer
132 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

I am new to Selenium WebDriver. 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 without asking confirmation. ...
2
votes
4answers
1k views

Has any faced issue when automating auto suggest text box using selenium webdriver

I am automating an application which has auto suggest text box. I am facing an issue that sometimes the auto suggest values are not shown up at all. This happens 50% of the time. Worrying part is this ...
0
votes
2answers
2k 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 ...
1
vote
3answers
150 views

Ideas to implement offline smoke test for downloaded excel files

I run automated smoke tests for my web application, but until now, these tests are not covering offline excel spreadsheets that are downloaded by the user. I'm starting a study to find possible ...
2
votes
3answers
3k views

How to make my tests more robust in WebDriver using JUnit (code included)

I'm hoping someone can advise me on some best practices to make my tests more robust. The problem I'm having is that every so often my tests will fail at the point of WebDriver waiting for an ...
5
votes
7answers
334 views

Recommend Automated test tools for cross platform including IE and .NET software

I'm working in an QA team. We do the automated work from the scratch. So many testing methods may be anti-pattern or disobey some discipline. We pay lots of effort on test web pages on our ...
0
votes
3answers
379 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 ...
1
vote
2answers
2k views

Selenium webdriver - Unable to locate element,xpath,error

I am testing localization. I am running the same URL with other countries in my data provider. The HTML I am looking for is: <a class="learn-more linkable" data-url="/speakers/minijambox">En ...
10
votes
9answers
3k views

What is a good website to hack around using Selenium?

I want to learn Selenium, but I don't know what to code. Sure, I can throw Google some queries, I can fill out some forms, press buttons, find divs and links, etc. But I think this stuff is pretty ...
0
votes
0answers
137 views

selenium test data parameterization using doLoadTestData() and EOF() mothods

I am learning parameterization using selenium IDE. I want to load test data from xml file. for that I have downloaded user-extention.js file. I am requiring doLoadTestData() and EOF() methods in it. ...
2
votes
3answers
3k views

Testing the popup with Selenium IDE [closed]

Getting below error Window does not exist. If this looks like a Selenium bug, make sure to read http://seleniumhq.org/docs/02_selenium_ide.html#alerts-popups-and-multiple-windows for potential ...
1
vote
1answer
244 views

Selenium Python testing: would like to write test results to a file

I'm writing a suite of web tests in Python using Selenium. Ultimately, I want to generate a file with the results, which will then be sent out in an email. I'm using a main Python script to kick off ...
0
votes
2answers
191 views

Unable to use firebug performance tester with Selenium

I would like to measure the performance of the functional testing. I was following the tutorial in the following link ...
0
votes
0answers
30 views

Some good books for Web Testing [duplicate]

I am in the QA Guild for 6 months now and I am working for a company developing a WEB Product and using Selenium for tests. I think we are doing a great job in the QA area, but there is much room ...
1
vote
1answer
80 views

How can I use the API that Chrome uses to check for the current version

I want to write a program that detects when a new version of Chrome has been released - and I want to use the same API that Chrome uses itself when it checks. This is so I can trigger some Selenium ...
0
votes
0answers
39 views

xss scripts through console of web-developers-tools

So, well i am learning selenium webdriver, junit4. I need to know, is it a proper way to add "xss scripts" through console of web developers tools ? Can anyone help me with example ?
1
vote
2answers
110 views

Selenium Webdriver runs in root but not in non-root account

I have this problem that when I run in root account it works properly with the test cases returning the expected. But in non-root account it keep giving me error. Thanks in advance if you are helping ...
1
vote
1answer
1k views

Regarding Setting text of a WebElement without using SendKeys method

I have the following code piece in java using selenium inorder to access UI element on iOS and populate a textfield. WebElement username = driver.findElement(By.xpath("//window[1]/textfield[1]")); ...
0
votes
0answers
115 views

PHPUnit Selenium shareSession doesn't work in my tests

I was reading about shareSession in PHPUnit Documencation I see in the documentation like that **From Selenium 1.1.1, an experimental feature is included allowing the user to share the session ...
0
votes
1answer
214 views

Need to validate compiled document using C# selenium in VS 2010

I am using selenium, C# at this point I am able to compile word document and then need to save as a pdf on desktop and then validate the links in the downloaded document with original parsed document, ...
0
votes
1answer
3k views

Selecting items in a combobox using Webdriver

Which Selenium Webdriver command is used for selecting items from combobox in Java? I mean when we want to select one item from a Combobox but this element is not an instance of Select class, e.g., ...
0
votes
1answer
226 views

How to save compiled document on Desktop using C# Selenium

Using Selenium WebDriver with C# in VS 2010, I compiled a document using automation and then I want to save the file on my desktop. During automation a new window is popping up to "save or open file". ...
0
votes
0answers
47 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 ...
0
votes
0answers
359 views

Error loading method in selenium IDE for Data Driven testing

I am trying to execute data driven testing using selenium IDE. I downloaded all the three extensions that are told step by step and uploaded to selenium IDE core extensions in the same order as ...
1
vote
2answers
185 views

Selenium Webdriver Mobile with Python - AndroidWebdriver4Python installation question

I found this Android webdriver API on github. I already have the Selenium Python client and have written many plain web-based test scripts with it. I have tried asking the git owner, but he has not ...
0
votes
1answer
93 views

Selenium IDE is automatically getting rid off

I am using selenium-ide-2.4.0 api in Mozilla Firefox 16, when i close and use Firefox 2 and again restart my Firefox 16 i need to re-install my api and use it, Why is it happening so?
0
votes
1answer
554 views

How to automate Windows remote desktop login poup in server using Web Driver

Step 1: I have provided the login in browser level Step 2: It moved to remote desktop Step 3: When I click on remote desktop icon in browser it will show the window authentication login of QA ...
0
votes
1answer
122 views

Upload image via ajax form with selenium and Python

I'm trying to get familiar with selenium. I decided to try to work with facebook, and fulfill my profile with selenium, But they use too much Ajax. It's not very complicated to fulfill my hometown ...
3
votes
1answer
1k views

Tests running very slow against Internet Explorer 9

I have a test automation suite setup using Selenium and RemoteWebDriver that runs against IE7/8/9/10 and FF10/20/24. The suite takes an average of an hour to complete on each browser except IE9 which ...
1
vote
1answer
238 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
4answers
270 views

Flow Control in Selenium IDE

I am learning Selenium IDE and I am stuck on flow control. Can anyone advise me on how to master this concept? I would like reference on video, or documentation. Thank you
0
votes
1answer
393 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
113 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 ...
0
votes
0answers
3k views

Webdriver : How to switch to a specific window?

I came across many solutions for switching between windows, one of them is: Set<String> allWindows = driver.getWindowHandles(); for(String currentWindow : allWindows){ ...