Tagged Questions

Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
2answers
332 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
659 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
1answer
354 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
409 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
120 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
2k 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
2k 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
4answers
432 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
241 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 ...
9
votes
6answers
1k 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
2k 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
1k 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
4k 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 ...
4
votes
1answer
647 views

CKeditor Recording Problem Selenium IDE

I cannot record CKeditor actions in Selenium IDE. I have added the 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 ...
1
vote
0answers
143 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
264 views

Required Selenium Test Cases for Yahoo Login Form [closed]

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
224 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
653 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
880 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
385 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.
0
votes
3answers
3k views

Data driven testing on Selenium IDE

Is there any option to read data from an Excel on Selenium IDE? How does it work? I have to call data from an Excel file (where data are stored).
2
votes
0answers
655 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
139 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
1k 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
165 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
2answers
403 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
365 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
171 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
2k 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
401 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 ...
8
votes
2answers
1k 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
4k 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
734 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
548 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
1k 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
1k 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
160 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
2k 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
237 views

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

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
0
votes
1answer
3k views

How do I get Selenium Server to launch Chrome on 64bit Windows under Jenkins with Selenium Grid?

I am migrating a Selenium server environment from Windows 2008 server 32bit to Windows 2008 server 64bit. Whenever I try to run a job with Google Chrome, I get the following error message: Error ...
0
votes
0answers
1k views

Why can't my Selenium Grid VM node get parameters from/register to the hub?

I'm trying to set up a Selenium Grid node on a virtual machine. I am using VirtualBox for the VM and Jenkins (with VirtualBox plugin) to set up the grid. When I try to register the node, I get the ...
0
votes
2answers
2k views

Selenium WebDriver and Highchart testing

I know this question has been asked before on S.O. and other websites but I haven't found a definite answer -- most of them say its not easily done but I wanted to make sure that was the final ...
5
votes
2answers
782 views

Using Selenium Opera Driver doesn't start my test execution

I am able to open the Opera browser using Selenium Opera driver. But I am unable to navigate to any URL using: driver.get("www.google.com"); Opera driver starts and doesn't load the given link. -- ...
-3
votes
1answer
1k views

Considering automation parameters, which is better: relative Xpath or absolute xpath? [closed]

I want to perform automation (selenium) using Xpath. Which one gives better results?
0
votes
2answers
7k views

How to open multiple browsers using webdriver?

I want to perform multiple browser testing: While working on a project i needed to open multiple browsers simultaneously using Webdriver script. Does anyone have experience in implementing this ?
5
votes
4answers
13k views

Webdriver Check if Checkbox is Set and Set it if Not

I am learning Webdriver with JUnit by going through Alan Richardson's Selenium Simplified book and taking translating the exercises/tests from Selenium RC to Webdriver. So far, this has proven to be ...
2
votes
1answer
177 views

How do I test that external CSS does not contain an absolute URL via unit test?

I have been given the task of validating that we do not have any http:// URLs in our CSS or HTML documents. I've created a selenium IDE test that looks at src & href attributes as well as script ...
3
votes
2answers
302 views

How to extract the Safari extension from the base code?

I got the developer certificate from Apple and running Selenium 2.23.1 jar. I checked out the base code from Selenium website and when I ran the command " go Safari", I am getting the following error ...
25
votes
4answers
3k views

Are Selenium functional tests reliable enough to be worthwhile?

I'm finding that regardless of how solid my tests scripts are, I still have tests that fail (falsely), even though they worked just fine before. I'm not talking about if markup changes (although that ...
5
votes
3answers
4k views

Selenium Tests run in the background when TeamCity CI is run as a Windows service

Our test suite is written in Python and makes use of the WebDriver Python bindings. We are looking into moving to TeamCity for continuous integration. The setup I have in mind is a build triggered for ...