I am writing a chrome extension that records your actions like ( mouse click, keyboard keyup ). The idea of the extension is to help me and my colleagues to reduce the boring testing of our web based project. I made it to record the events and store it on the dev server as mysql so i can use or share to them. But the problem is replaying the saved actions.
So how if there is a way to force mouse move, mouse click events. Can it be done from flash,java or something like that.
PS. The project is Extjs but i want to make the extension useful for developer using other frameworks and publish it.
Simulate the movement of your mouse cursorMouse Jiggler is an interesting application with which you can avoid, for example, having your screen saver frequently turn on and off.
Setting up Mouse Gestures in Chrome You need to install the 'CrxMouse Chrome Gestures' Chrome extension to set mouse gestures in the browser. Go to chrome.google.com/webstore and search for 'CrxMouse Chrome Gestures' extension, OR use this link to open the extension page directly in the Chrome Web Store.
Move Mouse is a utility tool that simulates activity on your computer. With its help, you can keep your PC in an active state, even when you're not around. The easy-to-use program prevents your screen from going dim and is suitable for giving presentations and keeping remote sessions active.
Consider using Selenium for this. It has support for many languages, and you can script your whole test with it. You can for example set it to click on an element, wait for something to happen or fill text boxes.
Imagine some random website controlling your mouse ... not cool, is it? (That's why you cant force mousemove via javascript)
However, you can trigger clicks on elements. To achieve that, you need to save the event(mouse-over|out/(dbl)click/whatever) and the according element (in the eventfunction: this). That should be sufficient to simulate theworkflow.
jQuery-Example:
$('#item').click();
$('#item').trigger('click');
vanilla javascript:
document.querySelector("#item").click();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With