Micro Focus QTP (UFT) Forums
tutorial question about 10/29/2012 - 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: tutorial question about 10/29/2012 (/Thread-tutorial-question-about-10-29-2012)



tutorial question about 10/29/2012 - bistritapcv - 11-29-2012

I completed the tutorial which comes with qtp. Most everything worked except for two things:

1. When adding the function library CheckDateFunction.qfl I did not see any option to make relative.

2. My main question. I did the parameterization for the to and from ports and dates. At one point it checks the 12/29/2012 object. The first time through it passes as the departure date is Dec 29. But the second iteration the departure date is 10/29/2012 so when it looks for the 12/29/2012 date it fails. I can't figure out how to parameterize the 12/29/2012 as it is the name of an element, but not sure how to change it for the second iteration. Do I use some sort of (if toPort=="New York") or something?