Automating HttpWatch using Asp.Net RRS feed

  • General discussion

  • Hello,

    Requirement is to open an IE browser window with the help of Httpwatch.Plugin object, when I run code through visual studio everything works fine but when am publishing my site through IIS, plugin object is unable to open an IE instance.

    here is some sample code

    namespace Test
      public partial class TestWebForm : System.Web.UI.Page
        static string rootPath = @"C:\result";
        string folderName =    System.IO.Path.Combine(rootPath,"Test");
        string uplodedFile;
       protected void Page_Load(object sender, EventArgs e)
       {      }
       protected void Button1_Click(object sender, EventArgs e)
         string url = TextBox1.Text;
         HttpWatch.Controller controller = new HttpWatch.Controller();
         HttpWatch.Plugin plugin= controller.IE.New(); // this fails and unable to open new IE window
         controller.WaitEx(plugin, -1, true, false, 5);

         uplodedFile = System.IO.Path.Combine(folderName, "Myhar.har");

    Note – I have checked Manage add-on's and browsing option, HttpWatch is enabled and thirdparty tools option is checked.


    OS - windowz 7(64 bit)

    IIS 7

    Visual studio 2013

    laguage - Asp.NET and C# for server side.

    Let me know if any one has any solution.

    • Changed type Danzy Wednesday, September 28, 2016 10:32 AM
    Wednesday, September 28, 2016 7:45 AM