Text validation fail if script is ran part of full suite
Posted: Thu Sep 22, 2011 10:00 pm
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!
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!