sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #01926
[Question #151077]: nearby example for windows 7
New question #151077 on Sikuli:
https://answers.launchpad.net/sikuli/+question/151077
I am getting the following error:
[error] Stopped [error] An error occurs at line 13 [error] Error message: Traceback (most recent call last): File "C:\Users\rwolf\AppData\Local\Temp\sikuli-tmp4509212503442621861.py", line 13, in mTR = mTL.nearby(200).right().find("1301501982214.png") AttributeError: 'int' object has no attribute 'nearby'
The eample I am trying to build is based on the turorial at http://sikuli.org/docx/tutorials/resize/resize.html
I am trying to use hover activated menus in SharePoint list items.
Here is my test script.
setShowActions(True)
myApp=App("Firefox")
myApp.focus()
type(" ", KEY_ALT) # Open windows sizing control
wait(1)
type("x") # Maximize the window
type("l", KEY_CTRL) # switch to address field
paste("http://www.letscollaborate.co.za/Resource-Centre/ResearchDocuments/Forms/AllItems.aspx")
type(""+Key.ENTER)
mTL=hover(XXXXX PICTURE OF ONE OF THE LIST ITEMS XXXXXXX )
#print mTL; hover(mTL)
mTR = mTL.nearby(200).right().find(XXXX PICTURE OF THE BLUE DOWN ARROW that APPEARS on HOVER XXXX )
I want to develop the script further so that I can navigate to and click the "Download a copy" menu item.
I was expecting the nearby method to work in a similar way to the example.
Any suggestions?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.