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
2answers
134 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
166 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
557 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
59 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
52 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
168 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
284 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
190 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
64 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
205 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
793 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
58 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
755 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 ...
0
votes
1answer
133 views

Unit Test project vs Console app project for Visual Studio Selenium automated test suite

My team has recently implemented automated build and deployment using Microsoft TFS and we're in the process of automating the functional tests for our application. However, we have a concern. We ...
0
votes
2answers
1k views

Selenium WebDriver with Java: How do I read username and password from an excel file to Java to use in website testing [closed]

I am using Selenium WebDriver with Java. I have an Excel spreadsheet with two columns, one for username and another for password. I need to read those values and use them to create new users.
0
votes
1answer
164 views

How to stop the browser loading process after 20 minutes?

I want to stop the browser loading process after 20 minutes in selenium webdriver script. Please suggest, how to do this?
0
votes
3answers
2k views

How can I do data parameterization in Selenium Web Driver?

I want my test case to run once and test n number of inputs at various positions. Suppose If I want to check a login screen for different members like manager,user,admin,e.t.c then instead of running ...
0
votes
1answer
870 views

Microsoft Test Manager tool

I really need help on Microsoft Test Manager tool. I have worked on selenium with java tool and MTM is very difficult for me understand and learn. To replay the recorded test in MTM, it always fail ...
3
votes
5answers
1k views

How can I reduce the execution speed in webdriver so that I can view properly what is happening on browser?

I want to reduce the speed for execution of script so that I can view the execution properly on browser. I want do this in webdriver.
1
vote
1answer
5k views

How to switch/handle particular popup window (When multiple popup are opened) and close particular popup window

i know how to switch to single popup window, but i do not know how to switch particular popup window when you have more popup windows. Scenario is: Go to the each and every popup 1. Get the title 2. ...
0
votes
0answers
2k views

How to select particular date from a date picker in web driver?

I want to select a date from a date picker which have options to change year from a dropdown. I have to get values in date of birth input field. I can send values to the date field by sendkeys command ...
0
votes
1answer
160 views

send multiple element to kendo multiselect from selenium

