Ask a questionAsk a question
 

AnswerHow to record a web test in vsts 2008 using mozilla browser

  • Thursday, November 05, 2009 6:08 AMvishal.sharma Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    I am a beginner with VSTS.
    I have an web application, which runs on mozilla 2.0.20 only (application is not IE compatible). VSTS 2008 open IE as default recorder.
    Is there a way to record this application (opening mozilla as a default browser) using vsts 2008?

    Thanks in advance.

    vishal

Answers

  • Thursday, November 05, 2009 3:12 PMslumley MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    The VSTS recorder only works with IE.  If you want to record with mozilla, you would have to use fiddler.
    Blog - http://blogs.msdn.com/slumley/default.aspx

All Replies

  • Thursday, November 05, 2009 10:47 AMCharvaka Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vishal

    You can set the Browser of your choice by selecting from the "Edit Test Run Configuration > Local Test Run" from the Test Menu

    In the local test run dialog box click on the Webtest in the left menu and select the Browser type of your choice.


    For more details on How to: Specify a Test Run Configuration browse this link
    http://msdn.microsoft.com/en-us/library/ms182480.aspx


    -Charu
  • Thursday, November 05, 2009 1:17 PMTimJim Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Charvaka's response will allow you to simulate firefox at runtime. 


    To record a test with a different browser
    (I haven't tried this first one) 
    1) you can set the browser you want to use recording to the default browser

    or
    2) You can also use fiddler. (I do this often and it works well)
    Download and install fiddler (www.fiddlertool.com)
    launch the browser 
    Run fiddler and tell it to begin capturing
    navigate in the browser just as you would in IE
    Stop capturing traffic in fiddler
    highlight the requests you are interested in, Right click -> save -> Session(s)-> as Visual Studio Web Test
    (http://blogs.msdn.com/vstsqualitytools/archive/2006/12/21/testing-web-applications-with-pop-ups.aspx)
    Tim
  • Thursday, November 05, 2009 3:12 PMslumley MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    The VSTS recorder only works with IE.  If you want to record with mozilla, you would have to use fiddler.
    Blog - http://blogs.msdn.com/slumley/default.aspx
  • Thursday, November 12, 2009 8:17 AMEdwer FangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    Fiddler is the right choice. It is a Web Debugging Proxy which logs all HTTP(S) traffic between your computer and the Internet.

    Here is an article which offers detailed steps about recording with fiddler.
    http://blogs.msdn.com/slumley/pages/enhanced-web-test-support-in-fiddler.aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.