Testlink console run script test with behat.
- Clonning repo
- change settings in testlinkclient.cfg : serverUrl and serverKey (serverKey is in testlink)
- Add custom variable in testlink :
- scriptBehat : type string. It contains path to testcase file.
- Browsers : type checkbox : Browser to use for testcase
To install testlinkconsole with pip, simply :
pip install testlinkconsole
- start console with
testlinkconsole
- Configure testlink access :
config
set serverUrl http://[monserver]/
set serverKey [APIKey]
APIKey is on the project page in testlink
- you must setting a project id
list projects
set projectid [num of project]
- then set a testplan
list testplans
set testplanid [num of testplan]
- Finally run test plan
run
You must have behat and selenium installed et run selenium with
java -jar Selenium-[version].jar
- help : commands help
- save : save config (testlinkclient.dfg)
- list : list projects, testplans, testcases, ...
- Rmq : list testplans is only available when projectid is valued
- config : affiche les variables de la console
- set : set variable (projectid, testplanid, ...)
- Ex : set projectid 1
- get : get value of variable
- run : run test plan
Note that the console will automatically reload the cfg file at startup, which avoids upgrade variables for each use
- cmd run : run one test
- add variable UserAgent
- plugins system
- report system
- Storage system
- : testlink storage : 50%
- : local storage
- runner plugins
- : Behat
- : Behave