Userid validation

Asked by kavitha

I want to validate the Userid

i.It should accept only the Valid userid
ii.It should display the appropriate error message if its invalid.

Will it be possible in sikuli

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Prateek Sahu (prateek-sahu01apr) said :
#1

Yes,
You can copy the data to Clipboard which in text box using keyboard handling

First using sikuli click on that text box.

Then, CTRL+A
reg.type("a" , KEY_CTRL)

Then, copy it to Clipboard
reg.type("c",KEY_CTRL)

You can now fetch the copied value from clipboard and compare it with valid username

Can you help with this problem?

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

To post a message you must log in.