example-date format is 01-jan-09 in QTP.How to convert this
format to 01-01-09?
Answer Posted / kiran kallepu
please find below code
givenDate = "01-jan-09"
DD = Day(givenDate)
msgbox DD
MM= month(givenDate)
msgbox MM
YY=year(givenDate)
msgbox YY
sysdate=DD&"-"&MM&"-"&YY
msgbox sysdate
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
How did you use regular expressions in QTP and also in WR?
How do I get the QTP scripts result in xml format by using vb script function?
Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
What are advantages of test automation?
hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career
what are the limitations of smart identification in qtp 9.0
What is the syntax to call one script from another?
Have you used xml check point in your project? How?
How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.
Can you brief the hurdles you faced during Automation testing?
when u script reveiwing in which area u more concentrates?