How to run a automation case
There is three ways to run automation case.
1.
Run automation cases in local
compute
How to run in local compute, there is three steps:
Step 1.choose a case
Actually a feature contains a lot of cases, and so
according to the scenario, then run a case.
Step 2: right click the mouse and choose ”create a …”, and
then copy the title into the tags, and then set the environment variable.
Step3: if you want to run all sites, so comment the site
Step 3: click run the case.
About the environment variable:
There is three variable, run in trunk ,set the environment
variable to JENKINS_UNSTUBBED,
Run
in stub, set the environment variable to JENKINS_STUBBED
Run
in integration, set the environment variable to INT
Run
in live, set the environment variable to LIVE
1.
Run automation cases in Jenkins
2.
Run automation cases in labrun