Skip to content

Instantly share code, notes, and snippets.

@nick
Created May 6, 2011 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nick/959899 to your computer and use it in GitHub Desktop.
Save nick/959899 to your computer and use it in GitHub Desktop.
Feature set:
Load a URL
Drag and Drop
Take Screenshots
Check with reference image
Monitor memory usage
Monitor performance at certain points within code
Report on any hard errors
Report any console warnings
Handle arbitrary resolutions
Test scripts should do the following:
Open up http://dev.sencha.com/deploy/ext-4.0.0/examples/layout-browser/layout-browser.html
Record memory usage for browser
Take screenshot
Resize browser window
Take screenshot
Resize west column to 100 px less
Take screenshot
Show console
Take screenshot
Record Memory again
Examples script:
vqa.rb http://dev.sencha.com/deploy/ext-4.0.0/examples/layout-browser/layout-browser.html
{
title: "Feed viewer", // From browser window
memoryDiff: 60, // After run example - beofre run example
screenshots: [
"screen1.png",
"screen2.png",
"screen3.png",
"screen4.png"
],
console: [
'Warning: Ext.regModel no longer used'
],
machineID: 'box-1',
performance: {
start: 0,
onReady: 100
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment