Results 1 to 1 of 1

Thread: Unable to control navigation Menu of an intranet website which having frames

  1. #1
    VBAX Regular raj85's Avatar
    Joined
    Feb 2010
    Location
    Mumbai
    Posts
    34
    Location

    Question Unable to control navigation Menu of an intranet website which having frames

    Hello friends,

    I am trying acess one website's navigation menus which are in Frames but somehow I am not able to get it.
    Below is the HTML source of page.

    <FRAMESET ROWS="82,0,*,18" BORDER="0" > 
    <FRAME NAME="top"  SRC="myMenu.asp?empid=30554&seskey=7409" scrolling="no" marginheight=0 frameborder=0 > 
    <FRAME SRC="blank.html" NAME="dummy" noresize> 
    <FRAME SRC="../login/blank.asp?empid=30554&seskey=7409" NAME="display" noresize> 
    <FRAME SRC="../includes/equipfooterlogo.asp" NAME="displayfooter" noresize scrolling="no"> 
    
    HTML of navigation Menu is under 1st frame named "top", I have attached source of frame.
    And I am trying to access menu item named "Transaction" below is HTML code for same you can find it in attached HTML source.
    <DIV style="CLIP: rect(0px 153px 60px 0px); BACKGROUND-COLOR: #556b2f; WIDTH: 153px; HEIGHT: 60px; VISIBILITY: visible; COLOR: #ffffff; TOP: 0px; LEFT: 0px; bgColor: #556b2f" id=divoCMenu0_1 class=cloCMenu0>Transaction</DIV></DIV> 
    
    I tried to access it by many ways but no luck


    IE.Document.getelementbyid("top").Document.ChildNodes.Item(0).getelementbyid("divoCMenu0_1").Click 
    'Also tried
    IE.Document.getelementbyid("top").Document.getelementbyid("divoCMenu0_1").Click 
    
    


    Please give me some solution.
    Attached Files Attached Files

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •