[Wtr-general] Fire an event in <td> tag

Devesh Verma, HCL-Industry Solutions deveshverma at hcl.in
Thu Jan 4 06:23:27 EST 2007


Hey Rahul !!!

Try this code

ie.table(:index, 9)[3][2].image(:src,
http://localhost/HRPrimeTimeWebUI/images/edit.gif").click

simply click on the image of Approval Inbox !!

Regards
Devesh Verma

-----Original Message-----
From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Rahul Gupta
Sent: Thursday, January 04, 2007 4:02 PM
To: wtr-general at rubyforge.org
Subject: [Wtr-general] Fire an event in <td> tag

Pls see the code. this is an web application. i want to fire the event
inside the <td> tag for Approval  Inbox.

<form id="Form" style="HEIGHT: 100%" name="Form" method="post"
encType="multipart/form-data"
action="http://localhost/HRPrimeTimeWebUI/Default.aspx">
	<table class="width100" id="table2">
		<tr>
			<td align="middle">
			<table class="tablemain" id="table3">
				<tr>
					<td class="width100">
					<table class="width100"
id="table4">
						<tr>
							<td
class="leftPannel" id="dnn_LeftPane" style="BORDER-RIGHT: #cccccc 1px
dotted; BORDER-TOP: #cccccc 1px dotted; BORDER-LEFT: #cccccc 1px dotted;
BORDER-BOTTOM: #cccccc 1px dotted">
							<span
class="SubHead"><br>
&nbsp;</span><div id="dnn_ctr987_DD" style="POSITION: relative"
moduleid="987">
								<link
href="http://localhost/HRPrimeTimeWebUI/Portals/_default/Containers/HRPr
imeTime/container.css" type="text/css" rel="stylesheet">
								<table
class="width100" cellSpacing="0" cellPadding="0" id="table5">
	
<tr>
	
<td>
	
<table class="width100" cellSpacing="0" cellPadding="0" id="table6">
	
<tr>
	
<td class="leftportletheader">
	
<span id="dnn_ctr987_dnnACTIONS_ctldnnACTIONS" SupportsTrans="1"
CSSRootMenuArw="ModuleTitle_RootMenuArrow"
CSSMenuItemSel="ModuleTitle_MenuItemSel"
CSSMenuItem="ModuleTitle_MenuItem" CSSMenuIcon="ModuleTitle_MenuIcon"
CSSSubMenu="ModuleTitle_SubMenu" CSSMenuBar="ModuleTitle_MenuBar"
CSSMenuContainer="ModuleTitle_MenuContainer"
CSSMenuBreak="ModuleTitle_MenuBreak"
CSSMenuArrow="ModuleTitle_MenuArrow" ArrowImage="action_right.gif"
IconImgPath="/HRPrimeTimeWebUI/Images/" MenuTransition="None"
MOutDelay="500" MODisplay="None" IconWidth="15" Display="horizontal"
SysImgPath="/HRPrimeTimeWebUI/Images/" FontStyle="font-family: ;
font-size: ; font-weight: normal; font-style: normal; text-decoration: "
SelColor="Navy" SelForeColor="White" ShColor="Gray" HlColor="White"
name="dnn:ctr987:dnnACTIONS:ctldnnACTIONS">
	
<table class="dnn_ctr987_dnnactions_ctldnnactions_spmbctr
ModuleTitle_MenuContainer" id="table7" cellSpacing="0" cellPadding="0"
width="100%" border="0">
	
<tr>
	
<td>
	
<table cellSpacing="0" cellPadding="0" width="100%" border="0"
id="table8">
	
<tr
onmouseup="m_oSolpartMenu['dnn_ctr987_dnnACTIONS_ctldnnACTIONS'].onMBMU(
this);" class="dnn_ctr987_dnnactions_ctldnnactions_spmbar
dnn_ctr987_dnnactions_ctldnnactions_spmitm ModuleTitle_MenuBar
ModuleTitle_MenuItem"
onmousedown="m_oSolpartMenu['dnn_ctr987_dnnACTIONS_ctldnnACTIONS'].onMBM
D(this);" id="tddnn_ctr987_dnnACTIONS_ctldnnACTIONS0"
onmouseover="m_oSolpartMenu['dnn_ctr987_dnnACTIONS_ctldnnACTIONS'].onMBM
O(this);" style="FONT-SIZE: 1pt; LEFT: 104px; TOP: 303px;
BACKGROUND-COLOR: transparent"
onclick="m_oSolpartMenu['dnn_ctr987_dnnACTIONS_ctldnnACTIONS'].onMBC(thi
s, event);"
onmouseout="m_oSolpartMenu['dnn_ctr987_dnnACTIONS_ctldnnACTIONS'].onMBMO
UT(this);" menuclick saveselcss savecss>
	
<td title noWrap unselectable="on">
	
<img src="http://localhost/HRPrimeTimeWebUI/Images/action.gif">&nbsp; 
	
&nbsp; 
	
</td>
	
</tr>
	
</table>
	
</td>
	
<td width="100%">&nbsp;</td>
	
</tr>
	
</table>
	
</span></td>
	
<td class="leftportletheader1">
	
