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 |
The extension of the Script file is .mts ok Whis is stand for mts?
Explain the use of test director software?
what is risk?
How to use winrunner?
WHAT IS THE MEANING OF AUT?
What is the purpose of gui map configuration?
please tell me how to explain the project by taking any project (like banking product), how to start explaing?what will be the order of priority e.g.,like purpose, modules, HLDs LLDs etc., in testing point of view (as a testengineer). rightnow i can't explain my project though i've done successfully..so plz help me ..
9 Answers HCL, IBM, ITC Infotech, Raisoni, TCS, Wipro,
Do we need start up file in win runner??if yes then why?and no then why?
In my application I was supposed to test two columns.The first column1 belongs to one module and the other column2 belongs to other module.The content in both the columns is same.I supposed to check whether the data present in the column1 is same as the one in column2. Each column contains number of rows.So checking each row manually is diificult.Is there any option available in WinRunner or QTP to check the column data.These two columns are available in Data Base Tables. One way is that I can just number of rows in each column so that I can get rows count of both the columns,but apart from that I was supposed to check whether the data is also same in both the tables. Can anybody suggest me how I can go about this.
i'm using WR 8.2 version to test a form developed using ORACLE10g. The problem i'm facing is, the form has number of edit objects in that only two objects are not able to recognize by WR while running the script. ( if i FIND that object in the GUI File it highlights the object but if i press SHOW button not able to recognize) can anyone tell me the reason for it??
can we run compiled-mod function in a compiled module function?if yes then fwd sample script?
Can anybody Explain me about the liasing with the developers,and a tester can make a test plan well?plz explain me as soon as possible ,thanx in advance.