updated login function to cope with the fieldset tag better. Before we referenced it as a radio tag, which was bad, bad, bad....
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@6161 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -39,7 +39,8 @@ def login(p_username, p_password)
|
|||||||
#
|
#
|
||||||
# Enter logon details
|
# Enter logon details
|
||||||
#
|
#
|
||||||
if @@ie.radio( :id,'P101_TC_ACCEPTED').exists? then
|
if @@ie.locate_tagged_element('fieldset', :id, 'P101_TC_ACCEPTED') then
|
||||||
|
#if @@ie.text_field( :id,'P101_TC_ACCEPTED').exists? then
|
||||||
@@ie.radio( :id,'P101_TC_ACCEPTED_0').set #'I accept the Terms and Conditions of using this site'
|
@@ie.radio( :id,'P101_TC_ACCEPTED_0').set #'I accept the Terms and Conditions of using this site'
|
||||||
end
|
end
|
||||||
@@ie.text_field( :id, 'P101_USERNAME' ).set( p_username )
|
@@ie.text_field( :id, 'P101_USERNAME' ).set( p_username )
|
||||||
|
|||||||
Reference in New Issue
Block a user