What is the difference between Return and treturn?

Showing Answers 1 - 7 of 7 Answers

sireesha

  • Dec 20th, 2005
 

treturn returns one value from test when its path or variable or value is shown

  Was this answer useful?  Yes

anuja

  • Nov 26th, 2006
 

these  statements are used in Winrunner. Return(x) returns a value x from a user defined function.

treturn(x) returns a value from a called script to the driver script in batch testing approach.

  Was this answer useful?  Yes

The treturn statement is used when calling a test. This statement stops execution of the current test and returns control to the calling test. The treturn statement also provides a return value for the called test.

Return returns back to calling function. It may also return a value to the calling function

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions