运行TestCase时,提示:Element is not currently visible and so may not be interacted with

时间:2016-06-02 18:07:45   收藏:0   阅读:644

今天在跑case的时候,robotframework提示:Element is not currently visible and so may not be interacted with

 

技术分享

 

明明在页面上可以用xpath定位到的,但就是跑用例的时候报错,元素不可见。

 

后来发现,跑用例的时候,浏览器不是最大化,导致个人设置没有显示出来,于是在用例中加上Maximize browser Window,终于跑成功了。

 

原文:http://www.cnblogs.com/rf-bear/p/5553829.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!