Tagged Questions
2
votes
1answer
63 views
Does Selenium's LoadableComponent make sense in a SPA (Single Page Application)?
I'm writing a UI testing suite for a single page javascript application using Selenium 2 web driver. I'm still experimenting with how to fit the app inside a page object model. At the moment I am ...
1
vote
0answers
43 views
Fitnesse + WebDriver: any working solution?
Could you please tell me if there were any attempts to integrate Fitnesse and Selenium WebDriver? I'm looking for something like Selenesse (https://github.com/marisaseal/selenesse), but for WebDriver, ...
3
votes
3answers
870 views
Webdriver Check if Checkbox is Set and Set it if Not
I am learning Webdriver with JUnit by going through Alan Richardson's Selenium Simplified book and taking translating the exercises/tests from Selenium RC to Webdriver. So far, this has proven to be ...
2
votes
1answer
265 views
WebDriver Ruby binding: How to specify Firefox binary path in code?
I'm writing my test cases in Windows7 with Ruby (v1.9.3-p194).
Please, note that I want to specify Firefox binary path when using RemoteWebDriver, not FirefoxDriver.
Here is the command line I used ...
0
votes
1answer
180 views
How to assert values on a page opened by a link on another page?
A link on page 1 opens a new page "receipt page". It contains only text values. I need to assert or verify values on the receipt page to ensure that this is the correct receipt.
After executing the ...
-3
votes
1answer
360 views
What are the advantages of web driver over selenium RC?
Please provide answers in detail, So that we could clarify that which one is to choose, Web driver or Selenium RC.
1
vote
1answer
1k views
Click event in Selenium webdriver is not working [closed]
I tried everything: click, send, etc.
Below is my code:
WebElement element = ((WrapsDriver) selenium)
.getWrappedDriver().findElement(By.xpath(LOGOUT_XPATH));
element.sendKeys(Keys.ENTER);
try {
...
1
vote
1answer
198 views
How to Spy elements in an in-browser applet
I am trying to automate user interaction on a web application which is having embedded java applet in it. Need a tool that can spy the objects in the java applet in browser .
The plan is to use FEST ...
3
votes
3answers
591 views
Handling popup with many buttons using Selenium webdriver
I'm using Selenium web driver with Java language. When there are two buttons in a popup i.e. ok and cancel , it can be easily handled with web driver using the following code:
Alert alert = ...
1
vote
2answers
351 views
Is there any way to convert existing QTP script in to selenium?
Is there any way to convert existing QTP script in to selenium? if yes then how ? is there any converter to convert or recreation of script is only possible solution for tha?
0
votes
3answers
428 views
How to automate the action on a canvas object, when the canvas element has no name or ID in Selenium?
I want to automate the testing for a digital signature, which is a canvas element...Can anyone provide me with sample code, which could be used...I have tried, selenium.clickAt(), ...
0
votes
1answer
300 views
Advance commands of Selenium are not working in IE browser
I am using the SeleniumBackedWebdriver API in my current project, which supports both Selenium RC and WebDriver APIs. The Advanced User Interactions API like mouseUp(), mouseDown(), runScript() are ...
0
votes
1answer
420 views
SSO in Selemium web driver
I am trying to run selenium web driver(Firefox) test cases which will need a single sign on (web). Issue over here is i have to sign in manually with my OTP every time i tear down the test case. So i ...
4
votes
4answers
1k views
Testing Page Layout with webdriver
Has anyone tried to test the page layout of a website using webdriver? To be specific, using webelement.getPosition() and webelement.getDimension().
Shouldn't these two methods be enough for testing ...
0
votes
3answers
2k views
how to start work with selenium web driver any reference site for selenium web driver? [duplicate]
Possible Duplicate:
Where can I find information on getting started with Selenium 2
I want to learn selenium web driver from the scratch. any one suggest me the reference site for selenium ...
5
votes
1answer
2k views
“java.lang.NoClassDefFoundError” Error when running Selenium RC script
First of all I have recorded the script in Selenium IDE, then exported into the junit4 (RC), then copied the junit4 (RC) code into Eclipse IDE. When I run the project with junit test, I found the ...
1
vote
2answers
1k views
Selenium 2.0 WebDriver: Clearing Session Data
Is there a way to clear out session data for a driver instance in WebDriver? My code is written in C# (and NUnit), but I'm not picky on the language for the answer.
0
votes
3answers
1k views
absolute Xpath is not working for Gmail login page
I have tested the Gmail login page and was trying to verify the Sign in label in the Gmail login page above the user name field. I am using FirePath to generate the Xpath. When I inspect the element ...
2
votes
1answer
176 views
Har File Monitoring
I'm looking to automate some testing of calls we make to an external service. I've gotten Browsermob-proxy and selenium to play together nicely. I'd now like to monitor the requests as they occur, ...
3
votes
3answers
6k views
What is Selenium's default timeout for page loading?
I am using Selenium 2. I have loaded the page using Get command in WebDriver class which is in the package org.openqa.selenium. My question is that what is Selenium's default timeout for page loading?
...
1
vote
1answer
276 views
Is the source code required when using Selenium-RC with Grails?
Can anyone help with using Selenium-RC + Grails? I have used Selenium with Java but had no problem writing the code and launching the browser. But is the source code of my project required when i need ...
3
votes
2answers
468 views
Selenium automating ICEFaces Application - locator for dynamically generated ids
I'm trying to automate a very short sequence in a web application developped using ICEFaces. I need to click on a button which is coded as
<input type="image" title="Unterbrechen" style="padding: ...
4
votes
4answers
2k views
What are recommended scenarios to use Selenium Tests for?
My company is introducing BDD into our projects. Our customers have differents processes-cases wich also may fork at specific points. It is a mostly long and tedious work to test each case and each ...
2
votes
1answer
913 views
How to get XPath of a list element generated by AJAX?
When I type a keyword ("Documents 1.xml")
driver.findElement(By.id("documentSelect_enter")).sendKeys("Documents 1.xml");
in this field:
<input id="documentSelect_enter" type="text" ...
1
vote
1answer
303 views
Some Selenium tests fail on server but pass locally
i'd like to know if anyone faced the following problem with Selenium tests run:
when scripts are running locally all tests pass, but when they are ran on server for the same site some of tests fail ...
3
votes
3answers
6k views
Can't click this checkbox using WebDriver / Selenium — ElementNotVisibleException
See attached image. The element is visible to me as a user, but I keep getting the ElementNotVisibleException error. It seems to locate the element via multiple methods, but the .click() fails. Is it ...
4
votes
2answers
5k views
Selenium: reuse existing browser session, instead of opening new windows?
This has been asked a million times on the web, but there's no clear cut answer. I tried "-browserSessionReuse" today without any luck; my tests keep spawning new browser windows.
...
-1
votes
1answer
845 views
Open SSL / Https url using selenium-rc
Please suggest me, how to open the SSL urls using selenium-rc?
I face trouble while opening any https website through selenium RC in IE and FF browser both, as they prompt for accept the SSL ...
2
votes
1answer
861 views
How to instantiate a .NET FirefoxDriver when FF is installed in non-default location?
My Firefox 5 is installed not at the default location. So, I tried with the following to create a FirefoxDriver:
private IWebDriver driver;
[SetUp]
public void SetupTest()
{
var ffBinary = new ...
2
votes
1answer
7k views
How to fix “Permission denied to access property 'document'”?
I posted it on stackoverflow.com. Someone suggested me to post it here...
While trying to automate testing with selenium rc I ran into this problem. I was just following the steps in the tutorials. ...
4
votes
1answer
610 views
Selenium-2 Webdriver browser support
I have a question about selenium2 (webdriver).
As selenium-2 supports following 4 types of web drivers..
1-IE
2-firefox
3-chrome
4-htmlunit
Is there any way to use any other webdriver apart ...
3
votes
2answers
3k views
Solving “SeleneseTestCase is deprecated” issue
I'm working through the "Selenium Simplified" book just to really gain a solid understanding of Selenium and Java. I know the basics of Java, but this one is frustrating me. I must be missing some ...
2
votes
2answers
748 views
Selenium: Ajax Testing
Please brief me about the Ajax testing with selenium RC.
As in Ajax element does not reflect on the view-source, but using firebug we can see the changes in HTML source code.
There are two methods ...
10
votes
3answers
5k views
Is there a captureNetworkTraffic implementation in Selenium 2 via webdriver?
If yes, how is it called, or where can I find more info about it? (I'm not talking about using WebDriverBackend.)
If not, what alternatives are there?
5
votes
4answers
4k views
Which locator do you use with Selenium CSS or XPath?
I have heard that, when using Selenium, the CSS Locator has better performance than the XPath Locator. Which Locator do you use in your tests? Have you seen a great performance improvement when using ...