how to write regular expression for Date field?
Answer Posted / raghu
To apply Regular expression for Date we have to split months
1) [0][1-9] because it accepts 01,02,...09 as months
2) [1][1-2] and this is for 10th,11th, 12th months
Now The Regular expression for whole date format is as follows
Example MM/DD/YY
[0][1-9][/][0-9][0-9][/][0-9][0-9] for 1 to 9 months
[1][1-2][/][0-9][0-9][/][0-9][0-9] for 10 to 12 months
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
What is a recovery scenario?
What are the different ways to invoke an application using QTP?
Explain the concept of object repository and how quicktest professional recognises objects?
What do you to script when objects are removed from application?
What is Distributed testing? How does UFT support it?
Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
how to idetfy which test cases are automated?who will deside that plz tell me
What is the use of ordinal identifier in qtp?
write script for bitmap image?
How do you know the location Id of an object if you know its index id?
What is system testing and what are the different types of tests you perform in system testing?
Did QTP prove efficient for your project? Yes or No, explain?
What is action?