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 advantages of Object Repository?

575


what is the advantages and disadvantages of using functions instead of re usable actions

1418


you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

1488


how to test Web application using QTP software

1555


Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!

1742






please any one can explain the keyword driven framework. with gmail example.

1613


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1349


Whats the realtime QTP testing process

1984


What is the basic concept of quicktest professional?

524


Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?

1387


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1385


What are the Application Functions available in QTP?

1466


how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

1421


How you debug your script?

556


What is action? How many types of actions are there in qtp?

607