I am exploring the possibilities to speed up input when testing by taking advantage of macros.
The problem is when variable data has to be keyed into a field in the middle of the sequence. Reading the help-topics on WAIT I thought I could use the WaitForCursor-option, but it does not change the system mode to allow manual input.
The steps are as follows:
autECLSession.autECLPS.SendKeys "001" ‘Branch code is filled
autECLMacro "[edit-paste]" ‘Customer No is filled
autECLSession.autECLPS.SendKeys "[tab]" ‘cursor is sent to Currency field
MsgBox "Key base currency code"
‘ Now I want the macro execution to pause until I have entered a currency code
<<manual input of currency code. Upon completion, cursor automatically positions i the next field at 5,27>>
‘the cursor automatically has positioned in the Account Code field
‘Macro now to resume
Hope you can help with the missing part.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.
Your password has been sent to:firstname.lastname@example.org
To follow this tag...
Thanks! We'll email you when relevant content is added and updated.
Share this item with your network: