How to call script1 into script2?

Answer Posted / rangu

1. Make script1 as External action and save the test.
2. Call script1 in script2 using Call to Copy of Action or
Call to Existing Action.
We can call the External Action in any action in any test

Note:- If we use Reusable Action, We can use this action
within the test but not other test.
Synatx:-
Run Action "Action Name[Reusable Action]",
Iteration,Parameters

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the benefits of quick test pro(qtp)?

781


How to handle dynamic objects in quicktest professional?

734


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

1960


what is error and fault in terms of software quality?

1686


what is test scheduleling?

2273


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

2467


How to save your test using quicktest professional?

770


What are the Disadvantages of shared object repository?

814


can any body give the banking domain concepts/links

3849


how to do the batch testing in test director using manual testing procedure?

2030


I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object

2644


i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

1643


what is actually contain test report? can anybody post the test report

1723


What is the use of Debug Viewer?

1689


Explain the features of quick test pro(qtp)?

782