diff --git a/tests/default_methods.rb b/tests/default_methods.rb index da31900..81040f2 100644 --- a/tests/default_methods.rb +++ b/tests/default_methods.rb @@ -39,7 +39,8 @@ def login(p_username, p_password) # # 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' end @@ie.text_field( :id, 'P101_USERNAME' ).set( p_username )