I want to sent more than one value to Kendo Multiselect element. whenever i use the Following function ((IJavaScriptExecutor)driver).ExecuteScript(String.Format("$('# ...
0
votes
0answers
52 views

Testcases fails on chromedriver

I am using chrome Version 34.0.1847.116 on Mac OSX 64 bit. When I run the testcase using chrome, testcase fails. Same testcases works in firefox public class Test { private WebDriver ...
0
votes
1answer
602 views

Selenium element not selectable for a kendo ui element

I am having an issue with an element which works with a mouse click and there are some items from which one has to be selected but its unselectable is set to on. whenever I try to select the elements ...
3
votes
2answers
380 views

How to manage application data when running multiple tests in parallel?

Our functional test suite is slow I have inherited a functional test suite using Selenium 2 (Webdriver) and Junit. We have around 500 tests written for our Java web application. Running the full ...
0
votes
1answer
184 views

How to run a particular test in an test suite?

Iam new to selenium suite, please show me how to run an particular test in an test suite, Below is my test suite, <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > <suite ...
0
votes
0answers
313 views

Selenium:Permission denied to access property 'nr@context'

I have been running selenium tests on a Linux Centos and it worked fine for over a year, until yesterday, when I started receiving error on my tests from Selenium: ...
0
votes
1answer
56 views

Is there a way to load a spreadsheet to jenkins?

I'm trying to write tests to load a spreadsheet that populates users to a program site. I was wondering if I can have a spreadsheet loaded to the site when the test runs on Jenkins. To be more ...
0
votes
2answers
1k views

Difficulty setting focus on element with Selenium WebDriver

I have a Selenium WebDriver test where I enter some text into a text input box var input_Note = Driver.Instance.FindElement(By.Id("note")); input_Note.SendKeys("test"); I then attempt to ...
0
votes
2answers
418 views

XPath not recognised in page object model in WebDriver [closed]

xpath not recognised in page object model in webdriver. @FindBy(xpath = "//td[contains (text(),'xxx')]") public WebElement topMenu; topMenu.click(); Error: Unable to locate element: ...
1
vote
4answers
2k views

How to write test cases in selenium webdriver using C#, simultaneously when web application is being developed (application pages not available)

I want to write test cases when application is under developing. I know the design of the application based on the wireframes. I intend to write test cases in C# using the Selenuim WebDriver. ...
1
vote
1answer
45 views

Best way to wait till the status changes

I have to automate a web page. Which has the following behaviour. I will create an application and the created application will be displayed in a table. The table has a column named status. The ...
1
vote
2answers
2k views

How to use Run Keyword IF" in Robot Framework

I want to run Keyword if Element is visible. E.g I want to check that if a button is visible on the page then run particular Keyword. Below is my code. Create button is Keyword and want to run if ...
2
votes
1answer
628 views

What are the Selenium, JUnit, Ant and JScover and how they are combined?

I am given a javascript function which takes as input some numbers and returns the max, as a part of a project at the university, and I have to test it, using Selenium, JUnit, Ant and JScover. I have ...
0
votes
0answers
124 views

Is it possible to run OpenScript functional tests from Maven?

I don't know Maven very well at all. I've been trying to pick up the basics as part of learning Selenium, which my company is considering for web functional tests. We also have some tests in Oracle ...
1
vote
2answers
1k views

How to capture a series of screenshots in Web Driver using Java

I Just wanted to know, that how we can take a series of screenshots / a video recording for a screen using Selenium 2 / Web Driver with JAVA ? Please provide the answer or the lick where I can get ...
2
votes
2answers
1k views

Where I can get all the commands related to Web Driver / Selenium 2

I am not able to find all the commands for Web Driver / Selenium 2. Please help me providing the same. Thanks
2
votes
2answers
785 views

How to navigate to a alert using Selenium Web Driver with Java?

I am trying to navigate the command on the alert box, but I am not able to do it in Web Driver with JAVA. Please help me with it. Apart from this I would also like to know how to tackle with the ...
2
votes
1answer
2k views

Fieldlevel validation in Selenium Webdriver (Java)

how to test validations for "FIRSTNAME" textfield. Below are the details and code. URL: http://www.vrlbus.in/vrl2013/register_customer.aspx Special chars: #!#!#$@#!$@!$@#$%#%^#$^^&%&$%* ...
1
vote
1answer
165 views

How to automate test the website inside some windows desktop app?

I have this question: I found there are web test automation tools such as selenium, but they are designed for testing website in the browsers such as ie/firefox/google chrome... What if the website ...
1
vote
1answer
623 views

What is the difference between type() and typeKeys() in WebDriver?

As both of them do the same activity is there any special differences between type and typekeys in selenium webdriver. wdBacked.type(locator, value); wdBacked.typeKeys(locator, value);
0
votes
2answers
350 views

How to select an default window or popup in selenium webdriver?

I want to select the current window,frame or popup where my browser is pointing. (i.e when i doubleclick or click it opens an popup or window) I want to get through that window or popup using selenium ...
1
vote
1answer
7k views

How to compare values from the list or from dropdown list in webdriver (Java)?

Below is my code and html code, please let me know how to compare values. When i executed i am getting same result (Mateched) for multiple times. But i want to compare and display result as "Matched" ...
2
votes
1answer
130 views

Driving client interaction tests with Selenium

I have some experience with JMeter for performance and scale, but I'm very new to Selenium for browser based testing. At present I have some simple Selenium scripts recorded for Firefox. These are ...
0
votes
1answer
290 views

Is parameterized constructor (Java) supported in selenium webdriver?

I was asked in an interview whether Selenium Webdriver supported parameterized constructors. Example: import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import ...
2
votes
1answer
338 views

How to execute Ruby Selenium Web Driver tests using Jenkins?

I have written quite a few Ruby programs for my clients test automation project.But the problem is my client wants to check the output to his PC without instilling ruby.He is asking me to make one web ...
0
votes
2answers
522 views

How to find the element that displays and hides with in 2 seconds in selenium webdriver?

I am automating a site in which there is a section to create forums. Every time I create a forum it displays message as forums created and hides after 1 section. I have to check the displayed message, ...
1
vote
1answer
1k views

QA Automation Tool. QTP vs Selenium [closed]

My department is currently looking at a tool for QA automation. On that side we are looking at both QTP and Selenium. The major features we want are automation of regression testing, something ...
0
votes
1answer
212 views

Prime Faces editing component and Selenium

I'm creating a new tests with selenium in my job. But i can't get one element in my system. We use Prime Faces and i can't get this element. I need to send a value to him, and He is a iFrame. I tried ...
0
votes
0answers
210 views

ConnectionRefusedError: [WinError 10061] while running multiple selenium tests serially

I am trying to run a series of tests using selenium webdriver using a loop. Code snippet I am using. for var in range(2,worksheet.nrows+1): ...