Ask a Question

Is it possible to modify project settings (mouse movement delay) from a script?

Occasional Contributor

Is it possible to modify project settings (mouse movement delay) from a script?

Is it possible to change the playback's mouse movement delay (which is a project setting) from a script at runtime?


I have a few tests which need a larger mouse movement delay to recognize actions while all other tests work fine with no mouse movement delay at all. That's why i thougt I could change the mouse movement delay before and after running this sensitve tests so that all other tests won't be delayed.

Esteemed Contributor

While some options can be changed at runtime, this one cannot.


However, what you might want to try is using LLPlayer events to simulate the mouse movement for those more sensitive tests. 

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
Community Hero


is right.


You can use LLPlayer method:


LLPlayer.MouseMove(X, Y, Delay)



To modify Delay for one specific test use TestComplete onStartTest and onStopTest events.

Set the parameter you will read in the event and change this parameter only for this one test. If, of course, you are using LLPlayer in more tests.

Showing results for 
Search instead for 
Did you mean: