Displaying 1 result from an estimated 1 matches for "programmelink".
2008 Jun 05
0
additional logging
...I am using the ''spec/story'' module with Fire(Watir).
Is there additional logging?
I don''t want to do this:
<code>
Then "the resultant links are displayed with the search text in each
description" do
browser.links.each do |lnk|
if lnk.id =~ /programmeLink/
lnk.click
sleep 0.5
puts "pass" unless ui.does_the_html_include?(@text)== 0 #regex
browser.back
end
end
</code>
Or am I structuring this wrong? Is it one "Then" per verification
point? Problem with that is I have a dynamic number...