Rank: Newbie Groups: Member
Joined: 2/19/2018 Posts: 3
|
Hi,
We are using EO.WebBrowser control in our product and we need to have an UI automation(Coded UI) on web page opened in EO.WebBrowser. But when we spy the controls on EO.WebBrowser, their id and name attributes are not getting detected.
Please suggest any way to do the Coded UI Automation in EO.WebBrowser
Advance thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
I am not sure if you meant by controls inside the web page loaded by EO.WebBrowser control. If that's what you meant, then I do not believe it's possible. Code UI test for web pages are integrated with Microsoft's WebControl, not other third party web browser control. If you need to test web page loaded by EO.WebBrowser control, you can use JavaScript code to automate the page, then use EO.WebBrowser.WebView.EvalScript to run the JavaScript code to perform the test. You may also modify your code UI test builder generated code to add such custom code so that it can be a part of your test project.
Thanks!
|