Reply
Contributor
deepti
Posts: 63
Registered: 01-12-2010
0

goto deprecation

'goto label' was used in FFSVT and is deprecated in iTest for analysis rules. Is there a substitute available for it? Will my migrated testcases with goto in them work?

 

thanks

Community Leader
PaulD
Posts: 1,361
Registered: 09-02-2008
0

Re: goto deprecation

There is backward compatibility in iTest to support goto, but it is not recommended for new test cases.   If you import a FanfareSVT test case into iTest, it will retain the goto steps and these should work properly and go to the appropriate step based on its label.  (The Label property of a step shows up on the Documentation page in the step properties.)

 

You will see a "deprecation" warning telling you that goto is not recommended but will work.  Likewise, a step with a non-empty Label will show up with a "pencil" marker in the margin telling you that this step has a special property associated with it.