rspec logging

A

aidy

Hi,

I am trying to find some output logging in the Rspec API

As 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
puts "pass" unless ui.does_the_html_include?(@text)== 0 #regex
browser.back
end
end
</code>

Or am I structuring this wrong?

Regards

Aidy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,667
Latest member
DaniloB294

Latest Threads

Top