开发者

Select list not working in firewatir

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