What is T_Exit and T_return?

Answers were Sorted based on User's Feedback



What is T_Exit and T_return?..

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

What is T_Exit and T_return?..

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

What is T_Exit and T_return?..

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

What is T_Exit and T_return?..

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

Post New Answer

More WinRunner Interview Questions

For what type of applications Rapid Test Script Wizard available?

3 Answers   Synergy,


Is Winrunner 7.01 supports .NET applications?

3 Answers   Second Foundation,


how to invoke the window based application in win runner

1 Answers   Satyam,


what is meant by CMMI standards

5 Answers   iGate,


How do you find out which is the start up file in winrunner?

0 Answers  






i was getinng problem if i use the same test-data(data table) to script1 and script2. why it is so? and how it can be resolved?

1 Answers  


What r the recording methods in winrunner and wht r the uses and where do we use and how do we use? pls dont mention recording modes(context sensitive and analong)

2 Answers  


where does WR records the information about objects in AUT?

1 Answers  


what is automation life cycle?

2 Answers   EDS,


Is it Winrunner supports All web based applications?If supports how extention?

5 Answers   Relq,


Explain data parameterization in winrunner?

0 Answers  


what happens when the script is executed in verify mode

3 Answers  


Categories