Hi ???,
use the <repeat> tag
*This step encapsulates one or more test steps that shall be repeated a
certain number of times. Any kind of step can be nested. [from
documentation]
*It is very useful for.... repetitive tasks ;-)
Florent
Pingwy
27, rue des arènes
49100 Angers
??? a écrit :
Hi, guys
i want to use canoo as spider to crawl some pages ,
Problem
when i invoke index.html ,i want to use reg exp to find some
suitables links and crawl sub link's information .
but canoo only give me the one suitable link and download ,i want all
of suitable links. it looks it has not loop function . how can i do it ?
Any idea? Thanks !
This is my some part of my test.xml
<group description="using StoreRegEx">
<storeRegEx description="find suitable "
text="<a[^>]+href="([^"]+)"[^>]*>" group="1"
property="targetLocation" />
<invoke description="Invoke target page specified
in suitable link" url="#{targetLocation}" save="targetPage" />
</group>