You can use two types of call statements to invoke one test from another:
The call statement has the following syntax:
call test_name ( [ parameter1, parameter2, ...parametern ] );
The call_close statement has the following syntax:
call_close test_name ( [ parameter1, parameter2, ... parametern ] );
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.
Any called test must be stored in a folder specified in the search path, or else be called with the full pathname enclosed within quotation marks.
call "w:\tests\my_test" ();
While running a called test, you can pause execution and view the current call chain.
WinRunner Related Interview Questions
|SILK TEST Interview Questions||LoadRunner Interview Questions|
|WinRunner Interview Questions||HTML Interview Questions|
|QTP Interview Questions||Manual Testing Interview Questions|
|OpenStack Interview Questions||Automation Testing Interview Questions|
|API testing Interview Questions||Rational robot Interview Questions|
|Selenium IDE Interview Questions||Performance Testing Interview Questions|
|Test Director Interview Questions|
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.