开发者

Browse through a pop-up?

I want to test the links that appear in a pop up in a website after pressing a button. The problem is that I dont know how to do it. I dont know the name of any buttons of the popup, and even dont know if the watin can navegate through it.

I used to check links in a开发者_C百科 website searching the button by the name (using development tool from IE to search the name of the buttons), but with the pop up I dont know.

How can i do it? There is a function to work with pop ups? How can I get the name of the elements of the pop up?


All website pages are html, javascript and css - all human readable.

Try viewing the source.

ps They are readable unless they are Flash type applications.


Install the Web Developer extension for Firefox, right-click on the element, choose Inspect Element.


You have to attach to that popup. Treat it like a normal IE window. I don't remember correctly, but try something like that:

var popup = IE.AttachTo<IE>(Find.ByTitle("Title of the popup"));
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