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 |
If the data is stored in Excel sheet(2nd and 3rd), how to access it for Data Driven test; Ex: table = "c:\demo.xls" How to access 2nd or 3rd sheet data id demo.xls flie.
What is the purpose of Wdiff utility?
Define parameterizing?
which method are using to obtain runtime property of an object
by useing qtp where the maximum people feeling difficult
How does winrunner Recognize Objects in an application?
How to close the winrunner window from the script itself?what is the code?
we have three windows with title(logical description),India.com,Government of India.com,India Inc.com.All three windows have similar properties and object.A test script has to be run on all these windows.what changes will u make in GUI or script so that the script runs succesfully on all these three windows with the least alteration required? Please explain clearly with steps.
what is TSL in winrunner
kindly provide me test cases on browser and calculator.Its very urgent.
What is the Winrunner Framework in your organisation?
What is contained in the test scripts?