Skip to content

Quick Start Selenium

double77 edited this page Aug 30, 2023 · 3 revisions

This page aims to guide you in creating your first test using Idelium.

There will be three steps to follow:

  1. Login to Idelium AS
  2. Import the demo Selenium test
  3. Create a test cycle
  4. Launch the test with idelium-cli
  5. Check the test result

Login to Idelium AS

To access Idelium AS, you need to use the following credentials:

Username: demo@idelium.io

Password: demo

Import the demo Selenium test

Introduction

This file was created using the official Selenium plugin. We recorded the actions performed on our website https://idelium.io and saved them in this file. You can download the file directly from the following link:

https://github.com/idelium/idelium-api/blob/main/testfile/selenium/IdeliumTest.side

Importing the file

Go to the "tests" section in the side menu and then click on the "import selenium ide" tab. Import the file IdeliumTest.side.

Click on "import test." Now you have imported the test.

Create a test cycle

Navigate to the side menu and select "test cycles." Drag the "Idelium Test" into the "Selected Test" box. Fill in the required fields above and click on "create."

Now you are ready to launch the test.

Launch the test with idelium-cli

Prerequisites

Install idelium-cli (https://github.com/idelium/idelium-cli) on your PC.

Make sure a version of Chrome is installed on your PC.

Downloading the API key from Idelium AS

To enable idelium-cli to communicate with Idelium AS, you need to download the API key. On the side menu, click on "API Key" and download the file. Rename it to ".idelium" and place it under your user's home directory.

Run the command

idelium --idCycle=1 --idProject=1 --environment=demo --ideliumwsBaseurl=https://localhost

Once it's finished, you are ready for the next step and can return to Idelium AS.

Test results

To see the test results, go to the side menu and click on "Test Performed." There, you will find the name of the test cycle. Click on it to view the list of launched tests. By clicking on a test, you can see the outcome:

  • Green - Test completed successfully.
  • Red - Test failed.
  • White - Test in progress.

At this point, the following popup will appear:

Clone this wiki locally