Luxoft / Twister

Twister Test Automation Framework
http://www.twistertesting.com/
Apache License 2.0
38 stars 21 forks source link

how excutest test script with argumnest #171

Closed ravichandra66 closed 9 years ago

ravichandra66 commented 9 years ago

Hi team ,

I want execute the some script with test argument .please let me know how pass argument though Twister UI

thanks Ravichandra

croqaz commented 9 years ago

Hello @ravichandra66

In order to add arguments to a test, first select the test in the applet, then you have 2 options:

screenshot from 2015-02-17 16 25 08

You can edit properties and then, in the test, you can view them using the PROPERTIES variable,

or you can add parameters and in the test, you can view them using import sys; print sys.argv.