Drag and Drop random region
Asked by
xyz_User
Would appreciate if someone can show me how drag and drop would work via random screen regions.
I have it specify manual coords to do it - And it works, but how can I make so it's completely random and not dependent on manual coords that I provide, this is what I have:
def randomDrag1():
dragDrop(
def randomDrag2():
dragDrop(
def randomDrag3():
dragDrop(
def randomChoice():
all3Locations = [randomDrag1, randomDrag2, randomDrag3]
random.
randomChoice()
Thank you!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
To post a message you must log in.