Here I explain how to run Automatic TestSet with a simple vbscript that use OTA API.
This solution is based on 2 steps (same script):
TestSets are stored in the TestLab module and every company decides how to organize them in the tree-model, which is the best way to collect and store them.
Suppose (this is not the way we implement it in our company) to have a tree-model structure like this:Root - <APPLICATION> - <ENVIRONMENT> - <TESTSET>
To retrieve all the TestSet for a specific Application + Environment we must build a script that accept some input parameters such as Domain - Project - User - Password - ApplicationName - Environment
The script will do these steps:
How to call the script?
The script runs on a Windows Client with OTAClient.dll installed. It must be called from wscript.exe or cscript.exe under c:\windows\SysWOW64 folder because of 32bit DLLs.
You can decide to Run all tests on this machine or on a remote machine. The Scheduler will run always on local machine but can do remote runs.
For a real continuous testing you should trigger the script from an external system able to orchestrate and execute remote command (such as HPOO or Jenkins)
Questo sito è stato realizzato con Jimdo! Registra il tuo sito gratis su https://it.jimdo.com