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 iteration? How it is related to Test Results in QTP

3 Answers   Virinchi Technologies,


QTP WAS WORKING FINE BUT TODAY I GOT THE ERROR , THE MEMORY COULD NOT BE READ -REFERENCE MEMORY ,pPLEASE REPLY URGENT WHAT IS THE SOLUTON

1 Answers  


What is difference between web object and web items

2 Answers   Patni,


I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?

12 Answers  


Can we check environment variable value without existing of environment variable

2 Answers   NIIT,






Why to use descriptive programming?

0 Answers  


How can I find out whether a word in a string is existed or not for example "QTP IS A POWERFULL TOOL FOR AUTOMATION" How can i find out whether "powerfull" is existed in the above string or not Could anyone answer it?

7 Answers   Livetek,


How we test the logo or images in the web page using QTP? For example take google page, they change their logo for new year,christmas etc..How we test that? Plz answer this question... Thanks in advance..

2 Answers  


How comfortable are you in VB scripting?

2 Answers  


How you perform smoke and sanity testing using qtp?

1 Answers   Tech Mahindra,


w is active screen

2 Answers   GCI, Wipro,


difference between do while and do until ?

3 Answers   HCL,


Categories