Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

3
votes
1answer
528 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 ...
2
votes
1answer
176 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
1answer
369 views

Is the source code required when using Selenium-RC with Grails?

Can anyone help with using Selenium-RC + Grails? I have used Selenium with Java but had no problem writing the code and launching the browser. But is the source code of my project required when i need ...
1
vote
1answer
123 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": [ { ...
1
vote
1answer
81 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
66 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 ...
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 ...
0
votes
1answer
29 views

not able to upload a File in Selenium RC

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
1answer
40 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
16 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
32 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. ...
0
votes
1answer
44 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
62 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
26 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
105 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
1answer
76 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
83 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
91 views

Webdriver: Selecting element by position in drop-down menu

can anyone here suggest a method to select an item from a dropdown menu, using the item's position in the list? Say you have a normal dropdown menu to select the month of birth. (Example on this ...
2
votes
0answers
472 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
0answers
45 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 ...
1
vote
0answers
35 views

eclipse is automatically running unwanted selenium tests

I have two test files (lets say they're SomethingTestA and SomethingTestB). Inside SomethingTestA, I have a bunch of mini smoke tests methods, like so @Test public void testCreate() { ... } ...
1
vote
0answers
157 views

How to start with Selenium and TeamCity integration?

I am basically from Testing and I know QTP Automation, but now my client is asking to do some analysis and start with pilot project as auotmate the teamcity tests using Selenium. But I am really not ...
1
vote
0answers
116 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
vote
0answers
228 views

Selenium Webdriver and OpenLayers

I would like to check that the locations asset on map (openLayer) are the same with some asset in a row. What is the best way to do this? I'm using the TestNG framework.
1
vote
0answers
351 views

Passing session while switching control to a pop-up window

I am trying to choose a date by clicking an image which results in a pop-up window with a date picker in it.But when done through selenium the session expires and the login page appears in the pop-up ...
0
votes
0answers
18 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
0answers
28 views

verificationErrors in WebDriver

When verification fails in multiple "try catch" blocks containing "verificationErrors.Append(e.message)" in a single test script, the test results log shows only one of those failures and instead of ...
0
votes
0answers
30 views

Is it possible to verify google analytics code, crazzy egg code, Optimizely code by selenium IDE?

I am a new tester in selenium IDE. I can check meta content by selenium IDE. But, I need to check some scripts as like Google analytics, crazy egg etc. Is selenium ide have any opportunity to check ...
0
votes
0answers
43 views

Is this possible to start a selenium test with two different hub?

I'm new to selenium. I'm running selenium grid using a hub with 5 registered nodes. Is this possible to start the test with two different hubs.
0
votes
0answers
38 views

Selenium WebDriver Code for PeopleSoft Sub Page

I am new to Selenium WebDriver World. I am trying to work on a script to Add a Person in PeopleSoft HCM Application. Basically, On the Personal Data Main page, you first start by adding a Effective ...
0
votes
0answers
59 views

Regex escaping issue in Selenium IDE and WebDriver

I have a Selenium IDE command evaluating a regex against a string in the DOM, something like this - Command waitForEval Target ...
0
votes
0answers
46 views

how to maximize chromedriver on mac machine

driver.manage().window().maximize(); options = ChromeOptions(); options.add_argument("--start-maximized"); driver = ChromeDriver(options); I tried the above options to set the chrome window on mac ...
0
votes
0answers
41 views

Is it possible to covert telerik test studio tests to selenium?

After a change of tooling, we now have a combination of telerik test studio tests and selenium tests. Is it possible to covert telerik test studio into selenium webdriver tests?
0
votes
0answers
349 views

How to select particular date from a date picker in web driver?

I want to select a date from a date picker which have options to change year from a dropdown. I have to get values in date of birth input field. I can send values to the date field by sendkeys command ...
0
votes
0answers
55 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
0answers
407 views

how to read, print values from html table by webdriver using java

<div id="calendar" class="week_calendar_holder"> <div class="week-calendar"> <table class="week-calendar-header"> <div id="weekly_container"> <table ...
0
votes
0answers
263 views

On test case failure taking a screenshot with Selenium WebDriver

As the question clearly states, I used the screenshot coding in my catch block but it doesn't work. try { LoginPage lp = new LoginPage(driver); lp.userName.sendKeys("administrator"); ...
0
votes
0answers
91 views

Automated Flash / HTML 5 video playback testing

I would like to test the "playback" of an m3u8 video in 2 scenarious: It is embedded in a flash player (JWPlayer) or It is played back by an iOS device. I have heard of Flash Selenium, but my goal ...
0
votes
0answers
248 views

How to store webelements(dates) in an array

How to store webelements(dates) in an array and retrieve it? I got the total no. of dates by using the xpath : //div[@class='datepicker']/div/table/tbody/tr/td/table/tbody[2]/tr/td[@class='' ...
0
votes
0answers
25 views

How to get Alert after using Fireevent command?

<tr> <td>type</td> <td>endDate</td> <td>test</td> </tr> <tr> <td>waitForAlert</td> <td>endDate</td> ...
0
votes
0answers
142 views

Python Selenium bingings ActionChains context_click having no effect for PhantomJS

I am using python selenium bindings for phantomjs. I am trying to simulate a right click and then take a screenshot (showing the context menu). But I am unable to get the right click context menu. ...
0
votes
0answers
126 views

ConnectionRefusedError: [WinError 10061] while running multiple selenium tests serially

I am trying to run a series of tests using selenium webdriver using a loop. Code snippet I am using. for var in range(2,worksheet.nrows+1): ...
0
votes
0answers
110 views

selenium test data parameterization using doLoadTestData() and EOF() mothods

I am learning parameterization using selenium IDE. I want to load test data from xml file. for that I have downloaded user-extention.js file. I am requiring doLoadTestData() and EOF() methods in it. ...
0
votes
0answers
34 views

xss scripts through console of web-developers-tools

So, well i am learning selenium webdriver, junit4. I need to know, is it a proper way to add "xss scripts" through console of web developers tools ? Can anyone help me with example ?
0
votes
0answers
97 views

PHPUnit Selenium shareSession doesn't work in my tests

I was reading about shareSession in PHPUnit Documencation I see in the documentation like that **From Selenium 1.1.1, an experimental feature is included allowing the user to share the session ...
0
votes
0answers
47 views

Unable to access an same list with different count on ajax call

I have an list that consists of ten entries. on clicking a button ajax loads and the count of the element in the list increases to 20. I have to take the previous count(10) and compare with the ...
0
votes
0answers
330 views

Error loading method in selenium IDE for Data Driven testing

I am trying to execute data driven testing using selenium IDE. I downloaded all the three extensions that are told step by step and uploaded to selenium IDE core extensions in the same order as ...
0
votes
0answers
2k views

Webdriver : How to switch to a specific window?

I came across many solutions for switching between windows, one of them is: Set<String> allWindows = driver.getWindowHandles(); for(String currentWindow : allWindows){ ...
0
votes
0answers
252 views

WebDriver API:how to pass session values in webdriver?

I am testing my web application using selenium webdriver. I write code using java. I am having a problem - I am testing usercreate screen to save user details, but I get problem is some userid etc.. ...
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 ...