Forum Discussion
Here's the other weird thing.
It's currently setup like this
Process = Setup
and
Index = 4 or
Index = 3 or
Index = 2 or
Index = 1
And it doesn't work, however if I set it up like this
Process = Setup
and
Index = 4
It does work (until the index isn't 4)
- NisHera10 years agoValued Contributor
Didn't you got a warnning message like "Ambiguos window recognition" ?
I think this is becourse it could not recognise unique process or object
you may hav more that one objects would mapped for that criteria(may be 4 objects)
- Colin_McCrae10 years agoCommunity Hero
Are you saying the top level object (the sys process) is showing different index numbers at different times?
This doesn't sound right. Why are there multiple versions of the process? Is this expected? It sounds to me more like there are version of it running in the background that probably shouldn't be there ....
- coreyallen10 years agoOccasional Contributor
There are not multiple versions of the proces.
If I reboot the machine and run the setup.exe the index could be 1, 2, 3 or 4. Reboot again and it could be 2, reboot again and it could be 2 again or it may be 1 or 4. You're correct that it doesn't sound right but that's what it does.
- coreyallen10 years agoOccasional Contributor
Yes that's the message I get. the only two applications running are Setup.exe and Test Complete (or test execute). These are usuually running on completelly clean installs of windows and do not have anything else installed.
I'm open to ideas if you have any thought on how to work around this.
- Colin_McCrae10 years agoCommunity Hero
Have you had a look at the object browser to see if there are multiple versions of the process showing in there?
It may be that the application actually does start multiple processes and TestComplete is not realising that they are actually different components. I had a similar thing in the past where the process I was testing was starting a scheduled task, which created a second process, which TestComplete was thinking was the same as the main one. Caused me all sorts of confusion until I had a poke around in the object browser and realised there was actually a second, non-visible, process there ....
Related Content
- 12 months ago
- 5 years ago
Recent Discussions
- 3 days ago
- 4 days ago