views:

39

answers:

1

i am running a selenium test using ruby and was wondering how i can assert the value inside a text field?

i have a page where once its loaded has text inside the editable text field and i was wondering how i can check if the text is present?

thank you

+2  A: 
assert_equal "myValue", @selenium.get_value("id=myField")
Dave Hunt
thanks dave, it works great
Mo