| || |
How to handle multiple instances of same object
I am working on a web application where several screens are opened while traversing through the links in application.There is a logoff button on every page of the application.so whenh i playback it find logoff button on every page,and thus falls into mutiple instance of object found exception.
Please tell me if there is some solution to handle this thing.
Re: How to handle multiple instances of same object
I would suggest checking the current URL for the page that is current displayed (or checking for part of it).
You can then determine which page you are on and whether or not you should click on the logoff button.