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   interview questions urls   External Links  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 to write regular expression for Date field?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how to write regular expression for Date field?
Answer
# 1
For example:  03/12/07
For that you have to write like,
[0-9][0-9]/[0-9][0-9]/[0-9][0-9]
 
Is This Answer Correct ?    0 Yes 2 No
Angel
 
  Re: how to write regular expression for Date field?
Answer
# 2
for example date formate is dd/mm/yy
than [0-3][0-9]/[0-1][0-2]/[0-9][0-9]
 
Is This Answer Correct ?    0 Yes 0 No
A Kiran Kumar
 
 
 
  Re: how to write regular expression for Date field?
Answer
# 3
For example date format is dd/mm/yy

than [0-3][0-9]/[0-1][0-9]/[0-9][0-9]
 
Is This Answer Correct ?    0 Yes 0 No
Ashok
 
  Re: how to write regular expression for Date field?
Answer
# 4
If the date field is in the following format

'mm/dd/yy'
[0-1][0-9]/[0-3][0-9]/200[0-9]
 
Is This Answer Correct ?    0 Yes 0 No
Satyanarayana
 
  Re: how to write regular expression for Date field?
Answer
# 5
dd-mm-yy format then it will be

[[0-3][0-9]]&&[^3[2-9]^00]-[[01][0-9]]&&[^1[3-9]^00]-\d{2}

please rectify me if you find it to be incorrect or with
some minor error, as i'm not completely sure about the part
after '&&', i mean, the error is not in the logic but in the
syntax of using the AND and OR operators.
 
Is This Answer Correct ?    0 Yes 0 No
Biswarup
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
what is active screen,keyboard view? BirlaSoft2
what is the difference between image and bitmap check point  3
What type of problems one will face with QTP , if too many browsers are opened at a time?  2
What expansion of "MIC" in MICPASS (TEST ReportPAGE) TCS4
How to retrive data from a data table which is in 3rd row,4th column and place it in main script..like retrive name,date from data table..write script for this. Thatavarti-Technologies9
If you have given 1000 manual test scripts, what test you will do? and how?  2
explian about the qtp frame work? where u can use it in your project?  1
Hi All As per the requirements i have to copy the data from word document to excel sheet using the QTP Note : Data in word document is in tabular format i.e there is 80 rows and 5 columns table Can any body provide code for this ? Thanks in advance Regards Test123Test  1
How to load the object repository at run time? TCS5
hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me  2
hi radhaka plz tell me clearly to handle the earrors with out isng recovery scnerio this is sreenivas from delhi  2
What are the Features & Benefits of Quick Test Pro (QTP)..?  4
hi, i was adding the two numbers in qtp scripts but i didn't get the answer. see my below script, i dont know wht is the problem. i passed the value a=3 b= 2, i got the ans 32 instead of 5. i thing the problem is to be c = a+b my mail id karthis4u@gmail.com Dim a, b, c a = inputbox("enter the a ") b = inputbox("enter the b ") c = a + b print c  3
what is standalone database Wipro1
I have action1, action2, action3 r there.my query is while executing if i get any error in action1 i want exit from here itself, otherwise execute action2, if i get any error in action2 i want exit from hereitself, like this,what is the method for this? AZTEC4
Is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?  1
What is the "Release Notes", what it cosists? Key components in Release Notes ?  2
does test plan is in test strategy or test strategy is in test plan Tanla-Solutions2
can u give one scenario for for PopWindow Exception & write Code for that? Cap-Gemini1
I dont know how to configure non standard objects to standard objects in QTP9.2 can i have someone explain me in breify? Wipro2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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