Hi Chris,

I tried your script. I seems like you are accessing wrong element.

#DOESN'T FIND THIS BUTTON

ff.button(:id,'st-login-to-edit-button-link')


This is actually a link <a id="st-login-to-edit-button-link">.
So the following should be used to access this element
ff.link(:id, 'st-login-to-edit-button-link')
Using this I was able to go to login page and was able to enter login name
and password.

ff.text_field(:id, 'username').set('[EMAIL PROTECTED]')
ff.text_field(:id, 'password').set('mypass')
ff.button(:value, 'Log in').click


Don't know correct user name and password :) so was not able to go ahead
with the test.

#DOESN'T FIND THIS BUTTON EITHER
ff.button(:id,"st-edit-button-link").click


I think this might be again a link.

Regards,
Angrez
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to