is it possible to change the date format like MM/DD/YY
into DD/MM?YY through script in QTP
Answer Posted / guru
DD = Day(now)
If Len(DD) = 1 then
DD = "0" & DD
End If
MM = Month(now)
If Len(MM) = 1 then
MM = "0" & MM
End If
YY = Year(now)
YY = right(YY,2)
Date_Format = DD & "/" & MM & "?" & YY
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
Explain actions in qtp ?
What is the default object synchronization timeout in qtp?
How do we analyze the checkpoint results?
How did you use regular expressions in QTP and also in WR?
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
How to check bitmap output value?
What is a programmatic description?
What is the syntax for how to call one script from another?
Which environments are supported by hp qtp?
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
What do you mean by checkpoints in qtp?
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
Explain the difference between check point and output value?