How to use Agilitest for massive test executions
Christophe Cressend
CEO & Co-Founder Agilitest. Codeless Functional Testing at Scale is now a Reality.
Adopting the Agilitest solution to create and maintain an automated test repository is a multi-step process. Many of our articles and technical documentation pages discuss the getting started process, or our preferred approach to test robustness and maintainability.
This article specifically addresses a step that is mandatory when you have already chosen Agilitest and want to integrate the solution into your production environment for test execution: what architecture to use for massive test execution, what types of hardware, and what software technologies to use?
What is required to run a test produced with Agilitest ?
Agilitest is a software that runs under the Microsoft operating system, in its desktop version, Windows 10, and its server version, Windows Server 2016 and 2019.
Before running a test, you first need?a test case in ATS format?created with Agilitest. This ATS test case can be compiled and integrated into a?TestNG execution suite?thanks to Agilitest for more ease, even if this is possible without.
Two main possibilities exist to execute one or more tests:
The execution environment of a test consists of an open?Windows user session?in which the test is executed.
When the test will run, the software to be tested will be launched and all the functional steps will scroll on the screen as if a virtual user was performing the actions with his keyboard and mouse.
Then the prerequisites depend on the channel or channels used in the automated test scenario: desktop, web, webservice, iOS, Android.
Running desktop tests
The first step of a desktop test is to launch the software to be tested, most often in the form of an .exe file to be opened. ATS and Agilitest can handle this, but it is also possible to connect to a running process when absolutely necessary
A graphical Windows session is required for desktop tests.
Running web tests
The execution environment for a web test is more predictable than for a desktop test since the first step is always to launch a supported browser: Chrome, Firefox, Chromium-based Edge, Opera or Internet Explorer.
领英推荐
A graphical Windows session is required for web tests.
Running webservices tests
Using a webservice through HTTP requests is a lower-level operation than using software with a graphical interface.
Therefore, a Windows console session may be sufficient to play a webservices test.
While it is not essential to have a graphical desktop environment in this case, it is highly recommended in order to benefit from the multi-channel aspect of Agilitest.
Android and iOS mobile test execution
The first step in running a mobile test is to launch an application on a given mobile. It is therefore important to be rigorous in the configuration of your system, with for example a stable IP addressing plan for the mobiles or emulators.
The physical mobiles will have to be connected by USB cable and connected to the same network as the machine running the test.
The mobiles emulated in the Genymotion cloud simply require a functional Internet connection. This solution is very easy to use, and allows you to run the tests on any Windows machine, virtualized or in the cloud, without ever needing a physical mobile farm.
A graphical Windows session is still required, especially to be able to generate test reports with screenshots, and replay videos.
What does it take to replay tests intensively?
The user session, main component of the execution chain
An essential prerequisite for the execution of an Agilitest test is the presence of a graphical Windows session...
Read the full article?on our blog, an article by Paul Chevalier .