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

Answer Posted / balaji

Hi You Can Use This Code

DD= Day(now)
msgbox DD
MM= month(now)
msgbox MM
YY=year(now)
msgbox YY

sysdate=DD&"-"&MM&"-"&YY
msgbox sysdate

Is This Answer Correct ?    8 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain qtp(quick test professional)?

583


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

1435


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

566


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

584


Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

1407






What are the check points can be inserted without recording?

598


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

1421


Approach for Installation,comaptibility,system testing

1708


The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)

2804


what is the difference between modular framework & datadriven framework

1597


Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

1738


i can done the project with QTP in that time i can say how many members in my team size?

1372


Explain different recording modes?

585


how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

1322


How to use parameterization in qtp?

624