cancel
Showing results for 
Search instead for 
Did you mean: 

LLPlayer Methods arenot working on testcomplete web?

SOLVED
Highlighted
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
Highlighted
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
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available

View solution in original post

2 REPLIES 2
Highlighted
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
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available

View solution in original post

Highlighted
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:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!
Top Kudoed Authors