selenium-side-runner does not run Selenium IDE script - selenium

We are recording test scripts with Selenium IDE on a salesforce website without lightning. Tests run fine in selenium IDE but when we try using selenium side runner it fails. It cannot locate element by linkText.

Related

Open Real Chrome with Selenium and run script

I'm working a project, and I would like to know/understand how can I open the real chrome with a selenium script in python, and run multiple instances.

How to run existing Selenium scripts in TOSCA

How to run existing Selenium scripts in TOSCA?
As per my knowledge, TOSCA uses C# as a scripting language. If your selenium scripts are developed in C#, then you'll able to run those in TOSCA.
You need to use the Selenium module from TBox automation tools under Tosca.
The folder Selenium contains the following Modules:
Start Selenium Server
Run Selenium Scripts
These Modules can be used to start Selenium test cases directly from Tosca Commander. NUnit or JUnit 4 test cases are supported. You can run DLL and JAR files which contain Selenium 1 (RemoteControl) and Selenium 2 (WebDriver) test cases. For more info see here

How to keep data after headless browser selenium tests are passed?

Currently, we are using selenium for the automation test within our projects. We are using PhantomJs WebDriver to be able to run headless browser tests on bamboo. We want to be able to see the data(or content) which are created and saved by tests using PhantomJs but looks like the content will be gone after that tests are passed.
If we run the tests on Firefox driver without PhantomJs, we can see the content (or data) which is created by tests.
How we could config Phantomjs WebDriver in selenium to be able to see new content (or data) after running tests?
Any suggestion?

Running a Selenium2 IDE test case on the command line

I need to use the Selenium IDE to create tests for projects we are working on, but to then take these tests and run them from the command line.
The situation is that we want our developers to be able to use the IDE to test websites using a central repository of test suites using the Selenium IDE. We also need the same tests (i.e. in the IDE HTML format) to be run by a CI server (Jenkins) on Sauce Labs.
I have found that the export from the IDE isn't great (test cases that worked on the IDE don't work from the command line). I also need to use WebDriver, e.g Selenium2.
This must be possible but I just cannot see how to do it.
Try out Selunit it combines Selenium tests in Selenese HTML format with Continuous Integration. Here is a tutorial how to execute Selenium tests directly from Selenium IDE in Hudson builds and to benefit from its reporting capabilities provided for JUnit, where Selunit transforms Selenium reports to.
Selenium provides a command-line test script runner, but it's well hidden. Check out the -htmlsuite option of selenium-server.jar.
In windows system you have to download selenium-server-standalone-2.32.0.jar and Browser(IE, chrome) driverserver after downlaod you have to open CMD and run command
java -jar selenium-server-standalone-2.0b3.jar -Dwebdriver.ie.driver=.\IEDriverServer32.exe

is there any way to automatically run a test suite from within Selenium IDE upon opening firefox?

I would like to create a script or a batch file on windows that automatically opens Selenium IDE (plugin) and opens and runs a test file.
I would recommend Selenium RC for running automated Selenium tests. You can easily export tests from IDE into several languages supported by Selenium RC and then use an appropriate test framework. It is also possible to run IDE tests written in HTML through Selenium RC using the htmlSuite command line parameter.
Selenium RC documenation
How to run Selenium IDE tests within Selenium RC
Try it!
Save the below commands in a batch file and schedule when you want. You can place it in start up to start your scripts when you start your system.
C:
CD \selenium-remote-control-1.0.1\selenium-server-1.0.1
java -jar selenium-server.jar -port 4444
java -jar selenium-server.jar -htmlSuite "*iehta" "http://www.testsite.com/" "C:\testsuite.html" "C:\Results.html"
Pause