Partager via


Cross browser testing on Firefox with Visual Studio 2010 UI automation

Cross browser testing on IE and FireFox is now supported in Visual Studio Test Tools with the release of the UI automation plugin for Mozilla Firefox.

The primary scenario we want to target with the plugin is that you record a test in IE, and play the same test back in Firefox. In VS2010, you can create a test by recording your web application opened in Internet Explorer. With this plugin, you can run the same test (Coded UI Test or the Action Recording strip) on your web app, this time opened in FireFox. 

The current release supports Firefox 3.5 and 3.6. It’s easy to use – just download the feature pack from here: https://msdn.microsoft.com/en-us/vstudio/ff655021.aspx

I am eagerly looking for feedback on this plugin – do let me know what you think.

Comments

  • Anonymous
    April 18, 2010
    Hi Anu, Do we have check points in VSTS2010 for both screen and data. If so can you please let me know how to invoke the same. [Anu] Ram - by check points, do you mean "validation"? If yes, then, you can validate on either the data by extracting props from controls or on the UI, by asserting on the control's presence. You can use the .Exists prop for this Regards Ramkumar.A

  • Anonymous
    April 18, 2010
    Hi Anu, Yes, I meant validation, but through assertion we can able to validate only selected controls. Is there any possibility to validate the whole screen if there any changes happen like (position of button, label, caption changes) in the whole screen. The same way for data. [Anu] Nope - not yet. We are working on complex validations and might have something interesting to share in a few months. Will post updates here Regards Ramkumar.A

  • Anonymous
    April 20, 2010
    Will this be available for the RTM? [Anu] The beta is available right away and works fine with the RTM version. The final drop of the plugin will be available post RTM as a separate drop - should be very soon.

  • Anonymous
    April 27, 2010
    Hi Anu, Is there any reason why the Firefox plug-in always forces Firefox into full-screen? This doesnt happen with IE. [Anu] Good catch, Sam. This is a bug - we'll fix this up for the release. Thanks for reporting thanks Sam

  • Anonymous
    August 12, 2010
    Hi anu this feature is preety kool (mostly we can use same code for multiple browsers) . . . actually i was eagerly waiting for such framework from MS . . . . Acutally i was working for one of the project of MS through a vendor . So was missing such framework since we were using some internal automation tool . . . (now dont work any more with that vendor)As a result we can use power of programming rather then depending on scripting . . . [Anu] Glad you liked the tool! :)

  • Anonymous
    August 12, 2010
    Since i know what is the pain to write different code for a test case to just to support different browser (had used one of the MS intenal tools ).

  • Anonymous
    January 18, 2011
    visualstudiogallery.msdn.microsoft.com/.../c7b5accc-abd8-4776-a331-81392a58a3c3 ? broken links... sigh[Anu] The link has moved since I posted - fixed it. Thanks for reporting it, Oliver.  http://msdn.microsoft.com/en-us/vstudio/ff655021.aspx 

  • Anonymous
    September 22, 2011
    The comment has been removed