> Lock & Unlock Commands
In a LoadTest Application where focus issues are critical to
the success of the LoadTest scenario, eValid has a special
command available that can be added to an existing script which
locks the commands enclosed within the Lock & Unlock commands and
prohibits any other application from stealing focus unless the
unlock command has been issued.
Can be applied to a Load Test scenario which deals with online
transactions and which requires focus to be locked to the certain
eValid performing the task.
e.g.
# Navigates to the Yahoo! Mail Page
InitLink "http://mail.yahoo.com"
# Example Use of these commands
# From this point onward focus will not be taken away from
# the specific window until a unlock command is read.
Lock
InputValue 100 "TEXT" "UserLogin" "eValid" "" ""
InputValue 110 "TEXT" "PassWord" "94107" "" ""
Unlock
In the example given, the lock which is issued is only to take effect
when a field is required to be accomplished and unlocked as soon as
the appropriate fields have been filled out. This eliminates the
possibility of eValid not being able to completely fill out the form
due to other applications stealing focus and in turn inserting the
given values in the wrong window.
|