-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Description
I tried the following script to get to the context menu of Internet Explorer when you click the Tools Icon (Gear Like Icon).
This is the target i wanted to click.
However upon using Visual Automation Verify I noticed the context menu is not under the IE Window but instead it is under the Desktop Pane of the OS itself.
So I resorted to making my Window to '*' to catch all Windows.
Here's my code:
from ldtp import *
click ('*Internet Explorer', 'Tools')
selectmenuitem('*', 'Context;Internet Options')This is the version of IE im using:
For my script I get the following Error:
Traceback (most recent call last):
File "D:/Projects/SandBox/configurator/configurator/base/base.py", line 7, in <module>
selectmenuitem('*', 'Internet Options')
File "C:\Program Files (x86)\VMware\CobraWinLDTP\ldtp\client.py", line 72, in __call__
return self.__send(self.__name, args)
File "C:\Python27\lib\xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "C:\Program Files (x86)\VMware\CobraWinLDTP\ldtp\client.py", line 193, in request
raise LdtpExecutionError(e.faultString.encode('utf-8'))
ldtp.client_exception.LdtpExecutionError: Unable to find Object: Internet Options
Any suggestions?
Metadata
Metadata
Assignees
Labels
No labels