Hi,
Im trying to check to see if a link (Log out) is available, if its not I
want to do followFrame.  Here is what I have but it is saying that I cannot
use followFrame or verifyText in <not>

        <!-- logout -->

        <ifStep description="Test for logout Button" test="#{isSet}">
           <condition>
              <not>
                 <verifyXPath description="Verify Logout button"
                    xpath="//a[text()='Log Out']" />
              </not>
           </condition>
           <followFrame description="Select masthead"
              name="masthead"
              save="myResultPage"/>
        </ifStep>
        
        <prepareDialogResponse 
          description="be ready to dismiss the logout popup"
          dialogType="confirm"
          response="true"/>
        <clicklink   
          label="Log Out"
          description="Click the Logout link"/>
        <verifytitle description="Login page should be back"
          text="Log In - Sun Java(TM) Web Console"/>
-- 
View this message in context: 
http://www.nabble.com/How-to-verifyText-nested-in-a-%3Cnot%3E-tf1895530.html#a5184058
Sent from the WebTest forum at Nabble.com.

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

Reply via email to