From 39576bb2e38c1e7f22e5a7f82112c73ecd12eaef Mon Sep 17 00:00:00 2001 From: PriestJ Date: Fri, 22 Feb 2008 13:34:19 +0000 Subject: [PATCH] altered geterrormessage to pick up new Div AH has added to screen, hopfully this will give us more info about the error git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3675 248e525c-4dfb-0310-94bc-949c084e9493 --- tests/default_methods.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/default_methods.rb b/tests/default_methods.rb index 91bbd9f..3ced40e 100644 --- a/tests/default_methods.rb +++ b/tests/default_methods.rb @@ -56,8 +56,8 @@ def menu (p_menuitem) end def geterrormess(ie) - if ie.div(:class, 'ErrorPageMessage').exists? then - return ie.div(:class, 'ErrorPageMessage').to_s + if ie.div(:id, 'ErrorOutputDiv').exists? then + return ie.div(:id, 'ErrorOutputDiv').text end return ie.div(:id,'colRight').to_s end