An open API service indexing awesome lists of open source software.

https://github.com/inflectra/selenium2rapise

Porting Selenium tests to Rapise
https://github.com/inflectra/selenium2rapise

Last synced: 10 months ago
JSON representation

Porting Selenium tests to Rapise

Awesome Lists containing this project

README

          

# selenium2rapise
Porting Selenium tests to Rapise.

## Creating a New Test

In Rapise choose `File > New Test`, enter test name and click `Web: Cross-Browser Testing Support`.

Test Diagram

Then choose Selenium browser from the list.

Test Diagram

If you are on Rapise 5.1 or above choose `JavaScript` language option.

Test Diagram

An empty test will be created.

Test Diagram

Put your code into `Test` function.

## Porting from Selenium

Example of ported code is inside `Selenium2Rapise.js`.

Rapise has support for the following classes:

- WebDriver
- WebElement
- Capabilities

Implementation is located at

```
c:\Program Files (x86)\Inflectra\Rapise\Core\Engine\Lib\LibSelenium
```

## Sample Test

This repository contains a sample test that should work out-of-the-box. Clone the repository and open `Selenium2Rapise.sstest` in Rapise and you are ready to go.