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

How to force wr to learn the sub-items on a menu?

0 Answers  


How to check the Back Ground Color of screen in Winrunner?

3 Answers   3i Infotech, Satyam,


How to get the system date and time in winrunner?

2 Answers   Accenture,


Which function to use to compare the application date with system date?

0 Answers  


How should we write and execute a user define function using WinRunner.

0 Answers  






types of testing? and what is mean bvt and bat ? differ btwn bvt and bat pls can anybody post the answer

4 Answers  


how to download jmeter from net,is it open source

1 Answers  


how many options are provided in WR login screen

1 Answers  


How do you suppress a regular expression?

0 Answers  


what is the use of generate script that is avaliable 3 places(file settings, tools, object identification)

0 Answers  


global sheet and external excel sheet how it will work

0 Answers  


how can we upload manul test caseses in to test director

1 Answers  


Categories