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

How many ways is to parameterize the value?

615


How to analyzing test results using quicktest professional?

562


how to find that tools work well with ur existing system?

1350


Which scripting language used by quicktest professional (qtp)?

660


How to call a test from another test?

678






what is command for executing files?

1508


Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com

1426


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

1494


How does qtp recognize objects in aut?

580


What VBScript operators, functions, and statements do you use in QuickTest Professional?

2166


Can we record an application running on a remote machine using qtp?

717


What is CMMP and CMMH?

690


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.

1737


what is the difference between modular framework & datadriven framework

1589


Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)

1451