← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #186195]: Using Region.text() to get text in dragDrop selection

 

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

    Status: Answered => Open

Yiping Wang is still having a problem:
Many thanks for your detailed reply! It's fortunate that my
dragDropRegion is respectively easy to get getX() & getY() because the
pic1 & pic2 are with fixed respective positions on the screen.
Nevertheless, I am really happy to see your helper function beause it
help me learn more new skills.

I tried both ways you suggested. Although I like text() better, it does
show bug (can't have space within strings properly). Therefore, I decide
to use wait() and try to get the most appropriate timing as possible.

Before I stop asking questions, may I know the difference between wait()
and sleep()? Thank you very much!

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