How can we add regular expression for date field
(dd/mon/yyyy)?
Answers were Sorted based on User's Feedback
Answer / vengi
Open Object Repository
and selsct value ,
click on constant value,
it displays on edit box with Regular Expressionchecbox,
select check point
and enter values
For example: for data field(DD/MM/YYYY)
RE:[0-3][0-9]/[0-1][0-2]/[0-2][0-9][0-9][0-9]
| Is This Answer Correct ? | 11 Yes | 11 No |
Answer / samiran sil
"sDate" is the normal date-
sDay=Datepart("d",sDate)
sMonth = Datepart("m",sDate)
sYear = Datepart("yyyy",sDate)
If Len(sDay) = 1 Then
sDay = "0" & sDay
End If
If Len(sMonth) = 1 Then
sMonth = "0" & sMonth
End If
sDate = sMonth & "/" & sDay & "/" & sYear
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / shivani
for dd/mon/yyyy format--> [0-3][0-9]/[a-z]|[A-Z]/[a-z]|[A-
Z]/[a-z]|[A-Z]/[0-2][0-9][0-9][0-9]
| Is This Answer Correct ? | 8 Yes | 13 No |
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
How to match two doc files using qtp requirment is:- each and every single word of a doc file should be matched with the another doc file. can someone send me the code.
1.what is the difference between childobjects and child items in qtp? 2.what is difference between a class and function? 3.can u convert ustimings to indian timings using vbscript? 4.i have scripts in one machine.can i run those scripts in another machine.how?
2 Answers Genpact, Infosys, Symantic Space, TCS,
How many ways is to parameterize the value?
How can we fill data in a text box without recording using object spy. Can you please provide the steps...
What are the Features & Benefits of Quick Test Pro ?
hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company
images are dynamically changes how to compare two images with out using the bitmap
How can the functions inside DLL be called from QTP? i mean How can i use those functions(Inside DLL) in QTP
3. Anyone pls tell me as many points as possible for this question? what r the things to take into consideration before automating an application like; a). Identify whether the tool supports the appln or not. b). When there is lot of retesting and regression testing. c). ROI. d). When there is a need for running same script for multiple datas, etc. e). ---- f). --------- Pls give me more points.
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
is it possible to check the text displayed in the tool tip using QTP? if so, how?