chdittmer
11 years agoOccasional Contributor
Project executes perfectly in TestComplete but fails in TestExecute
I have a project stress testing our entire package (Java). One part of the execution is clicking a Togglebutton. Completeing the test clicks this button around 4000 times perfectly in TestComplete without failure. If I run the same project on the same machine using TestExecute it fails the first time the button needs to be clicked. With a "annot find object error".
This is not the only Togglebutton that is clicked during the run but the only one failing the test. This is the only togglebutton that's state changes unpredictably so I use .ClickButton(false) whenever it's state could change to ensure it is in the untoggled state before I continue.
I have tried to refresh the button's mapping dynamically during runtime in case it's unpredictable change in state is causing this but to no avail. Any suggestions?
This is not the only Togglebutton that is clicked during the run but the only one failing the test. This is the only togglebutton that's state changes unpredictably so I use .ClickButton(false) whenever it's state could change to ensure it is in the untoggled state before I continue.
I have tried to refresh the button's mapping dynamically during runtime in case it's unpredictable change in state is causing this but to no avail. Any suggestions?