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
Describe synchronization point.
Is the qtp course will help to create a virtual object?
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
How to test results for qtp ?
How will you find the current time of the remote machine using QTP script?
Explain in brief about the quicktest professional (qtp) automation object model?
what could go wrong with test automation?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
hi nani my doubt is how does qtp process metrix related to software process.
give me an example where u used good judgement and logic in solving a problem
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
what is command for executing files?
Explain types of descriptive programming?
Is it possible to call from one action to another action in qtp?
What is difference between shared and local object repository?