Is there any tools for GUI Test Automation for Internet Explorer? I already use Selenium for Mozilla Firefox, but I also need a tool for IE.
10 回答
* UPDATE Feb 2020 *
Cypress is a new tool for browser testing and one of the few tools that doesn't use Selenium under the hood. It does NOT, however, support Internet Explorer. It does support Microsoft Edge and many other modern browsers, so hopefully it helps some people.
* UPDATE (older) *
Selenium Web Driver is the successor to Selenium RC.
So the answer is still to use Selenium in some form. That could be any of the supported frameworks.
Personally I'd use Protractor (useful for more than just Angular apps) or Leadfoot (from the Intern.io project).
* ORIGINAL RECOMMENDATION *
If you're already using Selenium, I'd use Selenium Remote Control
You can still use selenium for IE Explorer. I don't know if there is a plugin, but that shouldn't stop you. You'll get a lot of benifit from using the same tool to test on all browsers, so I would think you would be better served to learn how to use selenium with IE Explorer rather than trying to re-implement all your tests in another tool
You can also use the automated UI testing facilities of Microsoft Test Manager, which is part of Visual Studio 2010 Ultimate. Check http://msdn.microsoft.com/en-us/library/dd286726.aspx
You may be after something like this: http://triflejs.org/ (currently in beta)
Its an IE port of phantomjs for running Headless UI tests... basically an alternative to WebDriver but using javascript files instead of Java/NET compiled code.
If you combine TrifleJS (IE), PhantomJS (Webkit: Chrome + Safari) and SlimerJS (Firefox) you can run headless tests in all common browser environments using the same test scripts and API.
There is WatiN. I have had decent success using it with IE.
There are several GUI Test Automation tools for web application that run on IE. A few examples are Rational Functional Tester, Etester and QTP.
If you are looking for something open source there look here
Not sure about any add on plugin tool like selenium that is available for IE.
TestPlan can use the Selenium backend and works with both FireFox and Internet Explorer. It can also work with a display-less browser (HTMLUnit) so you can code your basic tests quickly and not suffer the loading overhead of the browser. Once it basically works you test it against the browser.
Try coding in AutoIt this is powerfull language easy to learn. IE UDF is here
If your browser is IE,going for test automation is not a very good decision.You may face so many issues with IE browser in automation.But still you can use selenium web driver for automation in IE.