Displaying 1 result from an estimated 1 matches for "check_avai".
2007 May 20
0
Urgent :: File Object problem
...ot;
login_form.PWORD = "jake"
main_page = agent.submit(login_form)
link = main_page.links.text("Find a Member")
if link==nil
puts "This account can''t login to Realtor site!!!"
else
#2. Go to search page
search_page = agent.click link
check_avai = search_page.body.include? "Server is temporarily
unavailable"
if check_avai
puts "Can''t load Search page. Server is temporarily
unavailable!!!"
exit 1
end
link = search_page.frames.with.name("Viewport").first
if link==nil
pu...