qtp script for recording and running the application.need
script for short cut keys like f3,f4 etc.how to write
script for recording?
Answer Posted / neeraj
Suppose steps in application are as below
Steps:
1: Click on add ( ctrl+a)
2: enter "hi"
3: click on save (ctrl+s)
use sendkey concept
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.sendkeys "^a"
objShell.sendkeys "hi"
objShell.sendkeys "^s"
For more information refer below: http://abcinqtp.blogspot.com/2011/02/how-to-use-sendkey-in-qtp-script.html
set objShell = nothing
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How to define array in qtp?
how to do the batch testing in test director using manual testing procedure?
What is the quicktest professional (qtp) testing process?
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
Which recording modes need more memory?
How can get count of list box?
What is the meaning Work bench?
What are the different types of checkpoints?
What is object spy in quicktest professional?
what is the difference between data driver & data driven and driver script?
What is the expert view?
Can I change properties of a test object?
Explain the difference between check point and output value?
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
Explain quicktest professional testing process?