Hi All, Thanks a lot its working fine...
Regards, Venkat http://www.prog2impress.com/ On Apr 13, 11:48 pm, Chuck van der Linden <sqa...@gmail.com> wrote: > I think your nomenclature is what is confusing people. there is a > parameter of some objects that can set the to visible or not visible.. > so when people see 'visible' they think you are talking about this. > Especially since that property does not change if the object is in the > current 'view' of the user according to the scrolling of the screen. > > I expect that George's suggestion might work for you since what you > want is not to change the properties of the link, or set thefocuson > the link, but to scroll the browser window till it is in view of the > user. > > On Apr 13, 2:16 am, venky <venkatesh...@gmail.com> wrote: > > > Hi Orde, > > > Thanks for ur reply. This does't meet the requirement. Let me make > > things clear. When Iclicka link manually I have to scroll down and > >clickthe link. But when I automate toclickthe link, the link is > > getting clicked which is not visible to the user. So my requirement is > > to make the link visible and then toclickthe link. I searched the > > watir api so that is there any function for that but i could't find. > > > Can any body throw some light on it. > > > Thanks, > > Venkatesh > > > On Apr 8, 11:32 pm, orde <ohil...@gmail.com> wrote: > > > > Perhaps: > > > > @browser.link(:id, 'link_id').fire_event('onfocus') > > > @browser.link(:id, 'link_id').click > > > > Do you have sample HTML? > > > > On Apr 8, 5:13 am, venky <venkatesh...@gmail.com> wrote: > > > > > Hi All, > > > > > I need toclicka link which isoutoffocusin the page. I want the > > > > particular link or image to be visible and thenclickit. Can any body > > > > throw some light on it > > > > > Thanks, > > > > Venkatesh- 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 -~----------~----~----~----~------~----~------~--~---