On the rare occasion, the output for a Watch Item is different comparing a "Test" and a "Run". Why?
If you are running WebWatchBot as a service, you may notice that the output for a Watch Item may be different in the Output window pane compared to the output when a "Test" is run.
This is because WebWatchBot running as a windows service is running under a different Windows user account and may not have all of the settings or access that the logged in user does when running a test.
To describe it in a different way, there are two user accounts involved for each scenario:
"Test" a Watch Item - currently logged in user is executing the test. "Run" a Watch Item - the user account for the WebWatchBot service is executing the run. By default the user account is "System".
To fully resolve this issue, change the user account for the WebWatchBot service to a user account that has the same or similar settings and access as the user account configuring WebWatchBot.
To change the user account of the WebWatchBot Service:
- Control Panel
- Administrative Tools
- Find "WWBServer"
- Right-click on WWBServer and select "Properties"
- Click the "Log on" tab.
- Select the "This account tab"
- Enter the user account and password.
- Click OK
- Restart the service.