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:

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

Comments (8)
  1. Ramkumar.A says:

    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



  2. Ramkumar.A says:

    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



  3. geekdog says:

    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.

  4. Sam Warwick says:

    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



  5. Abhijeet says:

    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! 🙂

  6. Abhijeet says:

    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 ).

  7. oliver caine says:…/c7b5accc-abd8-4776-a331-81392a58a3c3 ? broken links… sigh

    [Anu] The link has moved since I posted – fixed it. Thanks for reporting it, Oliver.


  8. Piyush Sharma says:

    Hello Madam,

    I read your blog regular, Its very nice and spreading knowledge to beginner/fresher like me

    Madam i am new at testing, i have one query, i recorded my scenario but when i execute them they failed to perform action on HTML control like button and hyperlink, means a mouse click event is occur but button doesn't perform any action, plz give me advice and guidance … waiting for your kind corporation and advice

    [Anu] Piyush –  Can you try dragging the cross hair of the builder to that control, add to UI map and do a programmatic click?

Comments are closed.

Skip to main content