-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Toast-tk-agent is the leightweight desktop application of Toast-Tk framework that records and replays user interactions with the application.
Toast TK is a tool allowing to treat the data and interact with every application interface.
Toast agent is the central interface between the WebApp, the engine and plugins.
The agent installation is easy and is done in two steps.
The agent automatic installation can be done on Windows 32 or 64 bits. Two installers are available for these two configurations. It is also possible to install the agent on other computers (Mac or Linux) with manual manipulations.
The agent installation is done through the execution of a msi file. You have simply to follow the steps of the installation and the agent is installed.
The installation create automaticly files on the repertory choosed at the 3rd step and on the "Toast Repertory". The "Toast Repertory" is :
C:\Users\USERNAME\.toast\
Took note : it is not possible to install the agent on the repertory "Program Files" because the installation has to be done with administrations rights.
The plugins has to be compiled like the toast-tk-plugin-example (https://github.com/toast-tk/toast-tk-plugin-example).
The jar plugins has to be copied on the agent plugin directory :
C:\Users\USERNAME\.toast\plugins\
The execution is simple and create an HTML report. To start the application, you just have to execute the shortcut which is on the desktop or the executable which is on the application repertory.
The default application repertory is :
C:\Users\USERNAME\ToastTK\Toast-Agent.exe
If the application is running, you can access the menu through the icon positioned on the left bottom of your screen.
The test booklets are split in the scenario. A scenario is split in actions. The sequencing of the actions allows to realize every kind of test on every kind of environment.
The execution is relied on :
- generic modules which are developed for different projects and allow to mutualise the developpements
- specific modules which are developed for a specific project and allow to interact with a specific application
You may ask TTK team to share some of the generic modules. Don't be shy !
There is some explication how to realize a scenario on the engine wiki : https://github.com/toast-tk/toast-tk-engine/wiki. Please, do not hesitate to contact us if you have further questions.
To run scripts, you have to set somes parameters : you have to change 2 parameters from the settings panel :
- Plugin directory is the repertory of the plugins : this is where the agent find the plugins.
- Script Directory is the repertory where you can find the scripts : every scripts in this repertory with be execute one after the other.
For the webDriver plugin, it is possible to modify the default setting in the file toast.properties which is in the toast repertory (C:\Users\USERNAME.toast\toast.properties).
To execute the script, you have to click on "Execute the scripts". The execution create an HTML file which you can find on the repertory :
C:\Users\USERNAME\.toast\target\toast-test-results\