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
What are the ways you can synchronize?
Generic function to search for the unique link in webtable and click on it
Describe how Smart Identification is used
What are the types of object repositories? Which one is you using?
What is quick test pro? What is a quick test professional?
how did u use automating testing tools in ur job?
How did you use regular expressions in QTP and also in WR?
what is test scheduleling?
What is the default add-ins in qtp?
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
what function you write to do database testing with the help of qtp?
How to call a test from another test?
What is the process of synchronizing qtp and aut?
Can you brief the hurdles you faced during Automation testing?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.