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
How QTP identify the system time that's changes every seconds?
Give me some real time point of way where exactly we can conduct audits?
how to test Web application using QTP software
Explain different recording modes?
write the vb script for call to new action in qtp?
Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points
How to explain a banking project in interview as a test engineer???
what r the main attributes of test automation?
Which functionalities of QTP used in banking project?
Tell me about your project? please help me how to tell about insurance project
explain keyword driven framework with banking domain?
What Folder Structure following in Keyword Driven Frame work?
How qtp recognizes the object?
What does it mean when a check point is in red color? What do you do?
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.