Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

1
vote
2answers
18 views

Authentic Testing of Mobile Website

I'm currently on a project in which we've set up a test infrastructure for automated regression testing of the customer's website (that is, the desktop and mobile versions thereof). My question ...
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
0answers
19 views

select_by_value causing odd issue with the DOM

I'm new to Python and Selenium testing so please forgive me if this isn't written right. I've been asked to look at the test that does a few actions on a form. The form has 2 text fields, a drop down, ...
1
vote
2answers
104 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 ...
0
votes
1answer
20 views

Test dropdown creation in several pages

Currently I am writing tests for a web application using Selenium, when a question popped in my mind. Since this is my first time with Selenium, I'd wish to have some help on it. I have to test the ...
0
votes
1answer
16 views

open browser windows Selenium

is there a way to get a list of opened browser windows using Selenium? I want to use this to count the number of open browsers within a test Thank you
1
vote
1answer
262 views

Connecting Appium to Selenium Grid

I'm having trouble connecting Appium to our local Grid. When I try to connect I don't get any errors, but I do not see Appium in the Grid console. Here's my node config file. { "capabilities": [ { ...
2
votes
1answer
290 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 ...
0
votes
0answers
29 views

Automate graphs using selenium

I am trying to automate the graphs using selenium but because these graphs auto generated It does not have any id.can you please help me out?
0
votes
0answers
48 views

Blurred screenshots with Selenium Webdriver

Please refer to the link to see what kind if screenshots I get - http://goo.gl/uDIyf3 instead of http://goo.gl/BQy1hI . Not sure what could be wrong here as the same code has been working for me on ...
1
vote
1answer
108 views

Selenium webdriver - Java with Webservices

In our application we are using web-services and DB, is it possible to integrate Selenium webdriver with web-services (Soap UI)? If two different frameworks are integrated, whether this is good?. My ...
0
votes
1answer
37 views

Clicking near the target element using mouse co-ordinates inside Firefox Window

http://www.dropmocks.com/mFuqje. In the screenshot you can see times like 12am, 1am.I have stored the times in a list and iterated one by one. For every element, I want to perform a click action ...
0
votes
1answer
749 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
1answer
157 views

Selenium with Java to scrape data from website

I am trying to scrape data from a site I did code for. I want to scrape data on button click event but when I run my program it throws an exception Exception is: java.lang.NoClassDefFoundError: ...
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
179 views

Calling data from one class to another class - framework for JUnit

Please forgive me as I am still very new to the world of test automation. I have started out by using Selenium WebDriver with JUnit4, predominately on windows OS, although I have modified my scripts ...
4
votes
1answer
571 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
votes
3answers
56 views

how to get the count of elements in list box

working on selenium + java,. can any one help me... I have a drop down list box, and need to get the number of elements in the list box. <select id="id"> <option ...
0
votes
1answer
37 views

WebDriver Clicking button issue in IE 11

Have a suite of web-drivers tests that run in chrome and IE 10, but will not run in IE 11. The tests fail in IE-11 when clicking a button as the following action (a form popup) does not occur. I ...
-1
votes
0answers
30 views

What about Squash?

I'm going to implement Squash (http://www.squashtest.org/) in my company for the management of test cases and linking with automated tests but I'm not sure about this. anyone knows this tool? ...
2
votes
1answer
186 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
1answer
94 views

Selenium opens browser and loads page, then stops

Selenium opens browser and loads page, then stops. I have inherited a selenium project with no internal documentation and I'm a bit stuck on how to get it up and running (I am new to Selenium). We've ...
0
votes
0answers
19 views

Sikuli wrapper for .NET..Unable to connect to the remote server

I am using a Sikuli wrapper for .NET (Sikuli4Net). Using an embedded jetty server, it exposes the core functionality of Sikuli for use within .NET projects. However, in Visual Studio, when I try to ...
0
votes
1answer
198 views

Webdriver - Problem with loading profile of Tor Browser Bundle

could you give me any suggestions how to solve the weird problem I experience with webdriver? I like to use webdriver to control the browser from the Tor Browser Bundle (TBB). Controlling the TBB via ...
0
votes
0answers
27 views

How can I prevent Selenium from dropping my session?

I'm trying to select values from a drop down on a page. There are multiple drop downs and the code seems to have no problem selecting the right drop down when given the correct identifier to choose. ...
0
votes
0answers
32 views

org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser [closed]

When I execute the selenium webdriver java code to search the text "Automation Testing" in google.com, I got below mentioned error. please anyone help me on this. I am using Eclipse in windows 7 OS. ...
1
vote
1answer
3k 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 ...
1
vote
1answer
128 views

Configuring a framework using Selenium Builder, GitHub and Jenkins

Ok, so I have posted a couple of other questions here that have been unclear so, apologies for another along similar lines. I am a little further along now but am still blocked from progressing. I ...
0
votes
2answers
257 views

