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 |
A web Page has 2 frames. Find out the number of weblist items in the second frame of the page.
how u will evaluate the tool for test automation?
what are the disadvantages of qtp? can linux support qtp9.2? how could get web address throu vbscript?
hi friends can any one provide me the project in qtp because i have to attend to interview within one week atleast you provide the website address which provide the qtp projects
How to export data in excelsheet to qtp without using datatable.
How i can use and create Library functions in QTP and what is the proces .
1>why parameterization is necessary in qtp? 2>if we give constant value then what problem?
What the genaric function to connect Sql Server using Sql Server Authentication and Windows Authentication
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
The interviewer asked me when u recorded one application.object repository properties are saved with .tsr extention. in qtp expert view wherever mouse is there that snapshot displayed in active screen but some recored script lines are not displyed in actives screen y?
Why do we use breakpoints in QTP?
How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.