I'm using selenium_client with cucumber, webrat + IE
As you'd expect, Firefox works fine. I've tried the following:
selenium.is_visible("css=#flash .flash_notice")
selenium.is_visible("xpath=//*[@id='flash']/*[@class='flash_notice]")
selenium.is_visible("xpath=//*[@id='flash']/*[contains(@class,'flash_notice]')")
both cannot find the ...
I have an application which uses ActiveX controls. I want to automate this using Selenium IDE. But when i launch the application i end up in an error message "Turn on you ActiveX control". Is there any way to enable ActiveX in FireFox?
Note: I am using User Agent Switcher(as IE7) Addon of firefox to run my application.
...
I am trying to store the current url (http://example.com)in a variable and compare it with another string as a condition in the gotoIf command (part of the gotoIf extension.js):
storeLocation || url
gotoIf || ${url}=="http://example.com" || label
When I run this seleniun ide throws this error:
[error] Unexpected Exception:...
Any ideas?
In [1]: from selenium.firefox.webdriver import WebDriver
In [2]: d=WebDriver()
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
/usr/local/selenium-read-only/<ipython console> in <module>()
/opt/local/Library/Frameworks/P...
I am having difficulty in using the extensions.js in Selenium RC.
My Java Code is,
import com.thoughtworks.selenium.*;
import junit.framework.*;
import java.lang.String;
public class javaErrorCheck extends SeleneseTestCase
{
Boolean Result=false;
String S=null;
String Host="localhost";
String Timeout="30000";
pub...
Is there any way to capture flash images presented in web sites using selenium ide or RC?
...
I am running a multiserver Selenium testing environment using headless VPSs. I have nearly everything automated except for a specific need to declare the DISPLAY=:1 argument when starting Selenium within a screen session (due to running VNC server). Here is the command I'd like to work:
screen -d -m DISPLAY=:1 java -jar /root/Desktop/...
I have a survey web-app that is public facing. I want to set up automated testing with Selenium, but selenium can't capture javascript alerts that we're currently using on the site.
I'm thinking about changing our user-facing error notifications to some web 2.0 javascript library so that it is accessible to Selenium. However, I'm not s...
I have a page that results in a text/plain file being displayed in the browser that looks like this:
...
Admin Site Administration 2010-04-21 22:26:34 [email protected]
Test Site Bob Smith 2010-04-21 22:27:09 [email protected]
Admin Site Administration 2010-04-21 22:29:26 [email protected]
I am trying to write a...
I'm going to use Selenium RC to replay some tests for a website. I want to kickoff those tests from a Java test framework so that I get nice reports how many tests failed, etc.
Which java test framework should I use? Is JUnit the preferred framework for this purpose?
...
Purpose:
To convert the following code from Selenium IDE to RC in C#.
<tr>
<td>storeEval</td>
<td>alert("Please Enter the Verification code");</td>
<td></td>
</tr>
To set pause for enter Captcha value. in a loop. its working fine in IDE.
Tried with the converted code it shows as the following but VS08 shows Synax error.
Stri...
Hi,
I'm currently evaluating Selenium and it seems I'll have to perform certain steps in my tests over and over again. Is there any way to wrap several steps from a selenium test into one single step which can be referenced by other tests?
It seems that this can be done with with custom coding as mentioned at in the UI-Element docume...
I have a Selenium GRID Setup with the various browsers on it (IE6, 7, 8, FF 3.5.6) written in C# and individually they work fine. I also have a set of Selenium Tests setup and they also work fine with the envirments that i pass to them. What i am asking for is a way to prgrammatically set the differant unit tests to cycle through all of ...
i was running a test remotely on internet explorer, and when using navigate().to() selenium returns me this: "12:13:58.770 INFO - WebDriver remote server: Exception: The driver reported that the command timed out. There may be several reasons for this. Check that the destinationsite is in IE's 'Trusted Sites' (accessed from Tools->Intern...
So, I have a Rails webapp that utilizes subdomains for separating the admin functionality from the public functionality using subdomain-fu.
So there is functionality(that I want to test!) contained within two urls(eg admin.example.com and www.example.com). I want some scenarios to run against the admin domain, and some against the www d...
Tools such as WebAii can be used to visit a website, and with a simple loop, in succession.
If I code a lot of hits to a site in succession and/or with the ability for custom patterns, is this the same functionality as a load/stress testing tool?
Thanks
...
I am trying to write some selenium inside my scenario's. However, when I try to start Selenium using the following code:
before "start selenium", {
given "selenium is up and running", {
selenium = new DefaultSelenium("localhost",
4444, "*firefox", "http://www.google.com.my/")
selenium.start()
}
I get an error:
Error running easyb t...
Just i need to run all my scripts from Selenium IDE to multiple browser. Without convey to any other languages.Because it takes more time.I used the following batch file previously, there i will change the browser and execute all my html scripts. After installing the sauce RC it didn't work.Tried after uninstall sauce but didn't work.
an...
In one of my Selenium test cases, I try to ensure that certain pages can't be accessed. Instead, HTTP return code 403 should be given.
However, here Selenium terminates test execution with the following exception:
com.thoughtworks.selenium.SeleniumException: XHR ERROR: URL = http://user:[email protected]/admin Response_Code = 40...
Guys, I'm trying to write xpath or css to find/click on list element "All" based on known span(in this case SNG NAME below). On page, there are different lists Which can contain same list item called as "All". So we have to identify "All" based on span(in this case SNG NAME below)
can someone shed some light on my issue
<html>
<head>...