BPT Component: Highlight of WebEdit object works but .Set does not
I am using BPT on ALM 11 along with QTP 11. During the execution of a BPT I face a peculiar problem in one of the components. During execution this component is unable to perform .Set or .Select operations on WebEdit and WebList respectively. By "unable" I dont mean that it throws error but it simply executes the line with out error and moves over to the next line but does nothing on the Application Under Test. During actual BPT execution I debugged the component and saw that QTP is able to highlight the object so it recognizes it but dont know why it does not perform the Input operation.
Also note - if I close and open QTP and open that component only then it is able to perform all the input operations.
Thank you for the response. I tried the suggestion of ReplayType but unfortunately it does not work. I somehow have the hunch that this has got do something with the Application Area difference of the first component that is launched as per the BPT and this problem causing component which is the 5th.
I encounter these occasionally and have built a little .SendKeys functionality around it to cater for the holes. Yours would need to include the right way, then check if the field is updated, then if not, activate the UI/Object and .Sendkeys directly to the field.
While I have been working for Businesses that are Vendor partners with HP, IBM and Microsoft, my opinions and advice is my own.
The solutions provided are either sourced from my own scripting libraries or from a quick Google Search.