cancel
Showing results for 
Search instead for 
Did you mean: 

LLPlayer Methods arenot working on testcomplete web?

SOLVED
New Contributor

LLPlayer Methods arenot working on testcomplete web?

I am using javascript as testcomplete script to test our web. I need to press mouse and hold for a while to check something. I used LLPlayer MouseDown, MouseMove and MouseUp, but all these methods are not working. I also tried to use LLPlayer MouseWheel,  it was not working too.

 

dragElement.HoverMouse(dragElement.Width/2,dragElement.Height/2);
LLPlayer.MouseDown(MK_LBUTTON, dragElement.Left + dragElement.Width/2, dragElement.Top + dragElement.Height/2,2000);

LLPlayer.MouseMove(targetElement.Left, targetElement.Top,1000);

LLPlayer.MouseUp(MK_LBUTTON,targetElement.Left + targetElement.Width/2, targetElement.Top, 1000 );

 

Any suggestions?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: LLPlayer Methods arenot working on testcomplete web?

LLPlayer is not specific to Desktop or Web... it works for both.  It is, basically, a low level player for mouse and keyboard actions.

 

So... define "not working".  Are you getting errors?  Is there something that you're expecting to happen that isn't?


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available

View solution in original post

2 REPLIES 2
Community Hero

Re: LLPlayer Methods arenot working on testcomplete web?

LLPlayer is not specific to Desktop or Web... it works for both.  It is, basically, a low level player for mouse and keyboard actions.

 

So... define "not working".  Are you getting errors?  Is there something that you're expecting to happen that isn't?


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available

View solution in original post

New Contributor

Re: LLPlayer Methods arenot working on testcomplete web?

It is working now. I think it was in debug model then, I can't use then step by step.

 

Thanks very much for your explaination.

New Here?
Join us and watch the welcome video:
Top Kudoed Authors