Skip to main content
Solved

Offline functionality testing


Forum|alt.badge.img+5

Is it possible to test offline functionality in the 'debug viewer’.

Best answer by Leroy Witteveen

Hello Peter,

You can turn off network connectivity for the Viewer by starting the Viewer using the “debug.bat” file which is included with the Viewer, opening the “Network” tab and turning on “Offline”:

 

Kind regards,
Leroy Witteveen

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

4 replies

Leroy Witteveen
Moderator
Forum|alt.badge.img+3

Hi Peter,

 

It's certainly possible to test offline logic in the Viewer.

Is your offline logic not executing at the moment in the Viewer?

If so, open the settings cog at the bottom of the login screen and turn on “Default offline logic”:

 

When this is turned on, the offline logic will always be executed, whereas with this setting turned off, the offline logic will only be executed when you don't have an internet connection.

 

Kind regards,

Leroy Witteveen


Forum|alt.badge.img+5
  • Author
  • Captain
  • 47 replies
  • January 15, 2020

Hello Leroy,

Thanks for the message. When i check this box, the application still sends the queries to the database. I would like to test what happens when the app has no internet / network connection.

Kind regards,

Peter


Leroy Witteveen
Moderator
Forum|alt.badge.img+3

Hello Peter,

You can turn off network connectivity for the Viewer by starting the Viewer using the “debug.bat” file which is included with the Viewer, opening the “Network” tab and turning on “Offline”:

 

Kind regards,
Leroy Witteveen


Forum|alt.badge.img+5
  • Author
  • Captain
  • 47 replies
  • January 16, 2020

Hi Leroy,

Works great!

Kind regards,

Peter


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings