Steps:
Declaring the two variables
Create an object for using
quicktest.application.
Invoke the qtp by using launch
method
Open the desired test by using open
method
Assign the qtptest to an variable
Execute the test by using run
method
Close the test by using close
method
Close the qtp by using quit method
Ans:
Dim qtapp
Dim
qttest
Set
qtapp= createobject (“quicktest.application”)
Qtapp.launch
Qtapp.visible=
true
Qtapp.open”d:\aom1”,
true
Set
qttest=qtapp.test
Qttest.run
Qttest.close
Qtapp.quit
SUBSCRIBE YOUTUBE CHANNEL FOR LATEST VIDEOS
https://www.youtube.com/channel/UC1EmncBu2maDiHNMNNqxw9g
SUBSCRIBE YOUTUBE CHANNEL FOR LATEST VIDEOS
https://www.youtube.com/channel/UC1EmncBu2maDiHNMNNqxw9g
No comments:
Post a Comment