12-28-2011 09:46 AM
I was set the loopType of one step to Pass/Fail count. For example "Stop after 1 iterations pass or after a maximun of 3 iterations. The Maximun iteration is 3. What my qustion is how to get the maximum iteration from TS property by test codes during running. Thanks very much!
Corey Chen
Test Developer from OPPO
Solved! Go to Solution.
12-29-2011 03:53 PM
Hi,
This may be a hack but RunState.Step.LoopWhileExpression has the information. It will return a string like: "RunState.LoopIndex < 69 && RunState.LoopNumPassed < 5"
12-30-2011 12:33 AM
Hi TSJim.
Out test step can not identify the "RunState.Step.LoopWhileExpression", Seems it is an unknown variable. Could you tell me how to utilize it ? Thanks in advance!
12-30-2011 04:01 AM
Hi Jim,
It is OK now, I will be accept you suggestions. Get my usefull information from the specific 'String' . Thank again!