Leaptest supports both advanced automation of web pages and web applications and also automation of desktop applications, applications running in a Citrix client etc. So what is actually the difference between the Web cases and the Desktop/Citrix cases? In the following the major differences are described.

Building blocks

The Desktop cases has 2 categories of building blocks that are only available for Desktop cases: “Mouse And Keyboard” and “Find And Get”. Besides these 2 categories, the building blocks available for Web case and Desktop cases are the same. This means you can use the web blocks as part of a Desktop case.

Environments

The building blocks exclusive to the Desktop cases (“Mouse And Keyboard” and “Find And Get”) are using Image & Text recognition and are hooking into the mouse and keyboard driver on the machine where the text case is executed, to drive the execution of the test flow forward. In order to do so, the Leaptest Agent needs to be installed on the machine where the case is running. When a test case is executed, the Leaptest Agent continuously streams a video of what is happening on the screen back to the controller. The Leaptest Agent inspects what is happening on the screen and uses this to drive the test flow forward. So if you are executing Desktop cases these can only work on Environments of type “Remote (Agent)”.

The Web blocks are using Selenium as the engine and they generate Selenium code on the fly when the test cases are executed. This means that a web case can be executed on all Environments that support/are based on Selenium, which includes the Leaptest Agent as well. If you are executing Web cases it can work on all types of the environment (currently: Remote, Selenium Grid, Sauce Labs, Browser Stack).

Schedules

When you create schedules you will typically start by selecting a number of test cases to include in the schedule. Depending on the selected test cases you will only be allowed to select environments that fits all the selected test cases.

E.g. you have selected 1 Desktop case and 3 Web cases. Because of the selection of the Desktop case, only environments of type “Remote (Agent)” can be selected.