Running a test
There's several ways to run a test in UIlicious:
- Run a test from the Editor in UIlicious Studio
- Schedule a test using Jobs
- Run a test using the UIlicious Command Line Interface
- Run a test by directly connecting to the UIlicious Webdriver Grid
In this getting started guide, we'll only cover how to run a test using the Studio Editor.
The Editor view is split into three panes:
- Workspace - Manage files in your project here
- Editor - Write your test here
- Result - Configure your test run and view the result here
Once you have written a test, you can configure how you want to run a test. There are several configuration options:
- Browser - the browser you want to test
- Resolution - the initial resolution you want to test
- Dataset - the dataset you want to use with the test
- Region - the geolocation you want to run the test in
- User Agent - override the default user agent of the test browser
In this getting started guide, we'll only cover how to configure Browser and Resolution. To learn more about configuring and running tests in the Editor tab, read the full guide here.
Set test browser
Open the "Browser" dropdown in toolbar at the top of the "Result" pane and select a browser to run the test with.
UIlicious currently supports the latest versions of all major browsers, including:
- Chrome
- Firefox
- Safari
- Edge (Chromium edition)
- Edge (EdgeHTML edition, Version 42, 2019)
- Internet Explorer 11
Once the browser is selected, it cannot be changed for the rest of the test.
Set test resolution
Open the "Resolution" dropdown in the toolbar and select an initial resolution to run the test with.
UIlicious supports common resolutions for desktop, tablet, and mobile screens.
You can change the resolution in the middle of the test using the UI.resize
command.
Run test
Click on the "Run" button in the toolbar to start the test.
View test report
You start seeing results in the "Result" pane while the test is running.
You can click on the individual steps to view the screenshot for the step, or use the Up / Down Arrow Keys to move between steps.
You can also view this test and past test runs from the "Runs" tab.