GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Testing Tools  >  Winrunner
Go To First  |  Previous Question  |  Next Question 
 Winrunner  |  Question 453 of 464    Print  
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...



  
Total Answers and Comments: 3 Last Update: January 13, 2008     Asked by: kamakhi.panda 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 06, 2007 09:37:45   #1  
notty1982 Member Since: February 2007   Contribution: 9    

RE: WinRunner - How to Use regular expression in password box
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

 
Is this answer useful? Yes | No
December 18, 2007 22:53:24   #2  
kamakhi.panda Member Since: October 2007   Contribution: 6    

RE: WinRunner - How to Use regular expression in password box
Hi..
Thanks for reply..But it will work in text field not in password filed...
Hope u got my point..

 
Is this answer useful? Yes | No
January 13, 2008 13:15:08   #3  
navien.kumar Member Since: January 2008   Contribution: 3    

RE: WinRunner - How to Use regular expression in password box
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).

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape