Forum Discussion

dyarwood's avatar
dyarwood
Contributor
11 years ago

anyone used TestComplete with Fiddler2

Hi,



I was wondering if anyone has tried using TestComplete with Fiddler2? 



If so, I'm wondering how did you check the Results pane to make sure the URL gave the correct response? For example, in the attached screenshot I'm sending a request which should be redirected. 

1 Reply

  • For me the results pane mapped to:



    Aliases.Fiddler.frmViewer.pnlSessions.lvSessions



    When I start the test, I send it Ctrl-X to clear the list



    sessions.Keys("^x");



    I was looking for 404s, adjust for your purposes:




            for (var j = 0, ic = sessions.wItemCount; j < ic; j++) {


                if (sessions.wItem(j, 1) === "404") {


                    Log.Error("Broken Link - " + sessions.wItem(j, 4));


                }


            }