Forum Discussion
UI Automation (edge chromium)
- Apr 17, 2019
BobbyCannon we plan on having an MSEdgeDriver very soon, and you can also use puppeteer and headless. In addition, you can use ChromeDriver for the time being by passing in the path to msedge.exe in a ChromeOption. Is there anything specifically you would like?
CodeDJ TestR would be a great solution for testing your WinForms + IE project. I could help you get started if you would like?
TestR is Open Source (MIT) and you can use the same API to automate your desktop (winforms) application and whatever is running in the browser.
BobbyCannon thanks and just to be sure. Are you suggesting to use TestR for browser automation from WinForms on end user machines? If not, sorry for the confusion. The requirement is, my app should launch a new browser, navigate through a website. The user can then take over and decide what to do from there on, including whether to close the browser or navigate away to a totally different website.
Today, we do this using IE. Assuming IE is going to be replaced by new Edge, we will have to find an alternate way of doing this.
As mentioned in the previous post, I tried Selenium with Chrome/old Edge but could not release the browser once done navigating i.e. after our automated navigation, the browser and my app should be totally independent.
- BobbyCannonMay 03, 2019Copper ContributorTestR can attach / detach from existing browsers. Interested in how your app is starting the browser and automating it.
The intesting thing is you could implement TestR in your application and do that automation in your application which would immediately get you support for IE, FF, and Chrome.
Then you could test everything external also using TestR in your "unit test" project. We should schedule a time, I don't mind showing you a demo via Skype or Hangouts.- CodeDJMay 03, 2019Iron Contributor
BobbyCannon thanks for the info. I will try TestR to see if it meets our needs.
We use SHDocVw.InternetExplorer currently to do the automation.