Hello mamatha.shivaprasad,
In order to execute keyboard actions properly it is important first to make sure, during the running of the test, that the focus will be on the window you wish to execute the keyboard commands upon it – You can use similar command as the following one (Make sure to specify your exact objects in it instead of what I’ve wrote):
Application(“Application name”).View(“View name”).Object(“Some Object name”).Exist
And these are the commands to execute the keyboard actions you’ve asked:
ZAP.Keyboard.KeyDown ZAP.Keys.AltLeft
ZAP.Keyboard.KeyPress ZAP.Keys.Tab
ZAP.Keyboard.KeyUp ZAP.Keys.AltLeft
Hope this makes sense.
Thanks,
ZAPTEST Team