Thanks for your solution. now it works well.
unless defined?(Ocra)
.code
end
if not defined?(Ocra)
code
end
On Aug 4, 5:35 pm, Jarmo Pertman jarm...@gmail.com wrote:
You can do it like this. Just make sure that all require statements
are outside of that unless block:
require
Hey Alex,
First of all, I think it is a very strange peace of code. You're not
checking anything, just clicking etc.
Why 1 times? Do you want to use Watir as a performance tool?
Furthermore, google does not like these scripts. You (or your IP
number) will probably get on a blacklist if you
thanks for your quickly reply.
yep, the code seems meanningless. But it's only a dummy of my working
script, sorry for that i coldn't put my real script to here.
My real script really have a very big loop to test all pages, but i
don't the total page count, so i only can do it by click the linke