<span class="leftportletheaderYellow" id="dnn_ctr987_dnnTITLE_lblTitle"
style="CURSOR: hand" callback="dnn.xmlhttp.doCallBack('lblTitle
dnn_ctr987_dnnTITLE_lblTitle','[TEXT]',this.callBackSuccess,this,this.ca
llBackFail,this.callBackStatus);" cssOver="LabelEditOverClass"
cssEdit="LabelEditTextClass" sysimgpath="images/" contID="dnn_ctr987_DD"
dragComplete="__dnn_dragComplete()" dragOver="__dnn_dragOver()">
	
Launch Pad</span> 
	
</td>
	
</tr>
	
</table>
	
</td>
	
</tr>
	
<tr>
	
<td colSpan="2">
	
<img height="3" alt=""
src="http://localhost/HRPrimeTimeWebUI/Portals/_default/Containers/HRPri
meTime/spacer.gif" width="100%"></td>
	
</tr>
	
<tr>
	
<td class="leftportletcontent">
	
<table class="width100" id="table9">
	
<tr>
	
<td class="spacer" id="dnn_ctr987_ContentPane" align="left"><!--
Start_Module_987 -->
	
<div id="dnn_ctr987_ModuleContent">
<SCRIPT language=JavaScript 
src="http://localhost/HRPrimeTimeWebUI/js/LaunchPad.Toggle.js"></SCRIPT>

<SCRIPT language=JavaScript 
src="http://localhost/HRPrimeTimeWebUI/js/LaunchPad.Rollovers.js"></SCRI
PT>

<SCRIPT language=JavaScript type=text/JavaScript>
<!--
     MM_reloadPage(true);
//-->
</SCRIPT>

	
<table class="LaunchPadcontentTable" id="table10" border="0">
	
<tr>
	
<td class="LaunchPadbullet" id="NavItem1"
onmouseover="javascript:LaunchPad3(NavItem1,NavItem2)"
onclick="javascript:HideAllChildren('dnn_ctr987_ViewLaunchPad_lblPanelCo
unt' );SelectMenuItem('NavItem1','NavItem2','20','ChildPanel1');"
onmouseout="javascript:LaunchPad4(NavItem1,NavItem2)">&nbsp;</td>
	
<td class="LaunchPadbullettextcell" id="NavItem2"
onmouseover="javascript:LaunchPad3(NavItem1,NavItem2)"
onclick="javascript:HideAllChildren('dnn_ctr987_ViewLaunchPad_lblPanelCo
unt');SelectMenuItem('NavItem1','NavItem2','20','ChildPanel1');NavigateU
RL('/HRPrimeTimeWebUI/Default.aspx?tabid=458&amp;ActiveBulletCell=NavIte
m1&amp;ActiveItemCell=NavItem2&amp;ChildRowID=ChildPanel1','False',NavIt
em1,NavItem2)" onmouseout="javascript:LaunchPad4(NavItem1,NavItem2)">
	
<a
href="http://localhost/HRPrimeTimeWebUI/Home/tabid/36/ctl/Edit/mid/987/I
temID/396/Default.aspx">
	
<img src="http://localhost/HRPrimeTimeWebUI/images/edit.gif" border="0">
	
</a>Policies &amp; 
	
Procedures</td>
	
</tr>
	
<tr id="ChildPanel1" style="DISPLAY: none">
	
<td colSpan="2">&nbsp;</td>
	
</tr>
	
<tr>
	
<td class="LaunchPadbullet" id="NavItem3"
onmouseover="javascript:LaunchPad3(NavItem3,NavItem4)"
onclick="javascript:HideAllChildren('dnn_ctr987_ViewLaunchPad_lblPanelCo
unt' );SelectMenuItem('NavItem3','NavItem4','20','ChildPanel2');"
onmouseout="javascript:LaunchPad4(NavItem3,NavItem4)">&nbsp;</td>
	
<td class="LaunchPadbullettextcell" id="NavItem4"
onmouseover="javascript:LaunchPad3(NavItem3,NavItem4)"
onclick="javascript:HideAllChildren('dnn_ctr987_ViewLaunchPad_lblPanelCo
unt');SelectMenuItem('NavItem3','NavItem4','20','ChildPanel2');NavigateU
RL('/HRPrimeTimeWebUI/Default.aspx?tabid=454&amp;ActiveBulletCell=NavIte
m3&amp;ActiveItemCell=NavItem4&amp;ChildRowID=ChildPanel2','False',NavIt
em3,NavItem4)" onmouseout="javascript:LaunchPad4(NavItem3,NavItem4)">
	
<a
href="http://localhost/HRPrimeTimeWebUI/Home/tabid/36/ctl/Edit/mid/987/I
temID/403/Default.aspx">
	
<img src="http://localhost/HRPrimeTimeWebUI/images/edit.gif" border="0">
	
</a>Approval Inbox</td>
	
</tr>
	
</table>
	
</div>
	
</td>
	
</tr>
	
</table>
	
</td>
	
</tr>
								</table>
							</div>
							</td>
						</tr>
					</table>
					</td>
				</tr>
			</table>
			</td>
		</tr>
	</table>
</form>
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5992&messageID=16793#16793
_______________________________________________
Wtr-general mailing list
Wtr-general at rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------


More information about the Wtr-general mailing list