18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
how to change mouse location using sahi
Hi,
how to change the location of mouse using sahi script.
Is there any option like this in sahi
I required this because, my script will run upto 2 hrs, while executing my script it will take screen shots, after 20 mins all the screen shots is displaying as black screen
I think this is happens becoz system is going to ideal state, so it is taking black screen's
if we can move mouse location then system will not go into ideal state
any help pls
how to change the location of mouse using sahi script.
Is there any option like this in sahi
I required this because, my script will run upto 2 hrs, while executing my script it will take screen shots, after 20 mins all the screen shots is displaying as black screen
I think this is happens becoz system is going to ideal state, so it is taking black screen's
if we can move mouse location then system will not go into ideal state
any help pls
Answers
You can try the following not-so-well known trick to circumvent the issue that you're having.
Open any AVI file in the windows media player and play it loop (turn repeat on). By default, the windows media player will suppress the screen saver during playback.
Tested on Windows XP and on Windows 7.
Let me know if it works.
HTH
best,
agile_tester