added function to default methods that will grab the notification div, so that we can add it to the output on our pages
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3654 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -55,6 +55,10 @@ def menu (p_menuitem)
|
|||||||
@@ie.wait
|
@@ie.wait
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def geterrormess(ie)
|
||||||
|
return ie.div(:id,'colRight').to_s
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# SETCONTRACTVALUE
|
# SETCONTRACTVALUE
|
||||||
|
|||||||
@@ -816,7 +816,8 @@ class Test_02_enquiry < Test::Unit::TestCase
|
|||||||
@@ie.file_field(:id, 'P32_ENQUIRY_FILES').set(WORKINGDIR+'\\InstallMIP.cmd')
|
@@ie.file_field(:id, 'P32_ENQUIRY_FILES').set(WORKINGDIR+'\\InstallMIP.cmd')
|
||||||
@@ie.button(:value, 'Apply Changes').click
|
@@ie.button(:value, 'Apply Changes').click
|
||||||
@@ie.wait
|
@@ie.wait
|
||||||
assert_nil(@@ie.contains_text('Error'),'Error found')
|
|
||||||
|
assert_nil(@@ie.contains_text('Error'),'Error found >'+geterrormess(@@ie))
|
||||||
@@ie.button(:value, 'Request Quotation').click
|
@@ie.button(:value, 'Request Quotation').click
|
||||||
@@ie.wait
|
@@ie.wait
|
||||||
assert_nil(@@ie.contains_text('Error'),'Error found')
|
assert_nil(@@ie.contains_text('Error'),'Error found')
|
||||||
|
|||||||
Reference in New Issue
Block a user