webaii

How to use WebAii and WatiN with Same Browser

亡梦爱人 提交于 2020-01-07 02:28:09
问题 I wrote too much tests in watin and all they work. there is a silverlight upload control in a page and I must use webaii to control that. but I don't want to convert all my watin code to webaii. How can I use watin and webaii with one browser tab? 回答1: I have no experience with webaii, but if I were you I'd try this: Use webaii to launch the browser then use the WatiN browser .AttachTo() method to get WatiN to point at the browser that webaii opened. 来源: https://stackoverflow.com/questions

Telerik WebAii Framework - How to change focus to newy opened page/window

回眸只為那壹抹淺笑 提交于 2019-12-12 02:53:56
问题 Testing using WebAii Framewok - I am currently stuck at a point where I'm not able to determine which window my code is focused on. The code opens a page lest say A, clicks on a link which then opens a new child window, call it B. How do I access page/window B? How do I click a link on page B? Your help is much apprciated. Thanks, dot net newbie 回答1: You can connect to a new window by using the call Manager.WaitForNewBrowserConnect() followed by Manager.ActiveBrowser.WaitUntilReady(). The