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
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
What is the pros and cons between QTP and Rational Robot
How to attach a file to TD?
Why bpt?
Write a script to verify font style and color of a windows object using descriptive programming
How you know that a test case is a regression test case
what is profile tool?
How many types of recording facility are available in quicktest professional (qtp)?
What is the difference between per-action and shared?
What are the differences between quicktest professional (qtp) and winrunner?
What is the use of Debug Viewer?
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
explain keyword driven framework with banking domain?
Explain the concept of object repository and how QTP recognizes objects?