18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Box contents disappears when going back in history

hkgenhkgen Members
edited April 2013 in Sahi - Open Source
I am testing a page that displays a database record as a number of text boxes and drop-down boxes.
On this page one can make changes.
When ready their is a Verify button that goes into another page where all fields are checked and fields marked as accepted or rejected
This new page contains 2 buttons, Confirm and Go back
The code for the Go back button is:
<input type="reset" onclick="javascript:history.go(-1);" value="Go back">
When I don't use the Sahi proxy, the Go back button redisplays the edit page, with all the changes made
With the Sahi proxy in place, the Go back button will lose all changes
Is this standard behavior of Sahi? Can that be changed?
Or is it caused by Firefox when a proxy is configured? Does an option exist that is responsible for this?

Answers

  • Hi hkgen,
    This is standard behavior of Sahi. This happens because the data is being fetched from the webserver rather than the cached page.

    Regards.
Sign In or Register to comment.