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 use parameterization in qtp?
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.
what type of framework u r using in ur organization
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
What is a quick test professional?
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
What is action? How many types of actions are there in qtp?
what is the frame work in J-meter?
What are the ordinal identifiers in web page?
How does quicktest professional identifies the object in the application?
They asked by using qtp recording writing scripting
By using QTP can we record any log files written by the application which is in execution?