Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
Basically, what the index means is that there are more windows than just one that have the same class and caption. So, each time you run your tests, it's opening another instance of the same form.
Now, if this is expected, then you might need to use something like a FindChild or some such thing to search for the form using some other parameters other than just name and caption. The index essentially references, IIRC, the order in which the form was created so using some other parameters you can narrow down to your specific requested form.
Now, if this is expected, then you might need to use something like a FindChild or some such thing to search for the form using some other parameters other than just name and caption. The index essentially references, IIRC, the order in which the form was created so using some other parameters you can narrow down to your specific requested form.
Related Content
- 11 years agomario_didonna
Recent Discussions
- 3 days agovladd1