Tagged Questions

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

1
vote
1answer
28 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
23 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
1answer
42 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
93 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
62 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
78 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
37 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
69 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
76 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
127 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
78 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
107 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
105 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
62 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
98 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
157 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
70 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
445 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
141 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
172 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
400 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
125 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
447 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 ...
0
votes
1answer
88 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
119 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
243 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
105 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
1k 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
51 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
89 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
2answers
425 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
189 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
74 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
84 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
82 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 ...
0
votes
2answers
1k views

How to handle “Time out receiving message from the renderer” in chrome driver?

I am new to selenium, I'm facing "Time out receiving message from the renderer" in chrome browser while running test with selenium 2.41 and chrome 2.9x. I have tried many tests to reproduce the issue, ...
0
votes
2answers
98 views

Alternate command for selenium.selectWindow(“”) in webdriver

We are switching from Selenium RC to Webdriver, but most of the commands after converting in to Webdriver are not working . The web driver statement for selenium.selectwindow(" title") is ...
0
votes
1answer
135 views

How to automate range values using web driver?

I have to test a price range bar implemented with a jQuery slider. Suppose the defined range is 100-10,000. I want web driver to slide the minimum value to 2000 and Maximum value to 8000. I thought of ...
1
vote
4answers
438 views

How to check no. of characters accepted by an input field using Selenium WebDriver?

I want to check the validation of an input field that what is the number of character it accepts? Suppose an username field is allowed to accept 15 characters then how can I automate this test?
1
vote
0answers
56 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() { ... } ...
0
votes
0answers
49 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.
1
vote
1answer
137 views

Functional and UI Test cases for a Slider

I am working on a website. Here is the URL : http://northeastindiaholidays.com/. There are two sliders on the front page: The one with in the background, with a full resolution image. The second ...
0
votes
0answers
228 views

Selenium WebDriver - How to clear RadEditor content

I am working to write some Selenium WebDriver scripts that work with Telerik RadEditor controls. I can successfully enter content into the RadEditor in the following way with C#: ...
0
votes
0answers
169 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 ...
1
vote
1answer
63 views

Automation/SDIT Initiation and Acceptance Strategy

Some background: I am new at a company. I was hired because I am an extremely strong software tester with great development skills. The company I was hired on at wants to see a lot of changes and ...
0
votes
3answers
177 views

How Closely Does A Selenium WebDriver Test Time Match a User's Experience?

I am looking into automating some performance testing and am struggling to find the answer to the above question. If I create a test using Selenium and the IE WebDriver, which loads a page and waits ...
0
votes
1answer
653 views

Use Selenium Webdriver to capture all the values from Google Auto Suggest Edit Box and display them in the console

import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; public class ...
0
votes
0answers
56 views

Clicking an header menu opens a new tab in webdriver. But it loads in same page while checking on manual

I have to click a menu item and check whether the expected URL is loaded. When I click the menu manually, it loads in the same page. But while automating the script using selenium2. I used ...
0
votes
2answers
624 views

Significance of Maven,Svn,Jenkins in selenium webdriver?

I am a learner of selenium webdriver and now want to code using framework.I don't have a detailed picture of when to use what in above said tools.I do know that these are build,version,integration ...