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
1answer
28 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
1answer
48 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
29 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
19 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 ...
0
votes
2answers
15 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
21 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?
0
votes
1answer
61 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 ...
0
votes
2answers
34 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
32 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
1answer
18 views

TestNG - 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 ...
0
votes
1answer
45 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
130 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
24 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"> Replay as soon as ...
1
vote
2answers
56 views

What is a suitable web site for multi-devices testing

When our web site was finished, we were tasked to test it with all devices. Some devices are not allowed, but for the ones that are I use a virtual devices site online. The problem is some sites do ...
0
votes
1answer
46 views

How can we capture run time values using selenium webdriver?

How can we capture run time values using selenium webdriver ? For e.g while testing a banking site, we provide all details necessary to create a new customer and click submit. A customer ID is ...
0
votes
2answers
77 views

Not able to click in Selenium Webdriver. Getting a NoSuchElementException

I got my code ready in Selenium IDE and exported it to Selenium Webdriver (JUnit 4). My code was working perfectly in Selenium IDE but an issue has arose after my migration to Selenium Webdriver. ...
0
votes
0answers
251 views

Data driven testing using SeleniumWebdriver,TestNG and Apache POI

! I'm using Selenium Webdriver, TestNG and Apache POI for my data driven test. Below is the code I'm using but the test is failing with the following exception: SKIPPED: testLogin ...
0
votes
1answer
67 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 ...
0
votes
2answers
98 views

Selenium, cannot find button to click

I got stuck to write the code in WebDriver. I have the code below : <button class="btn" onclick="javascript:return PopulateInvestor('hdnInvestorId', 'txtInvestorName', 'txtInvestorEmail', '', '', ...
0
votes
0answers
40 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
3answers
91 views

Loading page generates exception 'Timed out waiting for page load'

I'm navigating to a webpage using Firefox driver. The page is loaded correctly but I'm getting this exception and the test crashes Timed out waiting for page load I've tried to add some ...
0
votes
2answers
87 views

Selenium Reporting

During my experience in Quality Assurance, especially automation testing, I have experienced two functional test tools(QTP and Selenium). In fact, I have noticed that Selenium have more strong points ...
3
votes
2answers
168 views

Cloud Based Automation Testing with Selenium WebDriver - Java

I am beginner in selenium webdriver (java), and wanted to know whether selenium webdriver can be used in cloud based application testing or not, if yes how to setup it (Searched over the net but ...
0
votes
1answer
131 views

How to run data driven testing using testNG in selenium

I am using testNG framework and tried to import data from excel sheet in my local. If I run the code as simple java application then its running but with testNG its not public class NewTest { public ...
3
votes
2answers
160 views

What kind of test cases we can not automate in selenium webdriver - java

I want to know what kind of test cases we can not automate using selenium webdriver. I do not want to use any 3rd party tool (Autoit, etc..).
3
votes
2answers
167 views

key points for choosing a framework in selenium webdriver - Java

My query is related to this Choosing framework type for selenium RC/Webdriver I am a beginner in Selenium and want to know how to select or choose a framework in Selenium Webdriver. What are the key ...
0
votes
1answer
72 views

How to make the opening of browser(all test in one browser) static in testng for selenium [duplicate]

I am using selenium and testNG framework for my project. Now what is happening is each class is opening up a browser and then run its methods, eg, if I have five classes, then five browsers will open ...
0
votes
1answer
289 views

How to modify testNG report in selenium java

I am running my script in java and getting the results in testNG. But in my application after filling up the form I am getting a confirmation alert message. I am able to read that alert message and ...
2
votes
2answers
251 views

How and where to store dynamic result/data using webdriver java

I want to know "How and where to store dynamic (Search results) result/data", I am getting the results and not sure what to do next. Also, after saving these results I want to use this in another ...
0
votes
2answers
86 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 ...
1
vote
2answers
1k 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)", ...
1
vote
2answers
189 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 ...
1
vote
1answer
341 views

Using FluentWait Class to wait until a condition is true in Selenium Webdriver?

I am not able to understand the use of new function() and apply() in the following code while learning timeouts using Fluent Wait method to set timeout in Selenium Webdriver script in java. Wait ...
4
votes
3answers
902 views

What Concepts of Java do i need to learn to use Selenium Webdriver?

I want to learn Selenium WebDriver automation using Java. I have done manual testing before and want to learn automation. I just know the basics of Core Java. Could you please suggest me the Core ...
0
votes
1answer
115 views

Couting browser windows opened by Selenium

Is there a way to get a list of opened browser windows using Selenium? I want to use this to count the number of open browsers within a test.
0
votes
1answer
186 views

how to handle widows authentication dialog using webdriver in python

I have application which is secured by http authentication. So when I open the url it is looking for user/pass in windows authentication dialog. I wanted handle this dialog to enter user/pass and ...
1
vote
1answer
661 views

Selenium webdriver java with jdbc

I am using selenium webdriver with Java jdbc. Below are my queries. First: I am trying to login to the application with username and password from database (Using SQL Query). I am getting the ...
1
vote
1answer
113 views

How to test and run Liferay portal using Selinium?

I am new to testing, I have done the below steps. I don't know if I am correct or not. Downloaded Selenium IDE and added it to Firefox. Recorded tests and imported test cases as WebDriver/Junit. ...
3
votes
2answers
147 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 ...
0
votes
1answer
321 views

Difference between WebDriver and Selenium in Selenium Grid Node Configuration

I'm using Selenium Grid and noticed that I can configure the seleniumProtocol parameter for the different capabilities in the Node. I can chose between WebDriver and Selenium. Excerpt from my ...
0
votes
1answer
173 views

How to open a link in new tab and then coming back to previous tab in webdriver

I have a situation in which I have to perform some action on one web page and their changes will reflect in the other web page. And after that I want to check whether changes are reflecting or not by ...
3
votes
2answers
2k views

Desktop Application testing using selenium

Is it possible to test desktop applications using selenium? Suppose we have a simple application like gtalk. A desktop application, can we automate that application with selenium.
0
votes
1answer
59 views

To run all test cases by invoking driver once for a suite

I want to run all my test cases with one start up and tear down process. I have written code for multiple browser testing and as of now I am repeating those codes in every class file under ...
1
vote
2answers
116 views

Matching any text present on the visible html page

Suppose I have an add question facility but can't add same question in the form. So need to check whether the question is already visible on the screen, if not then add it. I am not getting how to ...
0
votes
3answers
654 views

Using multiple instances of webDriver

I have defined an object of Web driver in one class as Static WebDriver driver; and want to use that instance in another class to automate the browser. Is it possible? Or will I have to define ...
-1
votes
1answer
245 views

Robot framework. How to select option by text but value

I want to select an option from list, but i wont use value for it. <tbody><tr> <td colspan="3"><a ...
2
votes
1answer
1k 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
3answers
81 views

How to revert the changes made by selenium in a tear down process?

I am in a situation where I have to revert all the changes which I made while testing the application. Is there any way of doing this in Testng? Suppose if I have added something into the ...
0
votes
1answer
89 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
89 views

How to compare value of a td of a table with a numeric value using webdriver?

I have to compare a value of a td tag with a numeric value. I have o check whether the value coming in that td is >= some value. The html of td is: <td class="sorting_1">78000</td> I ...