12-01-2011, 02:58 AM
Hi,
I have a Menu which is displayed when i hover the mouse on it.
It displays a list of menu options depending on the user permissions.
My scenario is to check if a particular menu option is not displayed for a user.
I'm trying to use the below line of code to check the option is not present for the user.
But it throws an error message since the object was not found in the object repository.
How do i handle this scenario?
I have a Menu which is displayed when i hover the mouse on it.
It displays a list of menu options depending on the user permissions.
My scenario is to check if a particular menu option is not displayed for a user.
I'm trying to use the below line of code to check the option is not present for the user.
Code:
Browser("IE").Page("Page").Link("ABC").Exist
But it throws an error message since the object was not found in the object repository.
How do i handle this scenario?