Wednesday, 16 September 2015

HOW TO LAUNCH QTP, OPEN A TEST, RUN IT AND CLOSE QTP



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

No comments:

Post a Comment