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
5answers
65 views

How to get entered text from textbox when value is empty in selenium using java?

Just I am trying to get entered text from the text field when value is empty. Below is my HTML: <input type="text" style="width: 203px" value="" maxlength="32" name="firstName"/> I tried ...
0
votes
4answers
121 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
356 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 ...
1
vote
2answers
553 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
554 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
651 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
684 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
276 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
127 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
557 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
18 views

How to validate if PDF is loaded or not in Selenium Webdriver?

I have a link in Website which will redirect to PDF document after clicking I would like to check if PDF is loaded in the browser or not using selenium I do not want to compare the text/content in ...
0
votes
1answer
40 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
64 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
85 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
726 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
423 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 ...
4
votes
0answers
220 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
27 views

How to sort Calendar dates using Selenium?

I have a situation with automation testing. The situation is, I am adding files with different dates as filename and need to keep those files in descending order and the files with no date goes in ...
1
vote
0answers
53 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
66 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
62 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
103 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
97 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
58 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
12 views

The Automated test can be executed paralleled by Jenkins, how to make a standalone file for it

I am using the maven-surefire-plugin with selenium grid and the test can be executed by Jenkins paralleled. I have using the multi-thread method in the code but that parallel can only be executed from ...
0
votes
0answers
34 views

How to read Data from XML file and compare the Data with Database Tables as an output using Selenium?

I have to test more than 250 feeds which contains of listing data. Hence, the goal is Download feeds file from existing legacy system which is in XML format and then compare the values with ...
0
votes
0answers
20 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
25 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
25 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
54 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
82 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
59 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
120 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
747 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
67 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
167 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
139 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
16 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
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
372 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 ...