Please explain the Lock and Unlock pair of commands in eValid?
Also, give me an example on how to use these commands?
Thanks in Advance.
Thanks for asking about the Lock and Unlock commands PeterC.
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.
This 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.
# Navigates to the Yahoo! Mail Page
# 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.
InputValue 100 "TEXT" "UserLogin" "eValid" "" ""
InputValue 110 "TEXT" "PassWord" "94107" "" ""
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.
-- eValid Support