![]() |
|
Retrieve Date from Application - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Retrieve Date from Application (/Thread-Retrieve-Date-from-Application) |
Retrieve Date from Application - evgoutham - 02-10-2010 Hi, I am new to QTP. I wanted to retrieve the date displayed in my application. It is displayed as February 9, 2010. And now I wanted to verify this by comparing this with system date.I am using QTP 10. Could anyone help in this. Thanking You, Goutham RE: Retrieve Date from Application - Saket - 02-11-2010 what is the problem you are facing, in retreiving or comparing? I guess it is comparing, if so you can change the format of date retreived as per the format of your system date and then compare. refer Manipulating date-time to create a function which can change the format of your date. hope this helps |