How do u write a regular expression for date (dd/mm/yyyy)
field ?

Answer Posted / chandradeep

(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d

0 - selects '0' Literally
[1-9]- selects the range between 1 to 9
[012] - selects either 0 or 1 or 2
[0-9] - selects the range between 0 to 9

[- / .] - selects either - or / or .
(19/20) - selects either 19 or 20 literally

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

1859


I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?

1483


how can i call function (which has link with excell sheet at a remote location) within another function

1656


i have asked earlier only one question how to test web application using QTp plz send me the answer quickly

1752


write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading

1590






How do you check ticket cost and ticket number in flight application?

676


How to explain a banking project in interview as a test engineer???

2692


what type of run time errors you get while you ar edoing rpg program?

1601


Explain the concept of how quicktest professional (qtp) identifies object?

666


If object is not recognized by qtp but the object is standard object what is your approach?

696


Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation

1690


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

3808


how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0

1573


How many types of object repository in qtp?

709


What is the file extension of the code file and object repository file in QTP?

699