Last active
August 29, 2015 14:11
-
-
Save gunesmes/c0fb0cbbdb7bcd3e063a to your computer and use it in GitHub Desktop.
Huxley is a screenshots comparison tool developed by Facebook development teams. It is a open source tool and written by Python. It uses Selenium standalone server so you must download and run it before recording and executing your cases. Good thing for the Huxley is that you can record a case with the parameter --record so you can execute some …
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"py/object":"huxley.run.Test", | |
"screen_size":{ | |
"py/tuple":[ | |
1024, | |
768 | |
] | |
}, | |
"steps":[ | |
{ | |
"py/object":"huxley.steps.ScreenshotTestStep", | |
"index":0, | |
"offset_time":2365 | |
}, | |
{ | |
"py/object":"huxley.steps.ClickTestStep", | |
"offset_time":5443, | |
"pos":[ | |
117, | |
76 | |
] | |
}, | |
{ | |
"py/object":"huxley.steps.ScreenshotTestStep", | |
"index":1, | |
"offset_time":7115 | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/P/h/examples (master ⚡=) huxley --record | |
------------------------------- | |
Running Huxley file: Huxleyfile | |
------------------------------- | |
[home] Running test: toggle | |
Begin record | |
Press enter to take a screenshot, or type Q+enter if you're done | |
1 screenshots taken | |
Press enter to take a screenshot, or type Q+enter if you're done | |
2 screenshots taken | |
Press enter to take a screenshot, or type Q+enter if you're done | |
q | |
Up next, we'll re-run your actions to generate screenshots to ensure they are pixel-perfect when running automated. Press enter to start. | |
Begin rerecord | |
Sleeping for 2365.0 ms | |
Taking screenshot 0 | |
Sleeping for 3078.0 ms | |
Clicking [117, 76] | |
Sleeping for 1672.0 ms | |
Taking screenshot 1 | |
Playing back to ensure the test is correct | |
Begin playback | |
Sleeping for 2365.0 ms | |
Taking screenshot 0 | |
Sleeping for 3078.0 ms | |
Clicking [117, 76] | |
Sleeping for 1672.0 ms | |
Taking screenshot 1 | |
Test recorded successfully |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment