We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
First of all... this thread is 7 years old... Might be better to have posted your own question since there is no guarentee, after 7 years, that the original people are still around.
That said... Since you're using the Desktop object MouseDown method, you have the wrong number of parameters. See https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/desktop/mousedown-method-desktop-object.html
Remove the ms parameter and you should be good.
Correct.... there are two MouseDown methods depending upon what the parent object is. The Deskstop.MouseDown is simply for simulating clicking down on a mouse on a place on screen. LLPlayer.MouseDown comes from the Low-Level player which ties more closely into the low-level drivers of the Windows OS. Both methods are documented... I linked in the Desktop one... here's the LLPlayer one.
https://support.smartbear.com/testcomplete/docs/reference/project-objects/items/llp/llplayer/mousedown.html
Making sure you're using the correct method is always a bonus.