Jump to content
Sign in to follow this  
Satish

Clicking on Menu with Frames

Recommended Posts

Satish

Hi I am trying to automate GUI. It has Menus which i need to select (click) but it has frames. Using AutoIt can anybody help me how to get Frames and select menu on it?

Please find source of the webpage and help me

Share this post


Link to post
Share on other sites
Satish

i could attach file..source line for frame

<td nowrap colspan="4"><div class='yuimenubar' id='flexi_id_33'><div class='bd'><ul class='first-of-type'><li class='yuimenubaritem'><a class='yuimenubaritemlabel'>Application Launcher</a><div class='yuimenu' ><div class='bd'><ul><li class='yuimenuitem' onclick="document.getElementById('appcontentframe').src='/ALDownload/index.html';" ><a class='yuimenuitemlabel'>Download</a></li></ul></div></div></li><li class='yuimenubaritem'><a class='yuimenubaritemlabel'>Log Viewer</a><div class='yuimenu' ><div class='bd'><ul><li class='yuimenuitem' onclick="document.getElementById('appcontentframe').src='/LogViewer/jsp/logViewer.jsp';" ><a class='yuimenuitemlabel'>View Logs</a></li></ul></div></div></li><li class='yuimenubaritem'><a class='yuimenubaritemlabel'>SW Version Viewer</a><div class='yuimenu' ><div class='bd'><ul><li class='yuimenuitem' onclick="document.getElementById('appcontentframe').src='/SWVersionViewer/jsp/swViewer.jsp';" ><a class='yuimenuitemlabel'>View current SW Sets</a></li><li class='yuimenuitem' onclick="document.getElementById('appcontentframe').src='/SWVersionViewer/jsp/currentDelivery.jsp';" ><a class='yuimenuitemlabel'>View current delivery</a></li></ul></div></div></li><li class='yuimenubaritem'><a class='yuimenubaritemlabel'>Configuration Management</a><div class='yuimenu' ><div class='bd'><ul><li class='yuimenuitem'><a class='yuimenuitemlabel'>Network Topology</a><div class='yuimenu' ><div class='bd'><ul><li class='yuimenuitem' onclick="document.getElementById('appcontentframe').src='/TopologyBrowser/jsp/topology/browseTopology.jsp';" ><a class='yuimenuitemlabel'>Tree View</a></li><li class='yuimenuitem' onclick="document.getElementById('appcontentframe').src='/TopologyBrowser/jsp/topology/cells.jsp?view=0';" ><a class='yuimenuitemlabel'>List View</a></li><li class='yuimenuitem' onclick="document.getElementById('appcontentframe').src='/TopologyBrowser/jsp/topology/neGroups.jsp';" ><a class='yuimenuitemlabel'>NE Group Management</a></li><li class='yuimenuitem' onclick="document.getElementById('appcontentframe').src='/TopologyBrowser/jsp/topology/operations.jsp';" ><a class='yuimenuitemlabel'>Topology Operation Log</a></li><li class='yuimenuitem' onclick="document.getElementById('appcontentframe').src='/TopologyBrowser/jsp/fap/fapSearch.jsp';" ><a class='yuimenuitemlabel'>FAP Management</a></li></ul></div></div></li><li class='yuimenuitem'><a class='yuimenuitemlabel'>CM Plan Management</a><div class='yuimenu' ><div class='bd'><ul><li class='yuimenuitem' onclick="document.getElementById('appcontentframe').src='/TopologyBrowser/jsp/plan/planManagement.jsp';" ><a class='yuimenuitemlabel'>Plan Management</a></li><li class='yuimenuitem' onclick="document.getElementById('appcontentframe').src='/TopologyBrowser/jsp/plan/planLogs.jsp';" ><a class='yuimenuitemlabel'>Plan Operation log</a></li></ul></div></div></li><li class='yuimenuitem'><a class='yuimenuitemlabel'>SW Management</a><div class='yuimenu' ><div class='bd'><ul><li class='yuimenuitem' onclick="document.getElementById('appcontentframe').src='/TopologyBrowser/jsp/sw/swManagement.jsp';" ><a class='yuimenuitemlabel'>SW Management</a></li></ul></div></div></li></ul></div></div></li></ul></div></div><script type='text/javascript'>window.onload = Flexi.chainFun(window.onload, function() {var menuelem = document.getElementById('flexi_id_33');var menu = new YAHOO.widget.MenuBar(menuelem);menu.render();menuelem.style.visibility='visible'; menu.show();});</script></td>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.