blob: 40f8e7c07f8b0e11c98a008b92939f0587463245 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<macrodef name="retryClickLink" description="clickLink with retry and timeout">
<attribute name="maxcount" default="1" />
<attribute name="seconds" default="1" />
<attribute name="description" default="" />
<attribute name="label" default="" />
<attribute name="href" default="" />
<sequential>
<retry description="@{description}" maxcount="@{maxcount}">
<sleep description="pause" seconds="@{seconds}" />
<clickLink description="click link" label="@{label}" href="@{href}" />
</retry>
</sequential>
</macrodef>
|