example-date format is 01-jan-09 in QTP.How to convert this
format to 01-01-09?
Answer Posted / pratatp
i also not find the straight way.
dat=datevalue("01-jan-09")
d=day(dat)
m=mon(dat)
y=year(dat)
con_dat=d&"-"&m&"-"&right(y,2)
msgbox con_dat
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
How we can import data from database?
How to create Reusable and Multiple Actions?
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
If object is not recognized by qtp but the object is standard object what is your approach?
give me an example where u used good judgement and logic in solving a problem
How to modify object property in qtp ?
What is Unicode Compatibility?
How to find the difference between 2 dates in qtp?
hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
Give the syntax to import/export xls into qtp.