Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
0answers
5 views

Using Allure framework with Selenium webdriver tests for better reporting.

I am using Selenium webdriver for automation. I have around 200 scripts ready and now i need a good reporting tool to generate reports. I recently heard about Allure framework, which is an open source ...
0
votes
1answer
64 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
0answers
13 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
0answers
8 views

Handle HandHeld (Scanner) in selenium WebDriver

From Webpage i need to scan one image using scanner(External Device through Wbservices), How to Handle this case?
2
votes
1answer
224 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 ...
2
votes
2answers
166 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
1answer
24 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
22 views

How to output result of Javascript execution to console?

I was wondering if anyone could help me find a way to output to the Eclipse console the results returned from executing a Javascript ? These are the steps I manually perform (that I would like to ...
0
votes
2answers
35 views

Selenium find all elements without a class

For example, if I am on a product selection page, I would like to select all the elements that aren't sold out. <div class="item sold-out">Item One - Sold Out</div> <div ...
0
votes
2answers
32 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
1answer
29 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
3answers
615 views

Using multiple instances of webDriver

I have defined an object of Web driver in one class as Static WebDriver driver; and want to use that instance in another class to automate the browser. Is it possible? Or will I have to define ...
0
votes
2answers
84 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
1answer
233 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 ...
1
vote
1answer
313 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 ...
1
vote
1answer
65 views

Unable to open Chrome WebDriver in another language

I'd really like to write a Selenium WebDriver test that verifies text is localized. The localization code bases the strings it displays on navigator.language (or navigator.userLanguage for IE). I ...
1
vote
1answer
5k 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 ...
0
votes
4answers
561 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 ...
0
votes
1answer
75 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
394 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
266 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
16 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 ...
1
vote
1answer
45 views

Is Fitnesse only used as a acceptance test tool based on integration testing?

I have read a lot about Fitnesse over the last week. From what I have heard, Fitnesse is commonly used as an acceptance testing tool that relies on a set of integration tests, as mentioned at Agile ...
3
votes
9answers
5k views

Is mail testing with selenium possible?

We have merely just had a kick off meeting for a new project that I am required to automate ASAP. The project is essentially a "mailbox project", if you will, and I have no idea as to where to start ...
0
votes
0answers
24 views

QC REST API - To update the test status?

Can some one help me to update the test status in QC using the REST API provided by QC . So that i can use it for updating the test status after executing my Junit tests. Thanks Vineeth Varghese
1
vote
2answers
108 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 ...
0
votes
1answer
353 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
2answers
115 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
0answers
49 views

How to run TESTNG failed test cases in jenkins for maven project?

I am new to jenkins and I have configured it on my windows PC. I have to run failed test cases twice before considering that they are failing. I am using TestNG and selenium webdriver for writing test ...
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
749 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
77 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
171 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
35 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
2answers
889 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
0answers
23 views

integration of Selenium Java testNG framework with .net framework

I have designed a framework in java using selenium by testNG framework. My question is can we integrate the entire framework with C# .net framework (Another framework for same application using .net ...
1
vote
2answers
3k 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 ...
1
vote
1answer
139 views

How can I use Surefire to run parameterized tests in parallel?

I am using jUnit's Parameterized annotation on some Selenium tests to specify the browsers they should run with. I am also using SureFire's new parallel parameter (set to "classes") to try and run ...
0
votes
1answer
238 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
0answers
24 views

Selenium screenshots from chrome are mirrored

When using Selenium remote driver accessed via python, I'm seeing screen shots taken from Chrome are being messed up. The images are mirrored. Snapshots taken with IE9 work without issue. chrome ...
0
votes
0answers
31 views

How to set script timeout?

I have the following code: Webdriver driver = new FirefoxDriver(); // ... String myHugeScript = ... ; // Script loaded from a resource on the classpath Object result = ((JavascriptExecutor) ...
1
vote
1answer
51 views

how can i get all the dropdown values in a list

I want all the options which are there in a dropdown .I am using selenium + javascript to write the testcases Please let me know how to get all the options from the dropdown i know in java we can ...
0
votes
2answers
35 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 ...
1
vote
6answers
7k 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 ...
2
votes
3answers
115 views

How to find element using contains in xpath

can anyone please help me how to use contains in my xpath? My xpath changes all the time when users are added, so I can't find element using xpath. This is my xpath: ...
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
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
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
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 ...
1
vote
2answers
379 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 ...