Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

0
How to clear text field value that already contains data in Sikuli?

Open 1 Answers 203 Views
0 1
I am working on a desktop application and, I am using Sikuli. I am trying to clear text value that already contains some text.

1 Answer

0
0
Generally, you have to simulate with Sikuli, what you are doing manually (sikuli does not have any features to talk with an application directly or access GUI elements like Selenium).

something like:

click("the-GUI-text-field.png")

type("a", KeyModifier.CTRL) # select all text

type(Key.BACKSPACE) # delete selection

normally does the job.
answered by (136 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...