Low-Level
Recording:
In following scenarios we can prefer Low-level recording
1.
To record
operations which we perform on non-supported environment application objects
2.
To get exact
co-ordinates of application object in the script
Low-level recording mode is able to convert some of mouse
clicks and keyboard operations .
Script generates irrespective of object class like window and
winobject
Navigation:
Enter into standard recording mode
·
“Automation”
menu
·
Select
“Low-Level...
Tuesday, 9 September 2014
Analog Recording
Analog
Recording:
It records
mouse clicks, key board operations and mouse movements w.r.t screen area or
specified window co-ordinates based.
There are 2
types of options in Analog Recording:
Record
relative to screen:
When we
select this option QTP records our operations w. r. to desktop co-ordinates
based
Script:
Desktop.RunAnalog
“Track1”
During
runtime QTP identify same position on desktop and perform operations
irrespective of application objects availability
Note: this
option can be preferred to record operations which we perform...
Standard Recording
Standard Recording:
It records mouse clicks and key board operations
which we perform on supported environment applications
For each operation there will be individual
steps generate in the script
Script will generate w. r. to class of the
object
Navigation: for standard recording:
Open New Test in QTP
Click on “Record” icon
Perform operations on AUT, which operations do
you want to convert into automation script
Stop recording
Ex: create Basic script to perform multiply operation
on calculator application
Step 1: activate “Calculator”...
Recordings in QTP
By default QTP able to
convert our business transactions which we perform on AUT into automation
script is called Recording
There are 3 types of
recording modes:
Standard
Recording\context sensitive recording
Analog recording
Low-level recording
...
Testing process in QTP
Testing
process in QTP:
To automate functionality testing with help of
QTP we use following process
Plan the Test:
Analyze automation test scenario which you want
to test
Prepare
Tool for Recording:
In this phase we should open QTP with required
Add-ins based on application environment in order to support
Specify on which application operations QTP need
to convert into automation script using “Record & Run Settings”
Navigation:
“Automation” menu
Select “Record & Run Settings”
Or
Click on “Record” icon in a New Test
In
“Record...
Subscribe to:
Posts (Atom)