Selenium 2 is the second major release of Selenium, an open source framework for testing web applications. A major difference between Selenium 1 and Selenium 2 is the latter's use of WebDriver.

learn more… | top users | synonyms

0
votes
4answers
108 views

Escape key for Safari using Selenium

I am using Selenium webdriver (Java) and ran into a problem. I made the method, public void escape() { Actions action = new Actions(driver); ...
3
votes
3answers
349 views

PHPUnit Selenium2TestCase BadMethodCallException

I have installed selenium-server-standalone-2.33.0.jar, phpUnit, selenium extension for phpUnit. This test runs ok: $this->url('/'); $this->assertEquals('my title',$this->title()); But ...
4
votes
2answers
27 views

“Element is not currently visible and so may not be interacted with” when locating element by CssSelector/helptext

I faced an issue with locating the element. Currently it's impossible to locate it by CssSelector/helptext, but it's located by CssSelector/Id without issues Here's the element <span ...
1
vote
2answers
43 views

Same button is on 2 pages,but on one of the page its not clickable by selenium

The button is visible on UI and isdisplayed() is telling its displaying, but only the problem is, selenium is not clicking this button. The same button is placed on 2 pages, on first page its ...
1
vote
2answers
537 views

Unable to open Safari app on iPhone simulator while running Selenium test using ios-driver

I am trying to automate mobile web testing using ios-driver. The safari browser does not open even though the simulator launches. The configuration as shown on terminal by running the command java ...
1
vote
2answers
531 views

Need help to get drop down in a list (phpunit+selenium2)

I am new in Phpunit and selenium2. Need help to get all the values of drop-down in a list. <select id="month" class="_5dba" title="Month" name="birthday_month" aria-label="Month"> <option ...
0
votes
2answers
629 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 ...
2
votes
1answer
677 views

Running Selenium webdriver scripts in android device (Samsung galaxy tab)-Portrait mode

I have been stuck in an issue while running selenium webdriver script in android device -Portrait mode. Script is running successfully in landscape mode but when we run the same script in android ...
1
vote
1answer
270 views

Unable to open the specified URL on a real device while running Selenium tests using ios-driver

I am trying to automate mobile web testing using ios-driver on an iPhone 6 plus (real device). The Safari browser opens but the specified URL (google.com in this case) is not opened (i.e. only ...
1
vote
1answer
122 views

sometimes “invisible element” exception and sometime ‘timeout’ appers

I am writing a test script in selenium webdriver(selenium 2.0) with C# for below html- <table id="A_switch" class="tabswitch"> ------ </table> <div id="A" class="page ribbonpage"> ...
1
vote
1answer
545 views

Unable to run Appium Version 1.3.6-(Ophiuchus) on Yosemite for Testing Android App on real device

These are my settings: My SDK path: -/usr/local/adt-bundle-mac-x86_64-20140702/sdk My APK path -/usr/local/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/Setmore.apk Given Package name, Launch ...
0
votes
1answer
38 views

How to find the element for below code in WebDriver?

I am using Selenium Webdriver in C#. I am trying to find the element for below given Angular code. "<div class="ViewMenu" ng-class="{'selectedViewMenu':SearchObj.param.View=='Videos'}" ...
0
votes
1answer
46 views

Select multiple options and selection values will come from Excel

What I am trying to do is select multiple options from this example site while holding CTRL http://www.htmlcodetutorial.com/forms/_SELECT_MULTIPLE.html The multiple selection values would come from ...
0
votes
1answer
83 views

Getting and logging the selenium version used in a groovy project

I'm using Selenium in my Groovy application as a Maven dependency. Now I'm looking for a way to log the used Selenium Version to the console. I tried this: BuildInfo info = new BuildInfo(); def ...
0
votes
1answer
410 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 ...
-1
votes
1answer
697 views

how to pick a date from a calendar?

I have to select a date from a calendar. There is a icon to activate the calendar. when I click on that icon calendar popup appears on the screen but I am not able to select the date from the ...
-3
votes
1answer
413 views

Selenium Remote Control versus Jenkins

Is there any sense in using Selenium Remote Control if we already have Jenkins? For instance, I have developed some Capybara+Selenium+Firefox tests and used to run them on my Macbook. Now it is time ...
3
votes
0answers
218 views

Selenium Grid2 - IOException thrown while closing Closeable.

I am executing my Selenium tests against a Grid server, hosted on a different machine. My grid invocation is (bat file): cd c:\ start java -jar c:\selenium-server-standalone-2.46.0.jar -role hub ...
1
vote
0answers
52 views

Page factory performance

Does page factory affect on performance for test execution when we have a lot of elements with @FindBy? We use Java as a programming language.
1
vote
0answers
57 views

Jenkins Build Is Hanging

We are using jenkins for the continuous integration. I have already created a jenkins job for running all my robot framework automation test scripts & Everything was absolutely working fine. But ...
1
vote
0answers
51 views

Is it possible to automate tests on an embedded WebKit browser on Mac OS X?

Is it possible to automate the tests on a WebKit/WebView browser that is embedded in a Mac OS X desktop application, preferably using Selenium or some Mac-based tool like AppleScript or ...
1
vote
0answers
92 views

Handling different input fields using Robot Framework

I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application (I am writing test cases in .txt format) I am having a problem on handling two ...
1
vote
0answers
91 views

How do I put a MySQL fixture in a PHPUnit driving a Selenium2?

I have a Symfony2 web project using PHPUnit for the unit tests. Recently I added functional tests with the package phpunit/phpunit-selenium. I have added tests to do a login, then to create an item ...
1
vote
0answers
54 views

Integrating Selenium Webdriver tests written in Java to SpiraTest

I'm interested in SpiraTest's and Selenium Webdriver's collaboration. My objective - launch a Selenium test written in Java on Eclipse. Can the SpiraTest quality management tool run .exe or .bat files ...
1
vote
0answers
1k views

Dependent methods in the same class run out of order only when included in a “testng suite”; running class independently respects the dependency

I have a class with dependent methods using the TestNG annotation dependsOnMethods The test runs fine 100% of the time if I simply run it as a TestNG Test from the package. When I include the test ...
0
votes
0answers
17 views

Store result file dynamically

I'm using selenium selenium-server-standalone-2.53.0.jar file. java -jar selenium-server-standalone-2.53.0.jar -userExtensions user-extensions.js -trustAllSSLCertificates -htmlsuite "*firefox" ...
0
votes
0answers
18 views

driver.getWindowHandle() doesn't work after multiple iterations

driver.getWindowHandle() object is not returning a value when I execute the script multiple times. OS: Win 7 32 Bit IE : 11 Selenium: 2.53.0 IEDriverServer: 2.53.0 First time it is returning ...
0
votes
0answers
22 views

Selenium to retrieve the title text under SVG

everybody. Just a tough thing that using Webdriver to get title text under SVG section, so far, I get "" text. please see below <g class="v-axis-label-wrapper"> <text x="72.65" y="6" ...
0
votes
0answers
49 views

AjaxElementLocatorFactory = Implicit or Explicit

I'm looking for solution in page factory to wait. I don't want to use something like Implicit wait, but something like Explicit. I read about AjaxElementLocatorFactory, but I'm not sure that it ...
0
votes
0answers
79 views

Selenium Grid2 and Sikuli

Has anyone tried integrating Sikuli to Selenium Grid architecture ? I have read many articles online but unfortunately couldn't reach to a solution. To briefly explain, my scripts are equipped with ...
0
votes
0answers
51 views

Division not appended on click event in phantomjs

On clicking the link: <a href="#">xxx</a> the below div should be appended to the webpage <div class="desc cloned"> <div class="wrap"> ...
0
votes
0answers
109 views

How to select few text lines using Robot Framework?

I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application ( in .txt format ). One of my test cases involves to select few lines of text from ...
0
votes
0answers
681 views

Stale Element Reference Exception:Element is not attached to the page document

I am getting stale element reference exception while running a loop. WebElement ControlTypeOp=driver.findElement(By.xpath("//select[@name='ctl00$ContentPlaceHolder1$ddlControl']")); Select ...
0
votes
0answers
64 views

search string text in search grid is not working using send keys

I am passing sendKeys( ) through search grid to search a particular string.I am able to click that search text but its not clicking the search string ,Below is the html for that search text: ...
0
votes
0answers
155 views

Submit button not working in Selenium webdriver

When I launch ChromeDriver or IEDriver and click the submit button (manually and automatically), it does not send the inputs. It works outside of webdriver though, I can click the submit button and ...
0
votes
0answers
136 views

Selendroid Selenium grid android test couldn't find element

Is it possible to do a parallel test of android native apps with Selendroid and Selenium Grid? If yes, kindly give a code snippet. I am trying to run a test on 2 android devices. Though, being in the ...
0
votes
0answers
15 views

Is there a way to create an access control list (or some other form of security) for the Selenium WebDriver?

I recently installed Selenium on my CI server. After I did this, there was a new URL accessible on my server at http://my_url.com:4444/wd/hub. I was pretty uncomfortable about having that URL just ...
0
votes
0answers
50 views

WebDriver : selection is not working properly

I want to select Manage Customers & Projects but with below code 2 options i.e. Manage Customers & Projects and Manage Tasks both are getting selected. Not getting whats going wrong : ...
0
votes
0answers
24 views

kendoComboBox shows value injected through javascript but it does not save after saving the form

As shown in screenshot kendoComboBox gets values from dropdown as you type 3 characters in it. I executed below script to input value through JavascriptExecutor. Supplier1 = ...
0
votes
0answers
56 views

Selenium script for selecting any one of the users

I have added the code selecting anyone of the user but only first time it works so please help me with this. Stripe.com ...
0
votes
0answers
64 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
370 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 ...