RobotFrameWork how to close a pop-up

自作多情 提交于 2019-12-11 19:06:09

问题


I know how to select a frame.

Select Frame    css:iframe[id^="PopupBoxIframe_"]

but DevExpress opens a pop-up. And I don't know how to select that pop-up

It doesn't work with Select Window somehow

this is the ID ctl00_aspxMasterPopup_PWH0T

but Select Window searches for Title , Name or... but no ID


回答1:


this was the solution. first you do an unselect, then a select, somehow that does the trick.

unselect frame
Select Frame    css:iframe[id^="PopupBoxIframe_"]


来源:https://stackoverflow.com/questions/57195789/robotframework-how-to-close-a-pop-up

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!