Explaining the Lock and Unlock commands in eValid

Discussion of the technology underlying the eValid solution.

Explaining the Lock and Unlock commands in eValid

Postby PeterC » Mon Jul 19, 2021 10:07 am

Morning.

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.
PeterC
 
Posts: 1
Joined: Mon Jul 19, 2021 10:01 am

Re: Explaining the Lock and Unlock commands in eValid

Postby eValid » Tue Jul 20, 2021 7:59 am

PeterC wrote:Morning.

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.

For example:

# 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.


-- eValid Support
eValid
 
Posts: 2159
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Technology

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons