googleid_116641
13 years agoOccasional Contributor
One Object for two Windows
HI All
Greetings
I am facing a trouble while automating a project
Problem is
There is a message box containing button Yes and No , lets say this message box is mapped to object A
Clicking onto Yes button pops up another dialog containing ok button , this new box is also mapped to object A
so at the same time , both the boxes are visible on screen and mapped to one common object , so whenever i try to perform click operation onto the Ok button , testcomplete engine tries to locate ok button in the another form which contains Yes and no button and therefore it doesnt finds that ok button and the project exectuion fails ,
Please help me to solving this problem ,
Thanks in advance
Greetings
I am facing a trouble while automating a project
Problem is
There is a message box containing button Yes and No , lets say this message box is mapped to object A
Clicking onto Yes button pops up another dialog containing ok button , this new box is also mapped to object A
so at the same time , both the boxes are visible on screen and mapped to one common object , so whenever i try to perform click operation onto the Ok button , testcomplete engine tries to locate ok button in the another form which contains Yes and no button and therefore it doesnt finds that ok button and the project exectuion fails ,
Please help me to solving this problem ,
Thanks in advance