How can we add regular expression for date field
(dd/mon/yyyy)?
Answer Posted / 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 |
Post New Answer View All Answers
How to check bitmap output value?
What is the new version of qtp which is recently released in the market?
what is the difference between data driver & data driven and driver script?
What is expert view in qtp?
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
How qtp recognizes the object?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
Explain hybrid framework with advantages and disadvantages?
Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
What is qtpro? What is a quick test professional?
How will you check a web application for broken links using qtp?
What are the differences between quicktest professional (qtp) and winrunner?
Tell me about qtp?
What is difference between design time and run time data table?