In ALM11 I’ve
had an issue with QTP. When running a test no objects were being recognised in
the application. They should be, they have been before, the components work in
other tests, but not one test, for no reason. Using the Object Spy I can see
QTP clearly doesn’t know what to make of the Browser, thinking it’s just a
Windows object.
This is a
problem I’ve been dealing with on and off for the last couple of months, and I
am pleased to announce that the culprit was a certain Component making an
appearance at the start of my BPT Test. Sadly I haven’t worked out what exactly
is the reason why this component has sent everything in to a spin, but I am happy
enough that I know generally where the failure is, and that it is not with my
entire test.
It was a
scripted component which did a very simple check on an input parameter.
I have since moved the function from the first to the second step in my test and now everything works
again.
If anyone
knows about this issue feel free to leave a note in the comments.
No comments:
Post a Comment