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 the use of descriptive programming in QTP ? when we need to use DP? can we test the application completely with out useing DP?? please explan with example

2 Answers  


how to test Web application using QTP software

4 Answers   BITS,


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

0 Answers  


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1 Answers   scintel,


How to open a new test using quicktest professional?

0 Answers  






What is the condition or scenario that leads the use of object spy in qtp? (while recording we can get all the properties) then wat leads to use this?

2 Answers   iSoft,


Hi All, I have a problem with getting the value which is available in the table and it is not having any unique property. Please find the below table TopicName CreatedBy ViewCount ------------------------------------------------ XXXX Y 10 ZZZZ ZZ 0 AAAA BBB 3 In the Above table TopicNames are link and it is having an id but the remainig two columns(Created by and ViewCount) are static Web element values and they are not having any unique property. Now i want to get the values of Created BY and View count for each and every topic. Can anybody give me the solution for the above ASAP. If anybody didn't understand the above please free to send me a mail by that i can send you the snap shots and some more description. You can catch me at krishnachand.p@gmail.com

0 Answers  


What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?

4 Answers  


what are the Tools for version control?

3 Answers  


How is test case write?

0 Answers  


What is output value?

3 Answers   Ordain Solutions,


How to creating an output value using quicktest professional?

0 Answers  


Categories