Try
ie.table.fire_event("onmousedown")
ie.table.fire_event("onmouseup")
ie.table.fire_event("onclick")
On Apr 27, 10:19 am, Shweta <[email protected]> wrote:
> Hi
> In my application after i search for an id from serach page it
> displays the result in a grid/table,There i need to click on the
> result.later it navigates to other page there i need to perform the
> actions.
>
> I used something like this code:
>
> ie.table(:index,1).click
>
> It dint work out.
>
> Can anyone suggest solution for this
>
> html code is like this:
>
> ONCLICK="window.location='/VBU/market/viewid.do?Id=13133';"
>
> STYLE='cursor:hand;backgroundColor:white'
>
> ONMOUSEOVER="this.style.backgroundColor='#BC9898';"
>
> ONMOUSEOUT="this.style.backgroundColor='white';">
>
> <td >
>
> John
>
> </td>
>
> <td >
>
> 132133
>
> </td>
>
> <td >
>
> QS
>
> </td>
>
> <td >
>
> N
>
> </td>
>
> <td >
>
> N/A
>
> </td>
>
> <td >
>
> Smith
>
> </td>
>
> <td >
>
> AR
>
> </td>
>
> <td >
>
> John Marketing brokers
>
> </td>
>
> <td nowrap >
>
> $123,456
>
> </td>
>
> <td nowrap >
>
> 04-23-09
>
> </td>
>
> <td nowrap >
>
> 04-24-09
>
> </td>
>
> <td >
>
> </td>
>
> <td >
>
> ABCD 4343
>
> </td>
>
> </tr>
>
> </table>
>
> </td>
>
> </tr>
>
> <tr>
>
> <td colspan="4">
>
> <br>
>
> </td>
>
> </tr>
>
> <tr>
>
> <td>
>
> <table
> border="0" width="100%" cellpadding="2" cellspacing="2"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---