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
0answers
7 views

Selenium webdriver not recognizing div element

I have found several questions related to this one particular travel website MakeMyTrip, so I tried to automating it. I was successful in selecting the primary details and getting on the Flight ...
0
votes
0answers
31 views

Verifying If An Image Is displayed on a webpage

I have read that there is no "sure shot" way of knowing that an image is loaded or displayed on a webpage using Selenium. I want to know the reason behind it, as to why this is completely not ...
0
votes
1answer
18 views

Iterating across various open windows using Selenium and Python

So my question deals with iterating over multiple open windows at a time. Suppose I am opening a website (best example would be Naukri). As soon as the page loads, two more pop up windows open up. ...
0
votes
0answers
16 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 ...
0
votes
1answer
43 views

Wikia/selenium-tests - missing github repository

I am new to testing -- I am trying to set-up a test environment, but I can't find this one: requirement It says, in the section "Running Tests", Create symlinks for /selenium-config/config.xml ...
0
votes
1answer
33 views

Understanding how to handle auto-complete using Selenium and Python

While testing for a certain web application, I was faced with an issue of handling auto-complete scenarios. An example of this kind could be found here MagicBricks I have few questions related to how ...
1
vote
1answer
38 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 ...
0
votes
1answer
44 views

Selenium Webdriver: No such element exception even though element gets available after waiting for some time

I 've been keep on getting NoSuchElementException whenever i am trying get an web element. I know that web element gets present after some time . So, i've explicitly waited for 5-10 seconds till web ...
0
votes
2answers
34 views

org.openqa.selenium.StaleElementReferenceException in selenium

I am getting stuck at below : List lstType=driver.findElements(By.xpath("//select[@id='ddlGeneralType']/option")); Thread.sleep(2000); int i,j; ...
0
votes
1answer
68 views

Handling PopUp windows in selenium webdriver by using c#.net

Example of Handling PopUp in selenium webdriver using C#.Net [TextFixture] public class PopUp { IWebDriver driver = null; IWebElement element = null; [SetUp] public void setUP() ...
0
votes
1answer
72 views

How to configure Selenium Webdriver with netbeans?

I installed netbeans and then Selenium Client Driver and the step i have done after installing Client Driver: Open NetBeans IDE. Goto File->New Project->Categories Java and Projects Java Application ...
3
votes
4answers
101 views

Selenium with multiple languages gives any additional features

I am new to Automation Testing. By googling about Selenium I gained a some knowledge on Selenium. But I have small doubt i.e., Selenium will support the multiple languages like Javascript with ...
0
votes
0answers
42 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
1answer
40 views

Efficent way of checking if Element is Not Present

I currently use TestNG's assertFalse to make sure a particular element is Not shown when not logged in on a site. eg assertFalse(isElementPresent(PageElements.PDFLinkText),"PDF link present when not ...
0
votes
0answers
8 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 = ...
2
votes
1answer
370 views

How to send Basic Authentication headers in Selenium?

