[wtr-general] Re: how to click link with CTRL key pressed in watir?

2009-08-17 Thread ashokmpm password

Hi Dylan

Thanks for your reply.

But still im stucked.

I have to send CTRL key event and at the same time click the link , so that 
link is opened which is blocked.

so how can i do this?

Actually im clicking link as --

$ie.link(:href, "javascript:openSearchWindow()").click

But this click i have to do with CTRL key pressed.SEND("{LCTRL}")

Can you help me on this.

Bhavesh



- Original Message 
From: Dylan 
To: Watir General 
Sent: Monday, August 17, 2009 9:15:02 PM
Subject: [wtr-general] Re: how to click link with CTRL key pressed in watir?


http://wtr.rubyforge.org/rdoc/classes/Watir/IE.html#M000256

-Dylan

On Aug 16, 11:32 pm, Bhavesh  wrote:
> Actually  currently i press CTRL key manually and then the link, it
> gets opened.
>
> But while automating how can i do this?
>
> Plz dont suggest to remove pop-blocker as i have already done whatever
> i can, now i have soem restriction from my office side.
>
> So i need to send CTRL+link click.
>
> Can anybody help me in this regard.
>
> Bhavesh


  

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: how to click link with CTRL key pressed in watir?

2009-08-17 Thread Dylan

http://wtr.rubyforge.org/rdoc/classes/Watir/IE.html#M000256

-Dylan

On Aug 16, 11:32 pm, Bhavesh  wrote:
> Actually  currently i press CTRL key manually and then the link, it
> gets opened.
>
> But while automating how can i do this?
>
> Plz dont suggest to remove pop-blocker as i have already done whatever
> i can, now i have soem restriction from my office side.
>
> So i need to send CTRL+link click.
>
> Can anybody help me in this regard.
>
> Bhavesh
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---