문제

I'm looking for a way to Monkey test a website. Something like a browser plugin in which you could define a time interval and non-clicking zones, and then the plugin would start clicking (and possibly other actions) everywhere (except the non-clicking zones or DOM elements) during the specified time interval.

I've searched online and only found this type of tests for iPhone and Android.

도움이 되었습니까?

해결책

Selenium allows you to search the DOM elements in a page, and simulate clicks or keyboard events directed to a certain DOM element. That's not quite the same as defining "non-clicking zones" (which would presumably be defined in terms of X/Y coordinates), but it might possibly be even easier this way.

다른 팁

I'd recommend gremlins.js, a "Monkey testing library for web apps and Node.js"

https://github.com/marmelab/gremlins.js

Disclaimer: we wrote it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top