Re: [Wtr-general] right click???

2006-09-12 Thread Zeljko Filipin
David,I was just qouting (the other) David's question. He should answer.ZeljkoOn 9/11/06, David Schmidt < [EMAIL PROTECTED]> wrote:Željko, are you sure that the right click event was in the DIV and not in another element inside of the DIV? ___ Wtr-genera

Re: [Wtr-general] right click???

2006-09-11 Thread David Schmidt
Bret Pettichord wrote: > The problem in this case is exactly what it says. A DIV element in the > >> DOM doesn't *have* a fireEvent OLE call. (I just brought up IRB, >> attached to an IE window open to unittests/html/div.html, assigned the >> first DIV element to a variable and then had it sh

Re: [Wtr-general] right click???

2006-09-11 Thread Bret Pettichord
The problem in this case is exactly what it says. A DIV element in the > DOM doesn't *have* a fireEvent OLE call. (I just brought up IRB, > attached to an IE window open to unittests/html/div.html, assigned the > first DIV element to a variable and then had it show me all the valid > OLE method

Re: [Wtr-general] right click???

2006-09-11 Thread Egil Sorensen
Take a look at "How to trigger event programmatically?", dated Aug 9 2004, at http://groups.google.com/group/comp.lang.javascript/browse_thread/thread/27e7c70e51ff8a99/98cea9cdf065a524?lnk=st&q=javascript+trigger+the+event+for+right&rnum=3&hl=en#98cea9cdf065a524 Michael Winter's reply to the ques

Re: [Wtr-general] right click???

2006-09-11 Thread David Schmidt
This has nothing to do with the performance enhancements, and aside from the bug where I didn't check for a regexp being fed to getElementById() (which I fixed) I haven't seen any signs of that performance fix being "unreliable". All tests pass, including the ones I added to check for being ab

Re: [Wtr-general] right click???

2006-09-11 Thread Bret Pettichord
I believe that this is bug introduced by the recent performance enhancement to Watir that needs to be backed out until it can be made more reliable. Unrelated to the error message, there is on "rightclick" javascript event. I read my JavaScript book on the topic and it said that the event is "

Re: [Wtr-general] right click???

2006-09-11 Thread Zeljko
This is out of my league. Anybody familiar with this error message? Željko > ie.div(:id, > "detailProposal0610760").fire_event("rightclick") > > It highligts it like it wants to do something but > never acts as a right click. This is the message in > the prompt that I get if that helps. > > C:/

Re: [Wtr-general] right click???

2006-09-08 Thread David
I posted what I get in the prompt in the post above yours(added it in) It should bring up a small pop up window smiliar to if you right click any where on a webpage, with just different options. - Posted via Jive Forums http://fo

Re: [Wtr-general] right click???

2006-09-08 Thread Zeljko Filipin
What should right click do?Do you get an error, or just nothing happens?Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] right click???

2006-09-08 Thread David
I have been actually using a variation of that and it wont work ie.div(:id, "detailProposal0610760").fire_event("rightclick") It highligts it like it want

Re: [Wtr-general] right click???

2006-09-08 Thread Zeljko Filipin
Try something like:ie.text_field(:name, "my_field").fire_event("rightclick")(from http://wiki.openqa.org/display/WTR/FAQ#FAQ-TriggeringJavaScriptevents )Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wt

[Wtr-general] right click???

2006-09-07 Thread David
Here I go with another newb question, how can you do a right click? instead of .click would it be .rightclick? I do look for the answers before I post these things, but im lost again. - Posted via Jive Forums http://forums.openqa

Re: [Wtr-general] Right-click menu.

2006-03-27 Thread Zeljko Filipin
Maybe this would help.http://wiki.openqa.org/display/WTR/FAQ#FAQ-TriggeringJavaScriptevents On 3/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: This email is to be read subject to the disclaimer below. Hello guys, I imagine this question has been ask a number of times, but I couldn't find a

[Wtr-general] Right-click menu.

2006-03-27 Thread Leon . Ouretski
This email is to be read subject to the disclaimer below. Hello guys, I imagine this question has been ask a number of times, but I couldn't find any clear references on the Web, so... How do I automate a click in a context menu (ie. right-click on a page and click on a menu item)? thank you v

[Wtr-general] right-click event

2005-09-10 Thread Danny Yuan
Hi, May I know how to fire an event for right click? fireEvent("oncontextmenu") does not bring up the treeview's context menu (the context menu is constructed by JavaScript). Firing oncontextmenu simply highlight the link being clicked to bright yellow instead of bring up the expected contex