Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Suppose there is a global variable called Counter.And there is a user defined function called my_function.which does not take in any parameters. How can a test engineer utilize Counter inside my_function body?

1 Answers   FCG,


How to do the "Exception Handling" in Winrunner ..... Give Me detail Practical approach....(Object Exception,TSL exception & Pop - up also).......?

1 Answers   CTS, SunGard,


how will u perform bug tracking using winrunner?

1 Answers   MBT,


what is the function key to toggle a breakpoint

1 Answers  


What we have to do if winrunner is not able recognize an object even if we have mapped the object with standard windows object used by winrunner using wirtual object wizard?

3 Answers  


1,You have scripts in Qtp8.2 and some scripts 9.0 ..how to handle ?

2 Answers   Ness Technologies,


In an Testing Interview, in winrunner the following question asked. what is the use of compile module? how u r implemnted these compile modules in ur project. give any TSL script of compile module?

1 Answers  


what is the use of _set_window in winrunner?

11 Answers   Wipro,


how to test the websites using winrunner iam pactising in winrunner version 7.0,how to get new trail version of winnrunner?

1 Answers  


how can we make use of virtual object wizard to identify similar object can u explain with an example

2 Answers  


What is framework? If u dont have framework how you manage your automation?

1 Answers  


what is the purpose of '*', '&','.' symbols in Regular Expressions (winrunner)?

1 Answers  


Categories