What is T_Exit and T_return?
Answers were Sorted based on User's Feedback
Answer / vrfrens01
The treturn and texit statements are used to stop execution
of called tests.
The treturn statement stops the current test and returns
control to the calling test.
The texit statement stops test execution entirely, unless
tests are being called from a batch test. In this case,
control is returned to the main batch test.
Both functions provide a return value for the called test.
If treturn or texit is not used, or if no value is
specified, then the return value of the call statement is 0.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / bala
Winrunner interprets these statements differently for a
batch test and a regular test.During a regular test run
texit terminates tes execution.During a batch test run
texit haults the execution of the current test only and
control is returned to the batch test
treturn statment is used when calling a test .This statment
stops execution of the current test and returns control to
the calling test. The return statment also provides a
return value for the called test.If no value is specified
in the expression of the statment ,then the return value
is Zero
both are not functions, so they won't appear in the
functon generator.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / srikanth.m
t_exit : exit from the test.
t_return: returns the control from called function top the
calling function.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sriharsha
T_exit : returns from the main program
T_return : returns the control from the called function to
the main program.
| Is This Answer Correct ? | 0 Yes | 1 No |
Which are default codes winrunner generates when we start the application?
For what type of applications Rapid Test Script Wizard available?
How do you identify which files are loaded in the gui map?
Is Winrunner 7.01 supports .NET applications?
How to write TSL for exception handling
The title of the window consists of Date and Time.Tell me the Regular Expression to recognise that window as unique?
plz give me code or steps for pop up exception. or can u tell me how to pause test run for defining handler function?
How do you find out which is the start up file in winrunner?
what is mean by release in quality center and who will perfom?
what is meant by build release note?what it contains?
The title of the window consists of date and time.What is the regular expression to recognize the window as unique?
How to know the on which OS and version the application is running through script in winrunner?