NavXtender only supports 1 path, so if you want to treat production and test separately you would need to change the path in NavXtender when you change companies in NAV. There is no automation, so this would need to be done manually each time you switch.
If you upgrade to Business Central SaaS, the current version of DocXtender stores by company so you don’t need to manually switch.