开发者

Select list not working in firewatir

开发者 https://www.devze.com 2023-04-01 09:13 出处:网络
i am using firewatir on firefox 3.0.10 But when i write the script @browser.select_list(:id, \"edit-profile-ecs-orgtype\").set(\"Training institute\")

i am using firewatir on firefox 3.0.10

But when i write the script

@browser.select_list(:id, "edit-profile-ecs-orgtype").set("Training institute")

this code is working but nothing appears on the screen that i开发者_开发百科s "Training institute" is not selected and no failure is there.

But the same script runs with Internet Explorer.


I would try using

@browser.select_list(:id, "edit-profile-ecs-orgtype").select("Training institute")

Although when I ran into the issue it was actually the other way around, and Firewatir was much more forgiving than Watir.

0

精彩评论

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