Top achievements
Rank 1
Francesco asked on 29 Mar 2019, 11:50 AM

Hi everybody,
I was wondering whether if it was a way to inject the farx file during the loading of the program for test-automation purposes.

Is that possible?

Could it be possible using the command line to do that ?

## 2 Answers, 1 is accepted

0
Simeon
Telerik team
answered on 29 Mar 2019, 03:26 PM
Hi Francesco,

The Fiddler AutoResponder Xml (.farx) files have the same structure as the %USERPROFILE%\Documents\Fiddler2\AutoResponder.xml file. During the loading, Fiddler reads the AutoResponder.xml file. This means that you can overwrite it with any .farx file you wish and Fiddler will use it.

Another option is to use the OnBoot method in the FiddlerScript:
public static void OnBoot()
{
    FiddlerApplication.oAutoResponder.LoadRules(@"path\to\file.farx", true);
}

Regards,
Simeon
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Francesco
Top achievements
Rank 1
answered on 29 Mar 2019, 04:07 PM

Thank you Simeon!