08-21-2012, 01:43 AM
I am to make a reusable action that will allow me to click an OK or Cancel dialog button in Firefox. The action will be used in multiple tests.
So far I have this:
This action works most of the time, but some tests fail saying:
"The "[ Browser ]" object's description matches more than one of the objects currently displayed in your application. Add additional properties to the object in order to uniquely identify the object."
Are there more descriptions I can add so that this works every time with any Firefox page?
Any help would be greatly appreciated.
So far I have this:
Code:
Browser("micclass:=Browser").HandleDialog micCancel
This action works most of the time, but some tests fail saying:
"The "[ Browser ]" object's description matches more than one of the objects currently displayed in your application. Add additional properties to the object in order to uniquely identify the object."
Are there more descriptions I can add so that this works every time with any Firefox page?
Any help would be greatly appreciated.