Hi
I need to click the mouse 10,000 times on the home page. Could you please let me know how we can do this?
Right now, I am logging into the website, clicking on a button and logging out. clicking on a button should be repeated 10,000 times before logging out.
Thanks
automate the click of the mouse
Re: automate the click of the mouse
Quick C# for loop:
Code: Select all
//Login here
for (int i = 0; i < 10000; i++)
{
MyButton.Click();
}
//Logout here
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...
Ciege...
- Support Team
- Site Admin
- Posts: 12174
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: automate the click of the mouse
There is even an overload of the Click method providing that functionality:
Alex
Ranorex Team
myButton.Click(10000, Mouse.DefaultMoveTime);Regards,
Alex
Ranorex Team
Re: automate the click of the mouse
Well, ya, there is that too... 

If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...
Ciege...