I'm using webdriver.Firefox and I'm trying to send the following custom header: self.headers = { 'Authorization': 'Basic %s' % b64encode(bytes(self.args.user + ':' + self.args.password, ...
0
votes
2answers
63 views

How to execute Selenium + Junit Tests on Chrome

I have downloaded the Chrome Driver and i am able to execute my tests on Chrome. However Only local connections are allowed for it. How can i execute it globally on any machine without changing ...
0
votes
1answer
36 views

Assertion error when comparing the text of an element

I am getting the following error while try to verify assertion. I tried adding wait but it didnt help. Error message: java.lang.AssertionError: expected:<Risk Assessment Form: Completed> but ...
0
votes
1answer
45 views

Selenium webdriver with TestNG

I am new for selenium webdriver. I have done following things in my project. I am struggled few things. How i can do it.. Here i am explain what i done. I am using Selenium webdriver with TestNG. ...
-2
votes
2answers
48 views

How to get the text present between <H2> tag

I am trying this: String str = "//*[@id="Result"]/h2"; WebElement vele = driver.findElement(By.cssSelector(str)); String vin = vele.toString(); System.out.println("Vin is"+vin); The result is: ...
0
votes
1answer
49 views

How to write xpath with variable?

I have an xpath: //*[@id='00QE000000gQ9fv_ACTION_COLUMN']/a[2]/span in this xpath 00QE000000gQ9fv is dynamic and _ACTION_COLUMN remains the same. I stored 00QE000000gQ9fv in a String variable as ...
0
votes
1answer
38 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
150 views

Test recording with Selenium IDE vs manual programming test framework

I'm just beginner in this field. I have already created simple tests using Selenium in .NET environment together with NUnit. I also hard coded the same or similar tests for my framework. My question ...
2
votes
1answer
147 views

How to send Keyboard Shortcuts to browser using Selenium and Nodejs

I am trying to create a test script in Node.JS using selenium webdriver and in case I need to send keyboard shortcuts to the driver. I tried finding the //body element and sending them but only ...
0
votes
1answer
37 views

How to check when self.close(); executed or not in java?

the code is self.close(); some times the window is closed and sometime it doesn't closed and not throwing any popup or alert. So i wanted to check whether the window is closed or still open? How it ...
0
votes
1answer
79 views

How to change the Text of a IWebElement of Selenium in C#

The Title pretty much explains everything. I'm searching for a way to change let's say <h1 id="title">Title<h1> to <h1 id="title">Nothing<h1> I'm kind of desperate since ...
0
votes
1answer
55 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"> ...
2
votes
2answers
121 views

Error: cannot find symbol in XSLT + TestNG Report

When I followed this link LINK to generate XSLT Report Using testng and to send email reports getting error message (Ex: package org.openqa.seleni um does not exist, etc...0). Please suggest me. ...
0
votes
1answer
217 views

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

sdk path-/usr/local/adt-bundle-mac-x86_64-20140702/sdk apk path-/usr/local/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/Setmore.apk Given Package name, Launch Activity,Platform Name, Automation ...
1
vote
3answers
185 views

Selenium Automation Framework Design Technique

This question is related to how should I approach with creating selenium automation framework. I googled and studied few frameworks. Also, I created my own framework in which I was taking input from ...
0
votes
3answers
175 views

Wait for a random time with robot selenium 2 library

After submitting a POST request with a button click from a webpage, I want to wait for 60 seconds and click a link on that same page. The wait for 60 seconds part, is that possible to implement with ...
0
votes
2answers
374 views

How to use Xpath 'contains()' function to locate a Web element in Selenium Webdriver?

I am a beginner in learning Selenium WebDriver and XPath. I am trying to get the "<td>" Element of the Nested Table which Contains string '7-8-9.' Following is the HTML page code: <!DOCTYPE ...
0
votes
1answer
659 views

How to handle sub child windows(more than 3) using Selenium Web Driver with Java

I am a new bee in Selenium testing based on java, needed help on handling sub child windows. I have to handle four child windows. Main window- Child window- Grand child - (to reach 5 child ...
0
votes
0answers
146 views

Behat+Mink+Selenium2 : javascript error “a is not defined”

I'm currently testing a Magento website using Behat acceptance tests with Selenium2 driver and Firefox. I need to hover over an element named "Products" in a top menu and then click on the a submenu ...
0
votes
2answers
124 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
448 views

How to run Selenium WebDriver java/testNG script with Windows Safari browser?

I know how to run test script in chrome and firefox. Please help me how to run my Selenium WebDriver java/testNG script in windows safari browser.
0
votes
5answers
526 views

Selenium: Unable to automate file upload [duplicate]

Can someone please help me in automating file upload on this page- https://www.designerexchange.com/index.php/sell/quote I tried everything, but the file upload is very dynamic.
0
votes
1answer
74 views

Coding (automation) with selenium

I need help! I have thoroughly studied selenium IDE and now I want to proceed with coding using selenium(scripting), how and where should I start. I have setup complete environment settings with ...
0
votes
3answers
1k views

IE 11 gives Unable to find element with css selector or xpath or Xpath expression cannot be evaluated or does notresult in a WebElement

I am getting below error messages : IE 11 gives intermittently error like Unable to find element with css selector or xpath or Xpath expression cannot be evaluated or does notresult in a WebElement. ...
0
votes
1answer
1k 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
2k views

Running my first program using TestNG and getting error

I am getting following error when run my selenium webdriver progarm using testNG: org.testng.TestNGException: Cannot find class in classpath: testng at ...
2
votes
2answers
89 views

Order in which options are returned by getOptions() in dropdown box(Select Class) in Selenium WebDriver?

When we get options of a dropdown in Selenium Webdriver the following way Select dropdown = new Select(driver.findElement(By.id(dropDownId))); List<WebElement> options = ...
0
votes
2answers
257 views

Working of pageloadTimeout in selenium webdriver?

How does pageload timeout in selenium webdriver work? Once set using driver.manage().timeouts().pageLoadTimeout() what is lifetime of the timeout?
1
vote
1answer
94 views

A test case needs 5 mins of wait. During these 5 mins I want to run other test cases

A test case needs 5 mins of wait. During these 5 mins I want to run other test cases. After 5 mins I want to check the necessary condition of 1st test case which is on hold for last 5 mins. How to ...
1
vote
3answers
111 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
168 views

Selenium WebDriver Stops when Window goes Out of Focus?

I am running a Selenium WebDriver Script in java to read excel file and write data in a Web application. I am instantiating a Firefox Webdriver. The problem is that Script runs fine, but when test ...
0
votes
2answers
110 views

Selenium - SendKeys not completing data entry before moving to next field

I am trying to login to Gmail with two users. The data is exported from excel. Sometimes my test passes, but sometimes the first user login and logout processes successfully, but the second username ...
-2
votes
1answer
237 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 ...
0
votes
3answers
202 views

I would like to switch from software development to testing

I am working as a java senior software developer. I would like to switch my career from programming to testing. Usually i do manual testing in our projects. i have java exp so i can easily learn ...
0
votes
1answer
42 views

how to click the post button for the following?

how to click the post button for the following ? <input class="k-button" type="button" style="width:90px;font-weight:bold;font-size:13px" onclick="Post();" value="Post">