Wondering if anyone has seen something like this before.
I have various scripts that works fine independently, or if I run them together with a couple of other scripts. But when I run the whole test suite together, it keeps failing at a specific place where it has trouble finding an object that is clearly on the page. The step where it fails, is where it tries to do a validation on the text in a field box.
After it fails, if I then run that specific script right away, it passes!
I have added delays, and I have also added extra steps to click on the specific object before it validates it. I have also tried going to a different tab and coming BACK to the specific tab before validating. But as soon as I run the test suite, it fails a the same object again
Has anyone had similar issues before, and how did you get around it?
Thanks!
Text validation fail if script is ran part of full suite
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Text validation fail if script is ran part of full suite
Hi,
can you please provide us a snapshot file of your application under test holding the control you want to validate with your application under test in exactly the state the test fails.
And additionally the c# code of the validation step.
You can either attach the snapshot file directly to your next forum post, or send it to our support mailbox (support[at]ranorex.com).
Regards,
Tobias
Support Team
can you please provide us a snapshot file of your application under test holding the control you want to validate with your application under test in exactly the state the test fails.
And additionally the c# code of the validation step.
You can either attach the snapshot file directly to your next forum post, or send it to our support mailbox (support[at]ranorex.com).
Regards,
Tobias
Support Team