Visual Studio 2010 Test Package for Mozilla Firefox
Visual Studio 2010 Test Package for Mozilla Firefox
As you know Visual Studio 2010 Coded UI Test will not support Firefox recording, but is now supporting Firefox Playback.
Coded UI Test will not recognize Firefox objects, many customer needs the ability to run automation on Firefox browser, for that reason Microsoft just released a “Power Tool” just for that (Mozilla Firefox 3.5 and above).
“Visual Studio Test Package for Mozilla Firefox” which can be downloaded from here.
After you download the installation proceed with the instructions until this setup ends.
After the setup ends run the extension installation tool ( %CommonProgramFiles%\Microsoft Shared\VSTT\10.0\UITestExtensionPackages\ConfigFFExtension.exe )
Now when you start Firefox in the first time you will see Visual Studio Test Helper plug installed.
Microsoft Test Manager – Running Test
If have create a simple Test Case for Bing.com search test.
Run Test Case and make sure to check “Create action recording” – The First Run need to be recorded against Internet Explorer and not Firefox,
after you finish the first run you will notice Orange color beside the steps indicate about Automation available for those steps.
Now before you start the second iteration open “Run” combo and click “Change Browser For Playback”, this will open a new window that allows you to select the desire Browser for playback, select Firefox 3.5 and click “Save”.
Click “Play all”, and you will notice the Playback is running on Firefox 3.5.
Enjoy.