|
Rank: Newbie Groups: Member
Joined: 6/5/2015 Posts: 8
|
Hi,
We are using EO.WebBrowser control in our product and we need to have an UI automation on web page opened in EO.WebBrowser. After googling for any framework which support such a browser control(like Selenium or any other), we found nothing.
Is there any framework which support EO.WebBrowser or any suggestions on how to implement automation on web page controls inside the WebBrowser control.
Advance thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, You will need to implement such framework yourself. There will be two set of APIs that you will need to use: EO.WebBrowser API and JavaScript. Anything outside of the browser window, such as creating a browser window, loading a page, tracking page loading status, custom dialogs, will need to be implemented through EO.WebBrowser API. Anything inside the page, on the other hand, would be implemented based on JavaScript. EO.WebBrowser provides two way communications between your NET code and JavaScript code so that you can coordinates both side to work together. You can find more information about this here: http://www.essentialobjects.com/doc/6/advanced/js.aspxhttp://www.essentialobjects.com/doc/6/advanced/jsext.aspxHope this gets you started. Please feel free to let us know if you have any more questions. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 5/11/2015 Posts: 1
|
I guess you can use any standard test UI framework or application which is using windows accessibility information like Coded UI or TestComplete. To enable it in browser you can use this line of code: EO.WebBrowser.Runtime.ExtraCommandLineArgs = "--force-renderer-accessibility";
|
|