Welcome Guest Search | Active Topics | Sign In | Register

Automation testing of EO.WebBrowser Options
HPE_FT_Team
Posted: Friday, June 5, 2015 2:15:28 AM
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!
eo_support
Posted: Friday, June 5, 2015 8:52:37 AM
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.aspx
http://www.essentialobjects.com/doc/6/advanced/jsext.aspx

Hope this gets you started. Please feel free to let us know if you have any more questions.

Thanks!
Baker Hughes
Posted: Friday, June 5, 2015 9:27:04 AM
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";


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.