is it possible to change the date format like MM/DD/YY
into DD/MM?YY through script in QTP
Answer Posted / m kumar
Date function in qtp displays current system date as
MM/DD/YY,So change this in to DD/MM?YY format below is the
process
Strday = day(date)
Strmonth = month(date)
Stryear = year(date)
Newformat = Strday&"/"&Strmonth&"?"&Stryear
| Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
What are parameterizing tests?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
What are advantages of test automation?
What is CMMP and CMMH?
How to use output values in qtp ?
How will you check a web application for broken links using qtp?
An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))
when to start the automation?
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
Is qtp supports uni-code?
Which scripting language used by quicktest professional (qtp)?
When to use descriptive programming?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
How to start recording using quicktest professional?
What is object spy in quicktest professional (qtp)?