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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of object repositories? Which one is you are using?

630


what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent

1338


Explain step generator in qtp?

647


in a web page How to check and display a particular word from a paragraph?

2039


What is the process of synchronizing qtp and aut?

568






Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

1300


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

1523


diff between qtp versions from 8.5

1567


What is CMMP and CMMH?

700


What are the flaws in water fall model and how to overcome it?

560


what is review

1610


what is supply chain management?

2089


Whats the realtime QTP testing process

1991


How to carry out bit map check points in QTP

1765


what could go wrong with test automation?

1507