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

What is quicktest professional window?

0 Answers  


when there is a task that gets repeated in multiple scripts what do you do in QTP?

2 Answers   Ordain Solutions,


I have a web table,in that web table in 3rd row 4th coloumn i have a link how to click it with descriptive programming? I have a webedit without entering any value how to calculate the size of that field? I have a DB table , how to find the 5th highest salary? write query.

2 Answers   3i Infotech,


terminal services client

0 Answers  


does qtp need record and playback in realtime. plz tell exactly wat happens

3 Answers   HP,






What is checkpoints for quicktest professional (qtp)?

0 Answers  


What are the differences between qtp and winrunner?

0 Answers  


In where you are keeping or maintaining shared object repository (file)in your appliction?

2 Answers   Inlogic,


What is the use of sendkeys.In which cases we Use this sendkey.Pls explain with example.

3 Answers   Cap Gemini,


Anybody can tell me what are the common roles and responsibilites of a Automation Test engineer

2 Answers   IBM,


Explain different types of checkpoints?

0 Answers  


hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?

0 Answers  


Categories