a:11:{s:9:"#provides";s:11:"dojo.robotx";s:9:"#resource";s:9:"robotx.js";s:9:"#requires";a:1:{i:0;a:2:{i:0;s:6:"common";i:1;s:10:"dojo.robot";}}s:28:"dojo.config.debugContainerId";a:1:{s:7:"summary";s:0:"";}s:23:"dojo.config.debugHeight";a:1:{s:7:"summary";s:0:"";}s:16:"iframe.scrolling";a:1:{s:7:"summary";s:0:"";}s:25:"doh.robot._updateDocument";a:4:{s:4:"type";s:8:"Function";s:6:"source";s:224:" dojo.setContext(iframe.contentWindow, iframe.contentWindow.document); var win = dojo.global; if(win["dojo"]){ // allow the tests to subscribe to topics published by the iframe dojo._topics = win.dojo._topics; }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:19:"doh.robot.initRobot";a:4:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"url";a:2:{s:4:"type";s:6:"String";s:7:"summary";s:174:"URL to open. Any of the test's dojo.doc calls (e.g. dojo.byId()), and any dijit.registry calls (e.g. dijit.byId()) will point to elements and widgets inside this application.";}}s:6:"source";s:470:" iframe.src=url; dojo.addOnLoad(function(){ var emptyStyle = { overflow: dojo.isWebKit? 'hidden' : 'visible', margin: '0px', borderWidth: '0px', height: '100%', width: '100%' }; dojo.style(document.documentElement, emptyStyle); dojo.style(document.body, emptyStyle); document.body.appendChild(iframe); var base=document.createElement('base'); base.href=url; document.getElementsByTagName("head")[0].appendChild(base); });";s:7:"summary";s:145:"Opens the application at the specified URL for testing, redirecting dojo to point to the application environment instead of the test environment.";}s:27:"doh.robot.waitForPageToLoad";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:13:"submitActions";a:2:{s:4:"type";s:8:"Function";s:7:"summary";s:275:"The doh.robot will execute the actions the test passes into the submitActions argument (like clicking the submit button), expecting these actions to create a page change (like a form submit). After these actions execute and the resulting page loads, the next test will start.";}}s:6:"source";s:315:" var d = new doh.Deferred(); // create iframe event handler to track submit progress onIframeLoad = function(){ onIframeLoad = null; // set dojo.doc on every page change to point to the iframe doc so the robot works doh.robot._updateDocument(); d.callback(true); }; submitActions(); return d;";s:7:"summary";s:200:"Notifies DOH that the doh.robot is about to make a page change in the application it is driving, returning a doh.Deferred object the user should return in their runTest function as part of a DOH test.";s:11:"description";s:312:"Notifies DOH that the doh.robot is about to make a page change in the application it is driving, returning a doh.Deferred object the user should return in their runTest function as part of a DOH test. Example: runTest:function(){ return waitForPageLoad(function(){ doh.robot.keyPress(dojo.keys.ENTER, 500); }); }";}s:11:"dojo.robotx";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:4:"dojo";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}