Hi there!

        You can use macro …

           <macrodef name="group1">
              <sequential>                
                 <echo  message="your steps here ... ;o)"/>
              </sequential>    
           </macrodef>

... anf then ...

                <ifStep description="check whether should invoke the first 
group ">
                    <condition>
                        <verifyXPath description="check last item in this page" 
xpath="....." text="...">
                    </condition>
                    <then>
                        how to invoke the first group ?
                                <group1/>
                    </then>
                    <else>
                        stop
                    </else>
                </ifStep>


Roman.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ???
Sent: Tuesday, December 02, 2008 9:37 AM
To: [email protected]
Subject: [Webtest] Questions about canoo's group

hi everyone,

i met a problem ,i have no idea to do this step . 

in my test xml file :

<steps>
<!--first Group-->
   <group>
..........
   </group>
<!--second Group-->
<group>
            <!--check whether should click the next page-->
                <ifStep description="check whether should invoke the first 
group ">
                    <condition>
                        <verifyXPath description="check last item in this page" 
xpath="....." text="...">
                    </condition>
                    <then>
                                how to invoke the first group ?
                    </then>
                    <else>
                        stop
                    </else>
                </ifStep>

        </group>

</steps>

any idea? thanks

Reply via email to