ClickDelay for Flex app

Asked by WhatEver on 2017-08-11

Hello.
I need to test a couple of flex games and I wanted to do it with use of Sikuli.
Though I have a following problem:
Click on the button goes off only when ClickDelay = 0.20 or more but if decrease that value, then the click goes off less often.
For instance, for value ClickDelay = 0.05 I can visually see the click but nothing happens in the app itself.
I can use 0.20, it's not big of a deal but this is not a trustworthy way of testing.
I'm wondering whether I can somehow get a more reliable result? (something like "implicitly click delay")
Or maybe you can suggest some other way to do the testing?
Thanks a lot.

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2017-08-11
Last reply:
2017-08-11
masuo (masuo-ohara) said : #1

I think to make your own function instead of click() is possible.

def myClick(psmrl):
    Settings.ClickDelay = 0.20
    click(psmrl)

myClick("image.png")

Can you help with this problem?

Provide an answer of your own, or ask WhatEver for more information if necessary.

To post a message you must log in.