Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
3answers
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 ...
2
votes
1answer
189 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
115 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
38 views

this is scenario to automate

a) Go to http://money.rediff.com/gainers/bse b) There will be a list of company names and their current prices listed in the grid c) Find any company say 'SPIC.' and then read the current share ...
0
votes
1answer
333 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
23 views

Button gets disabled and doesnot get clicked

I am using Selenium IDE to make a automation scripts. In my code there is a page where when i select some options the 'Next' button gets disabled for a while. I have used a 'pause' statement for the ...
0
votes
2answers
458 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 ...
1
vote
3answers
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 ...
0
votes
5answers
48 views

Is it recommended to document how selenium automation tests are laid out?

The automation code I'm working with was written by several people before me. It's messy, complex, etc. There are barely any comments within the code. It takes me an extremely long time to figure out ...
6
votes
3answers
150 views

Selenium/Webdriver with team member that don't have programing skills

We are planning on integrating/developping automation solution with Webdriver 2.0 for our web application. We currently have 2 members in the team that can write code, and understand enough Java to ...
0
votes
1answer
23 views

Button click not redirecting to next page in Selenium IDE

I am using clickAndWait for xpath=//button[contains(.,'Next')] When I click Find on Selenium IDE the button is found, but the script doesn't click on the button. The button has id = pmc_wizard_next ...
2
votes
1answer
164 views

Setup appium for Android on Mac osx 10.8.5

I am new to mobile testing. I want to configure appium for testing android applicaiton on Mac machine. Can someone provide the steps to do. And I want to using with selenium webdriver using Java.
0
votes
2answers
42 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
4answers
73 views

How to work with changing element id in the html code

I am working in a ERP where the elements id are changing/rotating randomly. so if I am writing a code to locate a id, next time I run the selenium code it gets me error as the id changes by that time ...
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 ...
1
vote
1answer
161 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
votes
2answers
45 views

How to extract image from web page using selenium?

I want to extract image from a page using selenium. If anybody has an idea please let me know.
0
votes
1answer
44 views

Want to learn Selendroid

I am a manual tester with knowledge in selenium webdriver but as I see that selendriod came in for mobile app testing. My question is What would be the best place from where anyone can learn ...
-1
votes
1answer
34 views

Selenium for MacOS Setup

I wanted to know if there is a good source for setting up Selenium in Eclipse on MacOS. I have MacOS 10.9.4.
0
votes
1answer
126 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 ...
1
vote
2answers
76 views

How to verify whether selected item is exist in another page? (Ecommerce application)

I am trying to verify selected item is exists in another (Cart/Shopping Bag) page, for EX: I am buying one/many items from application and then I will move all the items to Cart/Shopping Bag, here I ...
0
votes
2answers
129 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
3answers
8k views

How to iterate a list of WebElements and print the values one by one to perform some action

List<WebElement> allLinks = driver.findElements(By.xpath("//div[@class='datepicker']/div/table/tbody/tr/td/table/tbody[2]/tr/td[@class='' or @class='datepickerSaturday' or ...
1
vote
1answer
651 views

How to update test cases in MS Test Manager based on automated test script results

For a web-application, I am automating my test cases using selenium web driver in java. My test cases are being managed using Microsoft Test Manager. Now, I want to update the test cases in the ...
1
vote
2answers
68 views

want to scroll down page/form using selenium webdriver

I want to scroll down a page that is coming inside a form, not in the main page. I tried this code JavascriptExecutor jse = (JavascriptExecutor)driver; jse.executeScript("window.scrollBy(0,250)", ...
0
votes
2answers
772 views

Selenium session timeout

I have a session timeout problem like this: I am using selenium + webdriver + java(junit) While testing each(tab) test case of particular web page in one programme, i need first test Login button, ...
1
vote
1answer
237 views

Selenium WebDriver (Java) with database [closed]

I want to validate application output result with Database using selenium webdriver (Java). Please let me know how this can be achieved. Or could you please let me know how to use selenium webdriver ...
0
votes
1answer
199 views

Is parameterized constructor (Java) supported in selenium webdriver?

I was asked in an interview whether Selenium Webdriver supported parameterized constructors. Example: import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import ...
1
vote
2answers
2k views

Selenium: How to click at x,y coordinates on Mac Firefox/Chrome

I want to click at x, y coordinates like 52, 216-52, 295. How can this be done using selenium. I am using Mac OSX 10.8.5 with Selenium 2.40.0 and Firefox version 29.0
0
votes
1answer
185 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
1answer
138 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
62 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
354 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 ...
2
votes
3answers
4k views

How to specify a Firefox profile name when using webdriver + python

I'm using python 2.7.1 and selenium 2.20.0. I have a seperate firefox profile called "selenium" which I want to use when running the webdriver. I managed to do it by specifying the complete path to ...
0
votes
1answer
52 views

I want to select the value from the dropdown

I am testing www.paytm.com In that I have filled in the mobile number but I am not able to focus and select the mobile operator which is present in the dropdown just after the phone number section. ...
0
votes
1answer
31 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
555 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
1answer
31 views

want to capture data after the search action using selenium webdriver

I am working on a erp application where I have to click on a 'search' button after which it will give me list of data . I want to automate that using webdriver. The search tab is empty before the ...
2
votes
1answer
64 views

Mobile application testing

I am new to "Mobile application testing" and I googled and got appium and selandroid. I want to learn mobile application testing and I have experience selenium webdriver with java. Queries are: I ...
0
votes
1answer
88 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
55 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
62 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 ...
2
votes
0answers
543 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
32 views

How to switch pop-up handler using selenium webdriver

I am working on a application that opens a form to fill up when i click on a button. I need to switch to that window , fill up the form and come out I tried this code Set beforePopup = ...
0
votes
2answers
414 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, ...
21
votes
4answers
31k views

What is the correct way to select an <option> using Selenium's Python WebDriver

I would like to select an <option> child of a <select> using the Python WebDriver. I have a reference to the option WebElement I wish to select and have tried select() and click() methods ...
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 ...
1
vote
3answers
74 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
184 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 ...
4
votes
4answers
393 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 ...