example-date format is 01-jan-09 in QTP.How to convert this
format to 01-01-09?

Answer Posted / swati

I could not find any straight way to do this, however it
had to be done in a customized manner:

newDate = day(date) & "-" & month(date) & "-" & year(date)

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between IE & Netscape in web testing on a log in page

1788


Explain the concept of object repository and how qtp recognises objects?

526


Explain different types of action in qtp?

568


What phases are involved in testing an application in qtp?

558


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1424






Describe synchronization point.

573


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

1432


Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

915


How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one

1595


what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?

2734


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

1619


How does you pass optional arguments in qtp?

559


What is test object model in quicktest professional?

619


Explain building blocks of the bpt framework ?

555


Problem with XML checkpoint in QTP ?

3495