Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

3
votes
1answer
819 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
150 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
2k 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
511 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
149 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
85 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
1k 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 ...
1
vote
2answers
2k views

Jmeter's WebDriver Sampler VS. Selenium

Now that Jmeter has a webdriver sampler, is there anything that regular selenium can do to test a UI, that Jmeter still can't? For example, I use Selenium in Java to do things like getting html ...
1
vote
0answers
143 views

PHPUnit Selenium2TestCase BadMethodCallException

I have installed selenium-server-standalone-2.33.0.jar , phpUnit, selenium extension for phpUnit. This test run ok $this->url('/'); $this->assertEquals('my title',$this->title()); But ...
1
vote
2answers
325 views

Can someone provide a detailed description of how the Selenium WebDriver isDisplayed() method works?

I currently have a large number of circumstances where I need to verify that a page (along with all of its elements) are displaying correctly. The isDisplayed() method of WebElement appears to be a ...
0
votes
2answers
241 views

After writing selenium test cases and integrating them with ANT, where can i see the results?

I wrote a few selenium test cases for testing a web application and then integrated the testcases using ANT build automation tool using build.xml. The output comes to the reports folder, but how can ...
1
vote
1answer
354 views

Verifying Youtube Video in Selenium IDE

We have a need to verify content on our site using Selenium IDE; specifically for this question Youtube video served up in an iframe: {<iframe width="506" height="315" frameborder="0" ...
0
votes
0answers
222 views

WebDriver API:how to pass session values in webdriver?

I am testing my web application using selenium webdriver. I write code using java. I am having a problem - I am testing usercreate screen to save user details, but I get problem is some userid etc.. ...
0
votes
1answer
198 views

management of images in sikuli

I am currently working on a project that requires automating tests on a content player, I am using sikuli for it. The problem is that we have piled up a large amount of screenshots which is becoming ...
3
votes
1answer
279 views

Unable to locate WYSIWYG element using selenium and phpunit

I am creating functional tests with selenium & PHPUnit, but I can't locate a WYSIWYG element using different locators: Xpath byId byName by Css Selector Examples: public function test(){ ...
2
votes
2answers
118 views

Regarding selenium commands [closed]

I am new to Selenium automation. I have some queries to be clarified. I have recorded and done the play back. Issue is as below: If I use the clickAndWait command in Selenium IDE, it shows an error ...
3
votes
1answer
1k views

Using Selenium's PageObject pattern and an Open() method

Here is an example of some C# WebDriver code I'm using to model a registration page: public class RegistrationPage : BasePage { private IWebDriver driver; private String URL = ...
1
vote
1answer
787 views

How to handle child window in selenium webdriver?

In selenium webdriver, i can switch between from parent window to child window but i cant focus child window.it is not working. Anybody having suggestions to find the solution?
4
votes
3answers
254 views

Is it possible to run RFT script in Selenium?

Since Selenium has problem accessing a standalone window, I have to use RFT just to handle this window. I made a jar file from the RFT script and added it to Selenium library. But it seems Selenium ...
1
vote
1answer
142 views

Getting Coordinates from Selenium IDE

I am trying to work with the Selenium IDE on Firefox. I was wondering does anyone know a way to get an element's/widget's coordinates directly from the IDE? Is there an add-on or some option that ...
8
votes
6answers
584 views

Is adding IDs to everything standard practice when using Selenium?

My team is using Selenium WebDriver and the QA team is having the developers add IDs to almost everything. Is that normal or is Selenium flexible enough that tests can be written with the markup that ...
2
votes
2answers
720 views

How can I dynamically create an xpath string in Python for a webdriver xpath selector?

I am writing a Selenium Webdriver test using python2.7 to use xpath to select a link node set. For each link I need to change the href attribute using driver.execute_script to execute javascript. ...
4
votes
3answers
675 views

How to test facebook likes using webdriver without being flagged as a bot?

I've tried registering test accounts to test facebook likes on my site, but running tests repeatedly flags the accounts as spam. Facebook allows fake users for FB apps, but not external apps. Are ...
1
vote
1answer
2k views

How to send down arrow keys for a drop down?

selenium.getDriver().findElement(By.id("s2id_customFilter")).sendKeys(Keys.ARROW_DOWN); Am using the above code but it's not working."s2id_customFilter" is the id of the drop down.Am clicking on the ...
3
votes
0answers
422 views

CKeditor Recording Problem Selenium IDE

I cannot record CKeditor actions in Selenium IDE. I have added following commands in my test case, but my problem is that on my page I have a button to save/send some data (from ckeditor too) and when ...
1
vote
0answers
112 views

Occasional no response from Selenium Grid server - any theories?

While locally we're having no problems, on a virtual server we're running Jenkins which kicks off Selenium Grid to execute some of our tests. Exception has been thrown by the target of an invocation. ...
-1
votes
2answers
231 views

Required Selenium Test Cases for Yahoo Login Form

I am new to selenium. Anybody can please write down Selenium Test Cases for yahoo login form. It will be really appreciated, if someone help me.
0
votes
1answer
134 views

Automating tests in EPOS systems

I have recently started working in a team that tests Retail applications such as EPOS (end point of sale - tills) I would like to automate this testing and would like to ask if anyone has any ...
3
votes
3answers
288 views

Problems with maintenance of Selenium on grid service

We have cluster of 5 nodes with all of them are Firefox nodes only. We have ran into so many issues maintaining the grid up and running. Selenium nodes goes out of memory (JAVA heap space issues) ...
2
votes
1answer
631 views

Does Selenium's LoadableComponent make sense in a SPA (Single Page Application)?

I'm writing a UI testing suite for a single page javascript application using Selenium 2 web driver. I'm still experimenting with how to fit the app inside a page object model. At the moment I am ...
1
vote
0answers
245 views

Handling Alert box on page load [closed]

Is there any way to identify the JavaScript alert box (on page load) in selenium IDE? I used commands like "storAlert", "assertAlert" etc. But selenium not identifying alert box.
-1
votes
2answers
1k views

Data driven testing on Selenium ide

Kindly let me know is there any option to call data from an Excel on selenium ide? and how its works. I have to call data from an excel (where data are stored) .Please let me know solution to this ...
2
votes
0answers
394 views

How to get the Event Object of the Click event on Selenium IDE?

I am a newb at selenium thing. I have image map area and on click event of this area a function is firing where the click Event Object is being passed to do some calculation. I have recorded the ...
1
vote
1answer
105 views

How to locate cursors randomly in a map?

There is a lot of cursors in the map. Every time you refresh the map you will get another different cursors with different IDs, o I can't use the IDs. I want to click at any cursor, a tooltip should ...
1
vote
3answers
599 views

How to handle dynamically updated params in XPath queries in Selenium?

I am new to Selenium IDE. In my Web application, while playing back the recorded events, some internal id in XPath expression gets changed dynamically. E.g.: (//*[@id='edit_1_undefined']) in this ...
2
votes
1answer
149 views

Webdriver addon is not starting with Firefox

I have a Selenium test suite configured to run with Django & teamcity but today I have noticed that when running my tests locally, Firefox launches without the Webdriver addon bar across the ...
2
votes
1answer
219 views

Fitnesse + WebDriver: any working solution?

Could you please tell me if there were any attempts to integrate Fitnesse and Selenium WebDriver? I'm looking for something like Selenesse (https://github.com/marisaseal/selenesse), but for WebDriver, ...
2
votes
1answer
210 views

select random cursors on map using selenium ide

I'm using google map api in my site and I want to test the cursors on map using Selenium IDE. Now I use this code and it works fine: clickAt > xpath=(//map[@id='gmimap85']) but it tests only one ...
3
votes
2answers
146 views

Acceptance testing between iOs and web app with cucumber

I have an iPad application which sends some data to our web application. With this data, you should be able to do different kind of things. We have cucumber tests for the web application (Using ...
2
votes
1answer
803 views

Connection refused error when running selenium with chrome and firefox drivers

I am running selenium tests with firefox and chrome drivers. I get a connection refused error when I run the tests in as a block Test example : require 'minitest_helper' headless = Headless.new ...
1
vote
1answer
270 views

SeleniumHQ stuct in Checking Resource aliases

I want to run testsuite from Hudson, for that i have installed seleniumhq plugin and configured in hudson, but when i run the hudson it stuck on "Checking Resource aliases" step. Started by user ...
6
votes
2answers
860 views

What is the best way to have a SpecFlow project run across multiple browsers?

I'm working on setting up a SpecFlow project to test a portal. Thus far I've haven't had issues writing some "hello world" features and steps. My question is as the testing project grows, what is the ...
3
votes
4answers
3k views

Selenium IDE newbie - click on button not working .net

I am using this Selenium command within the Firefox IDE, it's my first time with Selenium so I may be missing something basic. <tr> <td>click</td> ...
1
vote
2answers
397 views

Robot Framework and Browser support

Has the robot framework support for IExplorer or only for Firefox and Chrome? (If yes, how to configure it?) Thanks!
2
votes
1answer
417 views

Parse .htaccess credentials in Internet Explorer

I am trying to access a .htaccess protected test url and I get the following error When i am trying to run the tests in IE Failed to navigate to ...
1
vote
2answers
779 views

FileUpload using selenium RC and java

I am using Selenium RC and Java and I need to automate the file upload feature.I tried a lot, Clicking on Browse button is not executing and rather getting stuck. I tried in FireFox but to no avail. ...
6
votes
3answers
860 views

Running tests in parallel using Jenkins Grid plugin

I have Jenkins 1.499 running Watir-Webdriver tests on a Windows 2008 (64bit) server alongside the Grid 2 standalone server (and Jenkins Selenium Grid plugin). I can run my tests through the ...
0
votes
1answer
140 views

How to make Selenium IDE prefer name attribute over id attribute while recording?

How to make Selenium IDE prefer name attribute over id attribute while recording? This feature is needed when ids are auto generated by web framework.
0
votes
2answers
1k views

How to Automate Expand tree in Testlink since “XPath” is changing dynamically depending on the testcase

I'm trying to expand a tree of nodes with folder structure using XPath locators selenium.click("//*[@id='ext-gen15']/li/div/img[1]"); but as the folder structure is not fixed and changes, so XPath ...
-7
votes
1answer
122 views

Pre-requisites & Procedure to install selenium tool on Windows 7 Operating system?

I would like to Install Selenium open source tool in my pc ( windows 7 OS) hence would like to know the procedure as well as pre-requisities . Thank you regards venkat