ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
How do u write a regular expression for date (dd/mm/yyyy) 
field?
 Question Submitted By :: Arpillai
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do u write a regular expression for date (dd/mm/yyyy) field?
Answer
# 1
To write regular expression for dd/mm/yyyy format
[0-3][0-9][/](([0][0-9])|([1][0-2]))[/][0-9]{4}
 
Is This Answer Correct ?    3 Yes 5 No
Satish Yadav
 
  Re: How do u write a regular expression for date (dd/mm/yyyy) field?
Answer
# 2
The above regular expression(Ans:1) will fail as it allows 
day between 31 to 40 as well.

The following regular expression takes care of all cases 
and validate the format (dd/mm/yyyy)  

(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[012])/\d{4}
 
Is This Answer Correct ?    4 Yes 4 No
Amarendra Kothuru
 
 
 
  Re: How do u write a regular expression for date (dd/mm/yyyy) field?
Answer
# 3
[0-9]+//[0-9]+//[0-9]+
use this buddy...
 
Is This Answer Correct ?    0 Yes 0 No
Sk
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How can we test an XML using QTP? I have been to an interview, where they have given me an XML which had 15 values and they have given those values on a separate page. They asked me to write a QTP script to check the XML is having those particular 15 values.  2
How to create a Runtime property for an object in QTP?  4
Explain about the Test Fusion Report of QTP ? Ordain-Solutions1
What is difference between QC and TD?  8
What is the exact difference bet function and action in QTP Anybody can explain it in detail..Thanks in advance.. Wipro9
difference between GetRoProperry and GetToProperty.and where we've to use exactly those properties Wipro3
how can we retrieve ten rows from the data table using loop concept?  3
can we enable smart identification for test object  3
what is vss and cvs what is main difference b/w these two  2
what is Compile Module in QTP? what exactly it contains Functions or Actions?  1
What is the difference between CVS and VSS? Are you store QTP SCRIPT In VSS OR CVS? Where you store QTP Script? Ordain-Solutions1
In a web site, Protocal has been changed http: to https: what is your approach?  2
What is FRAME WORK? How many Frameworks can QTP supports?  2
How to change the screen name while running the test. TCS3
regular expression Wipro2
What is the difference between QTP 8.2 and QTP 9.2  1
how to insert QTP to display errors and other description in the test results instead of halting execution by throwing error in the mid of executin due to an error (for object not found)? Ordain-Solutions1
take one exmple and write on that discriptive programe in qtp?  1
can we test an windows application using qtp  1
In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?  5
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com