This topic is locked
[SOLVED]

 What does pageObject.stopPRG do?

4/5/2018 11:36:22 AM
ASPRunner.NET General questions
J
jetsguy author

What does pageObject.stopPRG do? I cannot seem to find any documentation on it. It is mentioned in code examples. How to display any page in Bootstrap popup window

admin 4/5/2018

PRG stands for Post/Redirect/Get technique:

https://en.wikipedia.org/wiki/Post/Redirect/Get
The idea of the following code is to prevent redirect from happening so value assigned to proxy object doesn't get lost.

pageObject.setProxyValue("saved", true);

pageObject.stopPRG = true;