After getting my OR captured there is an entry that looks like:
The SwfName is: descriptionTextBox^5
I like readability so I edited the Object name to be: PaymentDescription
The SwfName is still: descriptionTextBox^5
My line of code is :
SwfWindow("Payment").SwfEdit("PaymentDescription") .Set "OT"
My question: PaymentDescription is reported as an Object not in the OR. The info reported is:
Object's physical description:
SwfName = descriptionTextBox^5
Should I change the SwfName to = the OR Object name?
Social Engineering - do they ever use QA?
No, you need to only change the logical name in the OR. I would suggest you to delete the object from OR and add it again and then rename and see what happens.
Tarun Buy the NEW QTP Descriptive Programming Unplugged Book ** Download QTP Unplugged 2nd Edition eBook for FREE **