[wtr-general] Can Watir/FireWatir execute right click?

2010-11-21 Thread LittlePaws
I was able to open and browse the web in the main window. Then, by clicking a link to popup window and find the link that I wanted to click. That particular link in the child window is directed to open an xls file in a new popup. When I excute ie2.link(:text, click this link to file).click It

[wtr-general] click_no_wait fails for button to open modal dialog (Win XP, Ruby 1.8.6.26, Watir 1.6.7)

2010-11-21 Thread Kushal
Hi all, I am stuck in this problem for three days now. I need to open a modal dialog from a button on a webpage. When I use click or fire_event(onclick), execution just hangs. This is understandable as it waits for work to be completed on the modal dialog. Therefore, I am trying to use

[wtr-general] Re: Can Watir/FireWatir execute right click?

2010-11-21 Thread Dave McNulla
LittlePaws If you stop execution at that command, what happens? As for the right click, I've never used that but I did find this: http://wiki.openqa.org/display/WTR/Right+Click+an+Element There are also some topics in this forum (put right click in the text box above and click Search this group

[wtr-general] Re: Can Watir/FireWatir execute right click?

2010-11-21 Thread Dave McNulla
I got that working with a small change in the main: def main() # Open google index page, and send a right click to the logo image #~ br = Watir::IE.new() #~ br.goto('http://www.tsa.gov/travelers/airtravel/prohibited/ permitted-prohibited-items.shtm') #just because I kept running it over and

[wtr-general] Re: Converting Watir::Waiter.wait_until to element.wait_until

2010-11-21 Thread dt_nz
Hi, I cant find the rdoc for Watir::Wait and Watir::ElementExtensions. Can you tell me how to generate it or where it located locally in the ruby directories. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Re: Can Watir/FireWatir execute right click?

2010-11-21 Thread LittlePaws
Dave, When I stop execution at the command 'click', a new window shows up for half a second and immediately disappears. Any idea why this happens? On Nov 21, 6:26 pm, Dave McNulla mcnu...@gmail.com wrote: LittlePaws If you stop execution at that command, what happens? As for the right

[wtr-general] Waiter

2010-11-21 Thread sivam
Hi I am using following code for wait.. Watir::Waiter::wait_until {ie.frame(:index,3).text.include? Enter any information you have and click Search. Leave fields blank for a list of all values. } it was working fine with old version 1.6.5.. But now i am facing problem with this command.. Could

[wtr-general] OLE error code 0x80020009

2010-11-21 Thread sivam
Hi I am facing this access denied error ole error code:80020009.. I have tried ie.Logger.level = Logger::ERROR. But still getting the same error -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Re: Can Watir/FireWatir execute right click?

2010-11-21 Thread Dave McNulla
LittlePaws, I am not sure, but maybe there is a popup blocker or popup killer closing it. But you said it's working manually. Is the window opening the one you expect to see? Is your application supposed to open a new window from a link or a new tab? That could depend on the link, or the settings

Re: [wtr-general] OLE error code 0x80020009

2010-11-21 Thread Hrishikesh Bose
it happens sometimes when frames are used. try to visit the following url http://wiki.openqa.org/display/WTR/Frames On Mon, Nov 22, 2010 at 12:45 PM, sivam sivamma...@gmail.com wrote: Hi I am facing this access denied error ole error code:80020009.. I have tried ie.Logger.level =