Selenium RC test: error when Run as JUnit Test, no error when Debug as JUnit Test -
I have a problem: when I try to run a JUnat test case via the eject, debug mode As a JUnit Test), it runs perfectly well (I step on every statement), but if I run it normally, not in debug mode (use as run as a genus test Doing), testes run for some point And then some html using time Xpath fails when trying to find the element page, ie div, td I in the page using what element Xpath examiner that he checks to see if it is present.
What could be the possible reason for this? Did anyone face anybody like this?
It seems that the investigation is under progress in comparison to the application under test. You need to make sure that you use waitForPageToLoad
wherever the page loads. In addition, if your AJX is used at all, then to ensure that
Elements should not be immediately apparent for the survival rather than throwing the 'element' error, but this waiting period should be clear.
Comments
Post a Comment