WinRunner - How to Use regular expression in password box

Hi,
please tell me how can we use regular expression for password field.
e.g i want to check the pasword whether its taking numeric or charcter in Uppercase or Lowercase.and the range...
how to compre text which is there in password field....is there any function is there for that..

please help me...

Questions by kamakhi.panda   answers by kamakhi.panda

Showing Answers 1 - 9 of 9 Answers

notty1982

  • Dec 6th, 2007
 

Usually the range in regular expression should be defined in []. To check for password the it should be defined as [a-z][A-Z][0-9].*

Correct me if am wrong

  Was this answer useful?  Yes

I think that Regular EExpressions are used to validate the testcase depending upon the condition.i.e if PWD is accepting lower case, upper case, numeric
Then depending on the condition we are using REGULAR EXPRESSION to validate the particular object, For that [a-z][A-Z][0-9]*

If we wanna know the i/p's, we hve to go for Data drivien testing.
EX:Dynamic submission

x=create_input_dialog("Enter the password");
password_edit_set("password",password_encrypt(x) );

Give different i/p's & check the o/p's.Then u wll come to know the exact i/p's.


But no module is given with out the condition's.i.e(BVA,ECP).

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions