| || |
Recognising run time objects using TE
When I tried to record and run the script in AS/400 screen, some of the objects are not recognised.
eg: TEWindow("A").TEScreen("B").TEField("Phil1").set Datatable.value("Cust_Name",dtGlobalSheet)
Here while recording the TEField object is recorded as "Phil1" in object repository. While running the script with different customer name, error occurs showing object not recognised.
I tried with descriptive programming also. But I couldnt run the script, since the objects are taken randomly. Can you please suggest me how to go about it?
Re: Recognising run time objects using TE
Is the screen name the same for the new customer?
TE's can be a pain when establishing the TEScreen name. You need to pick co-ords on the screen for a Unique name. On the options dialog you can set these co-ords you can also change them at run time. Look up QTP Object Model in the help file