-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm starting Selenium server with the following on a command line:
java -jar selenium-server.jar
Here is the code:
import com.thoughtworks.selenium.*;
import java.util.regex.Pattern;
import org.openqa.selenium.server.SeleniumServer;
import junit.framework.*;
public class orkut extends…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to get Selenium tests to work when they are executed by Hudson, but I have not been successful so far. Hudson is running on Ubuntu, and Selenium is unable to open display.
Command I use for launching the build is:
mvn clean selenium:xvfb install
error log:
[INFO] [selenium:xvfb {execution:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Surprisingly, I couldn't find a first step guide on how to setup Selenium WebDriver working with selenium-webdriver gem through google university. I suppose the gem needs to know where I store all those jar files to get started. How can I configure this?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am new to Selenium. I generated my first java selenium test case and it has compiled successfully. But when I run that test I got the following RuntimeException
java.lang.RuntimeException: Could not start Selenium session: Failed to start new browser session: Error while launching browser at com…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have several 'it' blocks in my selenium test file (using Ruby and rspec) that test various portions of my web application. Each 'it' block stops executing and goes to the next 'it' block if any of the conditions or code fails.
Is there a way to run an 'it' block
only if the previous fails or call…
>>> More