Our web application uses pop-up windows to edit a record. The grid passes a query string with the guid id for the record to be edited, which is a solid way to edit the right record, but introduces testing issues. The test passes that guid in, but if the database is reloaded, different guids are created and the test will fail.
http://www.qualitytest.com/StandardEdit.aspx?Op=Edit&Id=9d13be77-8570-467a-a4e4-a35a1330d716
We needed to design a query string parameter that passes in a parameter that can be searched and not rely on a guid when testing.
http://www.qualitytest.com/StandardEdit.aspx?Op=Edit&Name=TestStandard
It was simple to add a special parameter for testing ...