how can i make qtp report its assumptions
Pickering, John (NORBORD)
John.Pickering@norbord.com
Wed, 18 Aug 2004 12:58:05 -0400
It has been my experience that Qtp always reports the assumptions it makes.
The "access" assumptions in your example are reported immediately after the
output statement. The "item ... initial" statements are reported when Qtp
knows you're done -- i.e. when it encounters one of "request", "build" or
"go".
Enhancement request: give us a way to save those generated "item ...
initial" statements, maybe in qtpsave.
-----Original Message-----
From: shulbert@littlejohnfrazer.com
[mailto:shulbert@littlejohnfrazer.com]
Sent: Tuesday, August 17, 2004 11:30 AM
To: powerh-l@lists.sowder.com
Subject: how can i make qtp report its assumptions
a nice easy one.
qtp will sometimes report the assumptions it makes about the data structures
and sometimes it won't.
eg:
access file1
output file2 update add
Access FILE2 viaindex FILE2_PK. ; <-- generated by qtp
Access via KEY1 using KEY1 OF FILE1. ; <-- generated by qtp
build
Item ITEM1 OF FILE2 initial ITEM1 OF FILE1. ; <-- generated by qtp
Item ITEM2 OF FILE2 initial ITEM2 OF FILE1. ; <-- generated by qtp
Item ITEM3 OF FILE2 initial ITEM3 OF FILE1. ; <-- generated by qtp
is there a way to make qtp do this all the time?
if it's not doing it, what am i doing wrong?
thanks and regards,
stephen.
Littlejohn Frazer
Chartered Accountants
1 Park Place
Canary Wharf
London
E14 4HJ
Tel: 020 7987 5030
Fax: 020 7987 9707
Web: www.littlejohnfrazer.com