11-29-2012, 11:45 PM
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?
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?