ravisangam
13 years agoOccasional Contributor
Script terminating when it doesn't find an object
Script terminating when it doesn't find an object. I mean, once we clicked on "submit" button in flex application, it may raise 1 of 3 dialogue boxes. Those 3 dialogue controls are same, but the number of buttons, text it contains varies. TestComplete object spy detecting 3 dialogues as same. The thing is i am checking that,
Step 1: if dialogue 1 exists then do some thing..
Step 2: if dialogue 2 exists then do some thing..
Step 3: if dialogue 3 exists then do some thing..
But, if dialogue2 is popped up, when i clicked on Submit. TC is checking failing at the 1st step itself. It is not moving to 2nd check
Step 1: if dialogue 1 exists then do some thing..
Step 2: if dialogue 2 exists then do some thing..
Step 3: if dialogue 3 exists then do some thing..
But, if dialogue2 is popped up, when i clicked on Submit. TC is checking failing at the 1st step itself. It is not moving to 2nd check