| || |
Unable to click on Element in Share Point
I have been trying to click on an Element which is a kind of drop down in Share Point portal.
The HTML of main element is as following -
I could easily record clicking the main select element using id <zz8_Menu>
But after this I am not able to click on sub element which direct me to a new page. HTML of one of such element is as following -
<ie:menuitem id="zz6_ID_RequestAccess" type="option" onMenuClick="window.location = '/_layouts/reqacc.aspx?type=list&amp;name=%7BA29238D2%2D9 69F%2D4AF7%2DB6F2%2DBCEDA8278D98%7D';" text="Request Access" description="Email the site administrator to request additional permissions." menuGroupId="200"></ie:menuitem>
My first approach was to use use id "zz6_ID_RequestAccess" to click on the element (after having clicked on main select menu) but I could not bring control on this menu item or any other and click on them. I tried using focus methods also but of no avail. I have attached screen shot to show as to how this select menu look like.
Re: Unable to click on Element in Share Point
Got the solution.
Addition of mouseOver command just before clicking the element helps in bringing control on that.
Hope this helps others who are facing same problem.