I generated an example yesterday[1] and it doesn't seem match the approach
described in the docs:

<invoke
  url="http://www.myserver.com:8080/myApp/login";
  description="get Login Page" />
<verifyTitle
  text="Login Page"
  description="we should see the login title" />

Does that mean that the recorder isn't terribly useful for learning Canoo
and creating starting points?

Cheers
Mark Levison

[1]
<?xml version='1.0' encoding='UTF-8'?>
<tg4w version="1.0.0">
    <datasets>
    </datasets>
    <actions>
        <action type="goto" refresh="." window="." step="0">
            <xpath><![CDATA[window.location.href]]></xpath>
            <value><![CDATA[http://computerjobs.com/homepage.aspx]]></value>
        </action>
        <action type="verify-title" window="." step="1">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[Tech Jobs for IT Pros -
ComputerJobs.com]]></value>
        </action>
        <action type="fill" window="." step="2">
            <xpath><![CDATA[*/FORM[1]/inp...@id="s_kw"]]]></xpath>
            <value><![CDATA[Agile Software Development]]></value>
        </action>
        <action type="select" window="." step="3">
            <xpath><![CDATA[*/FORM[1]/sele...@id="s_sl2"]]]></xpath>
            <value><![CDATA['AL']]></value>
        </action>
        <action type="select" window="." step="4">
            <xpath><![CDATA[*/FORM[1]/sele...@id="s_sl2"]]]></xpath>
            <value><![CDATA['C2']]></value>
        </action>
        <action type="click" refresh="." window="." step="5">

<xpath><![CDATA[*/TABLE[1]/TBODY[1]/TR[3]/TD[1]/TABLE[1]/TBODY[1]/TR[1]/TD[3]/TABLE[1]/TBODY[1]/TR[2]/TD[2]/TABLE[1]/TBODY[1]/TR[2]/TD[1]/DIV[1]/*/A[1]]]></xpath>
            <value><![CDATA[]]></value>
        </action>
        <action type="verify-title" window="." step="6">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[ComputerJobs.com - Search Results in CA -
North]]></value>
        </action>
        <action type="assert-text-exists" window="." step="7">
            <xpath><![CDATA[*]]></xpath>
            <value><![CDATA[Symbian Developer]]></value>
        </action>
    </actions>
</tg4w>
Blog: http://www.notesfromatooluser.com/
Recent Entries: Agile/Scrum Smells:
http://www.notesfromatooluser.com/2008/06/agilescrum-smells.html
Agile Games for Making Retrospectives Interesting:
http://www.notesfromatooluser.com/2008/10/agile-games-for-making-retrospectives-interesting.html

Reply via email to