开发者

How do I check the value inside a text feild while using ruby selenium testing?

开发者 https://www.devze.com 2022-12-30 08:30 出处:网络
I am running a selenium test usin开发者_如何转开发g ruby and was wondering how I can assert the value inside a text field?

I am running a selenium test usin开发者_如何转开发g ruby and was wondering how I can assert the value inside a text field?

I have a page where once it's loaded has text inside the editable text field and I was wondering how I can check if the text is present?


assert_equal "myValue", @selenium.get_value("id=myField")
0

精彩评论

暂无评论...
验证码 换一张
取 消