What is the difference between "call" and "callclose"



What is the difference between "call" and "callclose"..

Answer / jay prakash

You can use two types of call statements to invoke one test
from another:

A call statement invokes a test from within another test.

A call_close statement invokes a test from within a script
and closes the test when the test is completed.

The call statement has the following syntax:
call test_name ( [ parameter 1, parameter 2, ...parameter
n ] );

The call_close statement has the following syntax:
call_close test_name ( [ parameter 1, parameter 2, ...
parameter n ] );

The test_name is the name of the test to invoke. The
parameters are the parameters defined for the called test.

The parameters are optional. However, when one test calls
another, the call statement should designate a value for
each parameter defined for the called test. If no
parameters are defined for the called test, the call
statement must contain an empty set of parentheses.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More QTP Interview Questions

Please let know the scripts for counting number of repeated letters in the word. Note repeated letter should not be count agian. Ex: If "Hello" is my word... l is coming twice.. it should count once and print... secong 'l' should not count again..

5 Answers  


When The Low Level Recording is Used in QTP

17 Answers  


Can I record on netscape browser does it require any special settings ?

2 Answers  


There is a table with 4 columns and 10 rows, how to write the script to display the first column records using qtp? can anybody help me with script?

6 Answers   Oracle,


How to insert a check point to a image to check enable property in QTP?

1 Answers  


WHAT IS A TEST STRATEGY & WHAT IS THE DIFFERENCE BETWEEN TEST STRATEGY & TEST PLAN?

21 Answers   ABM, AZTEC, CTS, Infosys, Nihilent, Orange,


what is Entry Criteria and Exit Criteria?

2 Answers  


what is the command (keyboard command) to swith from expert view to key word view

3 Answers  


Can we directly automate test script according to requirements?

1 Answers  


how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp

13 Answers   College School Exams Tests, Mind Tree,


hi gavasker i want how to merg OR's in QTP 8.2 by QTP Plus

1 Answers  


Where we save all scripts in the QTP

5 Answers   Ordain Solutions, Sathya Technologies,


Categories