Selenium: driver.findElement(By.xpath(“xpath”).click(); failing

The command driver.findElement(By.xpath("xpath"). click(); is not working in Web driver. Kindly check the below code written in selenium RC and webdriver. Selenium RC : public void ...
0
votes
3answers
52 views

How to revert the changes made by selenium in a tear down process?

I am in a situation where I have to revert all the changes which I made while testing the application. Is there any way of doing this in Testng? Suppose if I have added something into the ...
0
votes
3answers
55 views

Which version of Selenium should I learn? [duplicate]

I am a manual tester and I want to learn test automation. I have basic knowledge of core Java and I would start to learn Selenium. Should I start to learn Selenium IDE, Selenium1/RC or Web driver. ...
0
votes
1answer
95 views

In WebDriver I need to locate a text that's sibling to a tag

I am using WebDriver and I need to use XPath to get the text that appears after the <br></br> which is "59Min" from the below HTML. <div> 2Hrs, 56Min <br></br> 59Min ...
0
votes
2answers
112 views

Selenium - How to get table rows visible in the dialogbox?

In a Selenium Junit test, for a table with 'n' rows in a dialog box of a webpage, I am able to calculate number of rows using Table.size() (Table is a List of elements which finds elements with tag ...
0
votes
1answer
33 views

not able to upload a File in Selenium RC [closed]

I write a selenium script to upload a file to the system, but when my scripts execution comes to click on Upload button, it is not working. In my web application their are YUI components. Help me to ...
0
votes
2answers
46 views

Unable to locate element in a dropdown

ul class="appt-dropdown-menu"> <li id="service-slot-blocker" class="slot-blocker-holder"> <li id="service-05b41399015375913"> <code class="light-blue"></code> <span ...
1
vote
1answer
98 views

Selenium webdriver java with jdbc

I am using selenium webdriver with Java jdbc. Below are my queries. First: I am trying to login to the application with username and password from database (Using SQL Query). I am getting the ...
0
votes
1answer
143 views

Using Selenium Builder with Jenkins

I'm trying out Selenium Builder as an alternative to Selenium IDE and Selenium Webdriver. I've been pointed to a useful tutorial here: http://sebuilder.github.io/se-builder/ ...but this uses Travis ...
1
vote
2answers
61 views

Matching any text present on the visible html page

Suppose I have an add question facility but can't add same question in the form. So need to check whether the question is already visible on the screen, if not then add it. I am not getting how to ...
0
votes
1answer
55 views

Script when passing values from one HTML page to other in Selenium IDE

How to create Selenium IDE script when passing value [Using hyperlink] from one HTML page to other. In my case the page was automatically closed After passing the value. When i am trying to run ...
0
votes
1answer
285 views

How to click on Canvas element?

How do I click on a Canvas element by using Selenium Web Driver and Java? I have searched Google but didn't find what I needed. A marker/pin is on the Google map and I have to click on the ...
0
votes
1answer
18 views

procedure and prerequisites for installing selenium

I am a manual tester and would like to upgrade to automation so i would like to go for Selenium. But i am totally new to selenium. So I would like to gain some knowledge on selenium. For that i would ...
0
votes
1answer
477 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 ...
0
votes
1answer
76 views

Selenium 2.40 driver select tag issue

Following code works for selecting the last item from dropdown using Selenium 2.28 driver on Firefox and IE. Not working with Selenium Web Driver 2.40. I can see the dropdown opening but it is not ...
0
votes
1answer
48 views

how to print currency symbols using webdriver with testng

In Dropdown currencies are listed as($,€,₤). Based on the selected currency, prices will display in other page like ($10,€10,₤10). Using the below code, I got the selected value from the dropdown. ...
3
votes
1answer
49 views

Headless browser testing using X virtual frame buffer

My current setup is using Jenkins as my CI environment, which has some ubuntu server nodes to execute the end to end browser tests on some amazon EC2 machines using selenium 2. I am wondering if ...
0
votes
2answers
243 views

How to handle “Time out receiving message from the renderer” in chrome driver?

I am new to selenium, I'm facing "Time out receiving message from the renderer" in chrome browser while running test with selenium 2.41 and chrome 2.9x. I have tried many tests to reproduce the issue, ...
0
votes
3answers
72 views

Selenium IDE - Actual use- seeking a practical example

What is the actual use of Selenium IDE? Apart from playback and record How can we use this tool to check the validations of a simple login form in website?
0
votes
1answer
26 views

How to test and run Liferay portal using Selinium?

I am new to testing, I have done the below steps. I don't know if I am correct or not. Downloaded Selenium IDE and added it to Firefox. Recorded tests and imported test cases as WebDriver/Junit. ...
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 ...
0
votes
1answer
35 views

Selenium: not able to find element

What will be the Selenese for this element? <input type="text" value="0" id="28" name="UNDER PRIVILEDGED" class="textbox"> I've written like this cmd : type Target : name=UNDER ...