Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
1answer
1k 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
146 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
320 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
364 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
124 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
232 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
182 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
107 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
109 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
202 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
2k 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
217 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
351 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
180 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
92 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
521 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
116 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
230 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
252 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
378 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
109 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
2k 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){ ...
4
votes
3answers
785 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 ...
-2
votes
2answers
6k views

Selenium Webdriver Tutorial [closed]

I am interested in learning Selenium Webdriver. Can anyone please let me know where I can find the selenium tutorials?
0
votes
2answers
237 views

Web driver fails performing click operation

I am automating Peoplesoft through Selenium. Web driver is able to locate the web element: System.println.out(driver.findElements(By.id("Element_id").getAttribute("name")); Web driver prints the ...
-1
votes
1answer
543 views

How much is paid for a Selenium Automation Tester who has an overall experience of 3 years? [closed]

Currently I am working in a selenium automated project and I look for a jump to get paid more.I have an experience of 2 years in selenium automation. I Just want to know how much salary I should ask ...
1
vote
1answer
495 views

What is a good way to receive test results from Selenium IDE browser extension?

The Selenium IDE browser extension is great for quick and easy automated tests. However, it doesn't seem to have a way to report the results when unattended. What ways are there to get reports from ...
1
vote
1answer
533 views

What are the pros and cons of using selenium and TTCN 3 for automation? Which one of the two is better in which scenario? [closed]

What are the pros and cons of using selenium and TTCN 3 for automation? Which one of the two is better and in which scenario?
2
votes
4answers
631 views

How to simulate Caps Lock keystrokes with Selenium WebDriver?

I know there is an action class where this is possible, but I just understand common keys, such as: enter, backspace, and tab. For instance: action.sendKeys (Keys.ENTER).perform(); For modifier ...
6
votes
1answer
210 views

Building trust in automated front-end testing

I recently came across a Google Tech Talk during which the speakers seemed to stress that trust in a test suite is crucial to the overall software development process. Here the link. Can anyone share ...
3
votes
1answer
531 views

Cannot upload a file using requests module in python

After two days of continuous trial, I thought it's better to ask you folks here. I want to upload a file on my desktop to a remote server. For this I am making use of python and its module requests. I ...
3
votes
1answer
845 views

How to handle a native OS (Ubuntu) file upload window in selenium webdriver with python?

This is my first time here but I have already posted this question on SO. I keep getting solutions for Windows + Java and not for Linux or python for that matter. I am using selenium and python to ...
2
votes
6answers
857 views

Which automation tool needs JavaScript or JQuery to be used more?

I have started off my career in manual testing and an automation tool rarely. I would like to concentrate more on automation testing. I believe I have the object-oriented concepts in a good manner. I ...
3
votes
1answer
1k views

How to start Selenium with Firefox Portable?

I want to use Selenium Server on Windows 7 with a FirefoxPortable as browser, starting the selenium-server-standalon JAR file. My first attempt was without a profile, just like this: java -jar ...
0
votes
1answer
478 views

SeleniumIDE Issue - js alert() is not detected by IDE

SeleniumIDE Issue - js alert() is not detected by IDE These steps will reproduce the problem: Open http://www.w3schools.com/js/tryit.asp?filename=tryjs_alert2 Click on the "try it" button The ...
1
vote
2answers
3k views

Using Selenium (C#) how do I select an item from a drop-down list

I'm using the Selenium IDE to record my initial tests and then export them to c# and then use the webdriver. Some things that I do from the IDE don't export. I am trying to select a State from a ...
1
vote
2answers
743 views

Running Web and Application Automated Tests from the same Framework

I am writing automated tests for my company, and I am doing so from the ground up. We provide both desktop and web applications to our clients. After doing a lot of research and testing, I landed on ...
1
vote
0answers
162 views

How to start with Selenium and TeamCity integration?

I am basically from Testing and I know QTP Automation, but now my client is asking to do some analysis and start with pilot project as auotmate the teamcity tests using Selenium. But I am really not ...
0
votes
1answer
93 views

Which is the most appropriate book I should acquire in order to get started with selenium webdriver + jbehave?

We need to test a web application coded in html and javascript. They decided to use Selenium webdriver + jbehave technology and I am not very familiar with it. Which is the most appropriate book I ...
1
vote
5answers
4k views

Selenium test case fails due to page load time

I run nearly 30-40 test cases twice a day. And everytime some test case fails due to page load time. Infact i have explicitly mentioned Thread.sleep("2000"); wherever i feel it takes more time to ...