alltech wrote:Can eValid structural commands create a new page element if it wasn't already there?
It turns out that this is possible to do with the available DOM interfaces but in the case of eValid we chose NOT to implement this kind of action.
While it is true that eValid structural commands can test any web page by reference purely to the structural organization of the page, for eValid to be an effective quality assurance and testing tool it also has to have some limits. And that capability would go well beyond what you would want to have in a test engine.
Look at it this way: If it were possilble in a test scenario to alter the structure of the page by adding elements (and property values) to the page where they did not exist, it might be possible for someone to construct a test that, if it first FAILS, then modifies the page so it PASSes. Not that anyone would do that -- at least any professional QA person -- but it is
safer overall knowing that such a thing is not even possible!
There are many page editing tools available, and
they can add things on the fly. But we drew the technological line and having eValid be both a test engine and also a page editing (and page creating) tool.
We hope that our users appreciate this intrinsic respect for the professional activity to which eValid is most often put.
eValid Technology