Question #178264 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/178264
Status: Answered => Open
Santhosh Motamarry is still having a problem:
Hi Raiman,
i have written your code given above.
if(len(p)>5 and len(p) <21):
if (re.match(test_num,p) and re.match(test_char,p) and
re.match(test_other,p)):
popup("ok")
else:
popup("invalid")
else:
popup("wrong length")
stopObserver()
In this code it is directly going for the second "IF" condition(i.e.,
password validation. it is not checking the length condition) even i am
giving the pwd with length 4 (PASSWORD GIVEN: Sa!@)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp