Hello aqu,
The 2 issues you’ve mentioned may be because the objects are not being recognized properly during Runtime.
Please try to use the following code (Change the “object” object to the one you wish to execute the code upon):
‘Click on the object
Application(“Application”).View(“View”).Object(“object”).Click
‘Click key Home keyboard key
Application(“Application”).KeyPress 36
‘Press Shift keyboard key
Application(“Application”).KeyDown 16
‘Click the End keyboard key
Application(“Application”).KeyPress 35
‘Release Shift keyboard key
Application(“Application”).KeyUp 16
‘Click key Backspace keyboard key
Application(“Application”).KeyPress 8
Please note if the above code will not work there is a possibility that you’ll have to redefine the objects in ZAPTEST Object Repository.
Please let me know if the above helped.
Thanks,
ZAPTEST Team