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

1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

1498


How to check which add-ins are associated with a test in qtp?

582


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

585


What is the new version of qtp which is recently released in the market?

644


What do you mean by checkpoints in qtp?

561






What is difference between run time object and test object?

558


how to test Web application using QTP software

1570


What is quick test pro? What is a quick test professional?

554


whare exactly we have to use functions and sub routain

1846


Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

1564


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

1632


Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?

620


How many ways we can parameterize data in quicktest professional?

563


Which scripting language used by quicktest professional?

530


how did u use automating testing tools in ur job?

1487