Sorry, I missed this reply.
You should not need those requires, the script works fine without them. If
you have further issues, please send me the stacktrace of the error. Also,
you may need to play with the offsets to get the mouse in the element space.
Alan
On Tue, Sep 29, 2009 at 11:24 PM, P
Hi Alan
Thanks for the reply, i saw your post but until i made these
require 'rubygems'
require 'watir'
require 'pp'
require 'win32ole'
require "win32ole_pp"
require 'watir/WindowHelper'
require statements i was getting the Name Error, which was over after i
included them all. I don't know the
Pallavi -
I've tested the code at
http://wiki.openqa.org/display/WTR/Right+Click+an+Element a lot and I'm
pretty sure it works. If you run the code that's in the box it should work.
I would try that first. You should not have to do any additional requires
to make it work (since win32api is requi
Hi Ravee
How do i change it?? Any clue? I dont know what it stands for...??
Thanks
On Tue, Sep 29, 2009 at 5:11 PM, Raveendran P wrote:
> Hi Pallavi,
>
> May be the focus missing here. So please adjust the changes here and try
> it. (its not a exact solution but it may be help some times)
>
>
Hi Pallavi,
May be the focus missing here. So please adjust the changes here and try it.
(its not a exact solution but it may be help some times)
# Windows API constants
INPUT_MOUSE = 0
MOUSEEVENTF_LEFTDOWN = 0x0002
MOUSEEVENTF_LEFTUP = 0x0004
MOUSEEVENTF_RIGHTDOWN = 0x0008
MOUSEE
Hi pallavi,
Yes. Def it will work..
If not then pls paste ur html code here.
Thanks
P.Raveendran
On Tue, Sep 29, 2009 at 4:10 PM, Pallavi Sharma wrote:
> Hey Ravee
>
> Thanks a ton, maybe some one can update the stuff there at tha link, it
> will surely help.
>
> by the way: win32ole_pp throws
Hey Ravee
Thanks a ton, maybe some one can update the stuff there at tha link, it will
surely help.
by the way: win32ole_pp throws an error so i removed it.
One more thing i will be using this on a div containg table, and its table
cell will it work??
Thanks
Pallavi
On Tue, Sep 29, 2009 at 3:
Hi pallavi,
Pls add and try again
May be try this all possibilities
require 'rubygems'
require 'watir'
require 'pp'
require 'win32ole'
require "win32ole_pp"
require 'watir/WindowHelper'
Awaiting your reply...
Thanks
On Tue, Sep 29, 2009 at 3:17 PM, Pallavi Sharma wrote:
> Hi All
>
> I am tr