Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
4answers
632 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
2answers
442 views

error Could not connect to Selenium Server. Have you started the Selenium Server yet?

At the first step after installing Selenium IDE, I recorded a simple test case, but I can't play this, because of this error: [error] Could not connect to Selenium Server. Have you started the ...
1
vote
2answers
115 views

Disable a pop up rendered in FF and not with IE

when testing with Selenium Webdriver, I'm getting an advertising pop up window with Firefox and not with IE. Actually this pop up is preventing me from doing many other tasks. Is there a way to ...
1
vote
2answers
130 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
2answers
15 views

Selecting an item of a drop-down menu with Splinter lib (Python)

I am looking for a way to select an item in a drop-down menu in python with Splinter (very similar to selenium I guess) : <li class="option1" rel="1158"> Option 1</li> <li ...
0
votes
2answers
18 views

I can't close Fancybox using selenium webdriver

I have a problem closing a Fancybox using selenium Webdriver. on the fancy-box is a big "X" located for closing it[http://tinypic.com/r/2w3xq1f/8]. this is the source code of the "X" closing ...
0
votes
2answers
34 views

Selenium: Problem locating dynamic buttons

I have this problem with locating dynamic buttons. It's a search for ferries, and for example, outbound ferry is selectedDetailsRadio_1_4_1 and inbound is selectedDetailsRadio_1_4_2. These are fine ...
0
votes
2answers
37 views

java selenium - ArrayIndexOutofBoundsException

I was wondering if anyone could help me out with this exception I've been getting. I have a custom class/object named MindsparkPartnerCode with two variables named ieFFCode & chromeCode. I ...
0
votes
2answers
77 views

Not able to click in Selenium Webdriver. Getting a NoSuchElementException

I got my code ready in Selenium IDE and exported it to Selenium Webdriver (JUnit 4). My code was working perfectly in Selenium IDE but an issue has arose after my migration to Selenium Webdriver. ...
0
votes
2answers
86 views

Keys.ARROW_DOWN does not select an item in the 'Select Box'?

I have a select box which has 3 values in the drop-down. When i click on the select box and then further use click() on the value item , it works fine. but when i use Keys.ARROW_DOWN its displays the ...
0
votes
2answers
155 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 ...
0
votes
2answers
124 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
2answers
272 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
2answers
1k 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
2answers
903 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
votes
2answers
3k views

How to solve the Unhandled exception: Modal dialog present

How do I solve the Unhandled exception: Modal dialog present. Below is error line. 1) test(TestCases1.ComparePage)org.openqa.selenium.UnhandledAlertException: Modal dialog present: Please retain at ...
0
votes
1answer
55 views

Automate Outlook using Selenium Webdriver

Want to automate Outlook using Selenium Webdriver ? Is it possible and if yes then any links/docs that i can refer for this ??
0
votes
1answer
25 views

Facebook updating profile picture using selenium webdriver

Using Selenium WebDriver I'm not able to click on update profile picture in Facebook. The html snippet is: <div class="_156p">Update Profile Picture</div> How do I locate the element?
0
votes
1answer
33 views

Is it possible to use Selenium's RemoteWebDriver and Appium's AppiumDriver in parallel?

I tried asking this on StackOverflow but unfortunately I couldn't find a solution to this there. Then I learned about SQA StackExchange so I thought I'd try here too. I'm trying to write some test ...
0
votes
1answer
43 views

How to clear localStorage using selenium and webdriver

I want to call localStorage.clear() before running a group of specific tests but the thing is I don't know how. I can see CLEAR_LOCAL_STORAGE variable mentioned here but still failing to understand ...
0
votes
1answer
24 views

how to click the post button for the following?

how to click the post button for the following ? <input class="k-button" type="button" style="width:90px;font-weight:bold;font-size:13px" onclick="Post();" value="Post"> Replay as soon as ...
0
votes
1answer
72 views

How to test Image carousel

I would like to test an Image carousel using Selenium C# An example of the type of the type of carousel can be found here: http://bxslider.com/ Maybe the test could click on the next image, assert ...
0
votes
1answer
79 views

Selenium2 / WebDriver: How to click an <i> element in an <a> element?

I got stuck for the below code.it has an edit icon for which code are follows: <a href="#tradeModal" id="tradeModalEdit" data-toggle="modal" class="pull-right" style="margin-left: 12px;" ...
0
votes
1answer
85 views

How to set browser locale with chromedriver (Python)

I am trying to set my browser locale by doing the following options = webdriver.ChromeOptions() options.add_argument('--lang=es') driver = webdriver.Chrome(executable_path=driver_location, ...
0
votes
1answer
45 views

selenium click stop working after several iteration

I have a test that clicks on a preview link > opens up a window and I do some sort of test in that newly open window. I then close that window and click on the preview link again and repeat. Let's ...
0
votes
1answer
292 views

How to modify testNG report in selenium java

I am running my script in java and getting the results in testNG. But in my application after filling up the form I am getting a confirmation alert message. I am able to read that alert message and ...
0
votes
1answer
86 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
89 views

How to open and get input from a popup before running test?

I want to open a popup before running my tests and after completing my test run. I want to give few inputs from the popup on basis of that my test will run. Suppose I have multiple links on which my ...
0
votes
1answer
420 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
1answer
61 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
1k 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
1answer
358 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 ...
0
votes
1answer
762 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
174 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
384 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
239 views

How to use locator value in WebDriver?

I am learning Java to automate testcases using WebDriver. As for now I was using Selenium IDE. I have a scenario. In date picker on selecting date, based on the current date and time-future timeslots ...
0
votes
1answer
504 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
383 views

Advance commands of Selenium are not working in IE browser

I am using the SeleniumBackedWebdriver API in my current project, which supports both Selenium RC and WebDriver APIs. The Advanced User Interactions API like mouseUp(), mouseDown(), runScript() are ...