New question #178264 on Sikuli:
https://answers.launchpad.net/sikuli/+question/178264

Hi Raiman,

I need script to check two conditions at a time.

eg: cond 1: password validation cond 2: pasword leng 

i have answers for two conditions but i am unable to check both conditions at a 
time.

i have tried like this.


if(re.match(test_num,p)and re.match(test_char,p)and re.match(test_other,p)):
        
                if(len(p)<6 or len(20)):
                        popup("ok")
                else:
                        popup("length im sufficient")   
                
                stopObserver()
        else:
                popup("invalid")
                stopObserver()


-- 
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

Reply via email to