- pratuljena
- Posts : 2
Join date : 2010-10-11
Actual movement of the mouse over an object
Mon Oct 11, 2010 7:32 pm
Hello there,
I am facing a very typical problem as follows. Please help me on this.
Problem is :
In my webpage there is an Iframe. The content of the iframe automatically rotates in every 5 soconds. If User keeps the mouse over the iframe then rotation of the content will stop. And if user takes away the mouse from the iframe then the rotation will start again.
I am trying to Automate this scenario in Selenium RC.
I have tried with
selenium.mouseOver("//*[@id='cottNxtBtn']");
and
selenium.mouseMove("//*[@id='panel']/div[2]/div[3]");
But nothing is working for me. meaning even I am moving/hovering the mouse over the frame through Automation script the content of the frame is still rotating. Where as if I manually move/hover the mouse to that frame the content doesn't rotate.
The problem is mousemove or mouseOver function doesn't really move the mose pointer to the object specified. I need a actual movement of the mouse to the object.
Please help me if somebody has any idea.
Thanks
Pratul
I am facing a very typical problem as follows. Please help me on this.
Problem is :
In my webpage there is an Iframe. The content of the iframe automatically rotates in every 5 soconds. If User keeps the mouse over the iframe then rotation of the content will stop. And if user takes away the mouse from the iframe then the rotation will start again.
I am trying to Automate this scenario in Selenium RC.
I have tried with
selenium.mouseOver("//*[@id='cottNxtBtn']");
and
selenium.mouseMove("//*[@id='panel']/div[2]/div[3]");
But nothing is working for me. meaning even I am moving/hovering the mouse over the frame through Automation script the content of the frame is still rotating. Where as if I manually move/hover the mouse to that frame the content doesn't rotate.
The problem is mousemove or mouseOver function doesn't really move the mose pointer to the object specified. I need a actual movement of the mouse to the object.
Please help me if somebody has any idea.
Thanks
Pratul
- pratuljena
- Posts : 2
Join date : 2010-10-11
Re: Actual movement of the mouse over an object
Mon Oct 18, 2010 2:12 pm
Hi,
any thought on this.
Let me re-phrase the issue. Myu core problem is - move mouse is not actually moving the mouse over the object I am specifying.
My code is as follows :
selenium.mouseMove("//*[@id='panel']/div[2]/div[3]");
Your help is very much appreciated.
Thanks
Pratul
any thought on this.
Let me re-phrase the issue. Myu core problem is - move mouse is not actually moving the mouse over the object I am specifying.
My code is as follows :
selenium.mouseMove("//*[@id='panel']/div[2]/div[3]");
Your help is very much appreciated.
Thanks
Pratul
Permissions in this forum:
You cannot reply to topics in this forum