2
votes
0answers
10 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
24 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 ...
1
vote
1answer
47 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 ...
1
vote
1answer
70 views

Selenium webdriver - Java with Webservices

In our application we are using web-services and DB, is it possible to integrate Selenium webdriver with web-services (Soap UI)? If two different frameworks are integrated, whether this is good?. My ...
1
vote
1answer
88 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
1answer
48 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
134 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
1answer
46 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 ...
1
vote
1answer
63 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
66 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
61 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 ...
0
votes
1answer
165 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
32 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
149 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
124 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
569 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
347 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
30 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 ...
3
votes
2answers
179 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
94 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
2answers
199 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
1k 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
394 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
347 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
1answer
199 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 ...
1
vote
1answer
626 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
185 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
131 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
3k 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
94 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
150 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
276 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
245 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, ...
0
votes
1answer
136 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
3answers
246 views

Using WebDriverWait to verify a performed action versus assertions in JUnit

Can someone tell me if by using the following code is sufficient enough to verify that the actions performed have taken place. So by using a wait command for certain elements to be visible in the DOM, ...
0
votes
1answer
1k views

JavascriptExecutor is not identifying the button to click in Webdriver

I have this HTML <div class="btnContr"> <input type="button" onclick="return cancel();" value="Cancel"/> Below is the xpath identified, using this xpath, I am not able to click on ...
0
votes
3answers
327 views

Is it possible to integrate bugzilla with selenium web driver

Is it possible for us to integrate selenium web driver test with Bugzilla? My intention are as below: If we can integrate web driver with Bugzilla, can we automatically attach screen shot of ...
0
votes
0answers
69 views

How to tear down E2E scenarios into JBehave stories?

I have been been asked to automate few E2E scenarios which merely contains few hundred steps. i did POCs and they are working, but when it comes to real implementations, aplenty of question arises. ...
0
votes
1answer
136 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
2answers
2k views

How to generate testing report in JUNIT in webdriver

I am using Selenium webdriver 2.0 in JUnit framework. I need to generate a report on my tuned both (positive and negative) test cases. NOTE: We have an option to generate report by default in ...
1
vote
1answer
242 views

Selenium 2 RemoteWebDriver constructor error: java.lang.String cannot be cast to java.util.Map

I am newbie with selenium and writing selenium test cases, I am basically trying to modify existing code in order to enhance some functionality. I am creating a webDriver using the following code : ...
0
votes
1answer
102 views

PHPUnit Selenium2 calling a function

I am testing with PHPUnit and Selenium2. I am testing the admin panel. So, I need to add Admin Login Test into all my admin panel tests. I want to create a new Admin Login Test with a new file and I ...
0
votes
0answers
47 views

Unable to access an same list with different count on ajax call

I have an list that consists of ten entries. on clicking a button ajax loads and the count of the element in the list increases to 20. I have to take the previous count(10) and compare with the ...
2
votes
3answers
252 views

How to wait until the count of a web element changes in webdriver?

I'm new to selenium. I am facing an issue. The number of web elements in a page increases on a button click(triggered by ajax call). So while getting the size of the element after button click gives ...
0
votes
1answer
105 views

Selenium and PHP

As I read on the net, Selenium tests should be written in the language of the App if this is possible. Our intranet-application is written in PHP. I was able to get Selenium working with PHPUnit but ...
2
votes
1answer
1k views

Selenium Webdriver code in Java to search hidden Objects in Web Browser

I am trying to create a Selenium Web driver java code where I can find all the hidden objects on the webpage and can be accessed. I want the count of all those hidden objects. Which property I can use ...
1
vote
5answers
4k views

Selenium test case fails due to page load time

I run nearly 30-40 test cases twice a day. And everytime some test case fails due to page load time. Infact i have explicitly mentioned Thread.sleep("2000"); wherever i feel it takes more time to ...
2
votes
1answer
178 views

PHPUnit Selenium2TestCase BadMethodCallException

I have installed selenium-server-standalone-2.33.0.jar , phpUnit, selenium extension for phpUnit. This test run ok $this->url('/'); $this->assertEquals('my title',$this->title()); But ...
1
vote
2answers
1k views

How to configure HtmlUnit Driver

I clearly missed a step trying to get HtmlUnit driver working with my app. I am getting the following exception. OpenQA.Selenium.WebDriverException was unhandled HResult=-2146233088 ...
0
votes
3answers
477 views

How to include passed assertions in the Test NG test result report?

I use Selenium webdriver 2 with Test-NG. Test-NG gives a nice report when an assertion fails. The customer wishes to see the same report in the case where an assertion passes. Is it possible to do ...