11-02-2011, 04:24 PM
(This post was last modified: 11-03-2011, 10:31 PM by ravi.gajul.)
[color=#FFD700]Hi, When I click on a link say "Search Relationships" by the code shown below page navigation to the page the link is pointing to doesn't happen.
The source code of the page correspoding to the link is as shown below
Any help is highly appreciated.
The element to be clicked is in the last line of source code
Code:
Browser("name:=browser").Page("Page:=Page").WebTable("html id:=_ctl0_Search").WebElement("html tag:=TD","innertext:=Search Relationships).click
The source code of the page correspoding to the link is as shown below
Code:
<TABLE class=ContextMenu id=_ctl0_Search style="DISPLAY: none" cellSpacing=0 cellPadding=0><TBODY>
<TR class=ContextMenuItemHeader style="DISPLAY: none" commandname="Header">
<TD colSpan=2></TD></TR<TR class=ContextMenuItem onmouseover="this.className = 'ContextMenuItemSelected'" onclick="opener.PopupWindow.close ();opener.location.href = '/Genesis/Search/RelationshipSearch.aspx';opener.contextMenuClick (this);" onmouseout="this.className = 'ContextMenuItem'" commandname="RelationshipSearch">
<TD class=Image><IMG height=16 src="/Genesis/Images/Search.gif" width=16 align=absMiddle></TD>
<TD class=Text noWrap>Search Relationships</TD></TR>
</TBODY></TABLE>
The element to be clicked is in the last line of source code
Code:
<TD class=Text noWrap>Search Relationships</TD></TR>