I checked few other discussions on similar issues. But in none of them
there is a solution available.
Is this Issue can't be fixed?

On Apr 27, 12:29 pm, Shweta <nagman...@gmail.com> wrote:
> Hi
>
> I tried like this,But it does not clicks on tab,I need to click here
> on Selection tab,Can anyone suggest me the solution for this.
>
> ie.cell(:class,"tab).image(:src,"../images/tabBetween.jpg").click
>
> HTML Code:
> <TR>
> <TD NOWRAP STYLE="cursor:hand;" ONCLICK="goToUrl('/
> quoteShellValidationAction.do?dispatch=ShellInfo');"
> CLASS=tabSelected>&nbsp;&nbsp;&nbsp;&nbsp;
> Info&nbsp;&nbsp;&nbsp;&nbsp;</TD>
> <TD><IMG SRC="../images/tabBetween.jpg" BORDER=0></TD>
> <TD NOWRAP STYLE="cursor:hand;" ONCLICK="goToUrl('/
> ShellValidationAction.do?dispatch=CarrierInfo');"
> CLASS=tab>&nbsp;&nbsp;&nbsp;&nbsp;Selection&nbsp;&nbsp;&nbsp;&nbsp;</
> TD>
> <TD><IMG SRC="../images/tabBetween.jpg" BORDER=0></TD>
> <TD NOWRAP STYLE="cursor:hand;" ONCLICK="goToUrl('/
> ShellValidationAction.do?dispatch=ShellCoverageInfo');"
> CLASS=tab>&nbsp;&nbsp;&nbsp;&nbsp;Quote
> Coverage&nbsp;&nbsp;&nbsp;&nbsp;</TD>
> <TD><IMG SRC="../images/tabBetween.jpg" BORDER=0></TD>
> <TD NOWRAP STYLE="cursor:hand;" ONCLICK="goToUrl('/
> ShellValidationAction.do?dispatch=ShellProducerInfo');"
> CLASS=tab>&nbsp;&nbsp;&nbsp;&nbsp;Producer&nbsp;&nbsp;&nbsp;&nbsp;</
> TD>
> <TD width = 99%><IMG SRC="../images/tabBetween.jpg" BORDER=0></TD>
> </TR>
> <TR>
>
> On Apr 27, 12:09 pm, Vishal <bvkon...@gmail.com> wrote:
>
>
>
> > I asked the developers, we checked the in 
> > websitehttp://extjs.com/deploy/dev/docs/
> > documents onTabpanel.
> > We think following event is fired
> > i)activate : ( Ext.Panel p )
> > Fires after the Panel has been visually activated. Note that Panels do
> > not directly support being activated, but some...
> > Fires after the Panel has been visually activated. Note that Panels do
> > not directly support being activated, but some Panel subclasses do
> > (like Ext.Window). Panels which are child Components of a TabPanel
> > fire the activate and deactivate events under the control of the
> > TabPanel.
> > Listeners will be called with the following arguments:
>
> >     * p : Ext.Panel
> >       The Panel that has been activated.
>
> > ii)beforetabchange : ( TabPanel this, Panel newTab, Panel currentTab )
> > Fires before the activetabchanges. Handlers can return false to
> > cancel thetabchange.
> > Fires before the activetabchanges. Handlers can return false to
> > cancel thetabchange.
> > Listeners will be called with the following arguments:
>
> >     * this : TabPanel
> >     * newTab : Panel
> >       Thetabbeing activated
> >     * currentTab : Panel
> >       The current activetab
>
> > When we implement this in our code
> > $ie.span(:text ,"Documents").span(:index,1).fire_event("activate")
>
> > I get an exception
> > D:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:257:in
> > `method_m
> > issing': fireEvent (WIN32OLERuntimeError)
> >     OLE error code:80070057 in htmlfile
> >       Invalid argument.
>
> > I guess there is no such Event, thats why I am getting this message.
>
> > Let me know if we test do this in a different way.
> > On Apr 24, 5:55 pm, Željko Filipin <zeljko.fili...@wa-research.ch>
> > wrote:
>
> > > On Fri, Apr 24, 2009 at 14:53, Vishal <bvkon...@gmail.com> wrote:
> > > > Do you have any other suggestions?
>
> > > Ask your developer(s) are they sure that onclick is fired. If the answer 
> > > is
> > > yes, show them how your code can opentabwhen firing that event.
>
> > > Željko- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to