← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #187279]: Right Click Context Menu In Tree View Invisible

 

Question #187279 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/187279

    Status: Answered => Open

Aditya Kappagantula is still having a problem:
Hi RaiMan,

What I wanted is:

I have a software which takes input and gives output.
I need to load folder as an input. 
Then I need to delete the output and again give one more input.

I want this process to repeat for 100 times.

Now, This software has a UI where contains TREE. I need to rightClick on a node in the tree and select Delete option to delete the outputs.
Again right click on some other node and select import folder. 

I have taken images of the rightClick context menu and used the images
in click and rightClick commands.

Though I see that clicks are happening on the software, the clicked node
in the tree doesn't get selected.

I am posting my code below for your reference:

scripts = ["script1", "script2","script3", "script4","script5"]
for script in scripts:
    click("Folder-1.png")
    rightClick("Folder.png")
    wait(5)
    click("Delete.png")
    click("5Input-1.png")
    rightClick("5input.png")
    click("ImportInput.png")

Please let me know what can I do in this context.

Thank you,
Aditya.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.