G'day

I am just starting out with WebTest after spending two days assessing Selenium. WebTest is by far the most server friendly, user friendly package. I am a programmer by trade, but received two years "immersion experience" in QA via a department transfer. I have programmed testcases/suites, modules for other QA folks to use in their tests, read Deming etc. before. So, I got the bug then.

With the following very simple test:

<project default="test">
  <target name="test">
    <webtest name="my simple Test">
      &goToSite;

         <clickLink label="Home"/>
         <verifyText
            text = "Our primary goal is xto provide"
            description = "Display of middle of paragraph"
         />

        <clickLink label="Services"/>
        <verifyText
            text = "Webpage design and development"
            description = "Check text on Services page"
        />
   </webtest>
 </target>
</project>


The test for "Home" is expected to fail, the test for "Services" is expected to pass.

It correctly notes that the first case fails, but even though the second case should pass, instead of a green check mark, I get a small yellow circle beside it. If I change the above cases to allow both to pass, I get the green check marks on the "Home" test and the "Services" test just fine.

I suspect that I have missed how to tell it that the second case is not dependent upon the first? I just finished the manual end to end but might have either missed, or misunderstood the appropriate reference. Can anyone please give me a hint where to look. Pointers to additional documentation is very welcome. It is a small point I know, but a sticky hump for me right now.

Still Googling....
Thanks in advance....;-)

--
ldb








_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to