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
How many ways is to parameterize the value?
How to analyzing test results using quicktest professional?
how to find that tools work well with ur existing system?
Which scripting language used by quicktest professional (qtp)?
How to call a test from another test?
what is command for executing files?
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
1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?
How does qtp recognize objects in aut?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
Can we record an application running on a remote machine using qtp?
What is CMMP and CMMH?
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.
what is the difference between modular framework & datadriven framework
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?)