Hi,

As part of a test, I invoke a valid URL that is supposed to produce a 404 page 
not found error page because the logged-in user does not have privileges to 
view the specified URL. When I run the test, webtest records the invoke as a 
failing test, and my 2 subsequent steps to verify the title text and page text 
of the expected 404 page are apparently ignored, and not run, or do not get the 
passing results they should get.  The last two steps have yellow bars next to 
them on the results page.

Is there a way for webtest to verify title text and page text of an expected 
404 page produced by an expected and desired failed URL invoke step?

> I would welcome any advice anyone may provide:
> 
> Thanks Much,
> 
> David Klima::
> 
> FROM MY XML FILE:
> 
         <invoke url="https://pretendurl.htm";
              description="school case preparer cannot access FSA manage cycle 
page" />       

           <verifyTitle text="HTTP 404 Not Found" />
           
           <verifyText text="The page cannot be found"    />
>  
> 
> END: FROM MY FILE:
> 
> 
> 
> 
> 

Reply via email to