EXPERIMENTAL: dojo.robot -- APIs subject to change without notice.
EXPERIMENTAL: dojox.robot.recorder -- APIs subject to change without notice.
2 tests to run in 1 groups
------------------------------------------------------------
GROUP "dojox.robot.AutoGeneratedTestGroup" has 2 tests to run
Error: robot not available; skipping test.
ERROR IN:
function(){
var d = new doh.Deferred();
// start the recorder and close the alert
dojo.byId('textbox').value="";
doh.robot.mouseMoveAt('safeclick');
doh.robot.mouseClick({left:true, middle:false, right:false}, 3);
doh.robot.keyPress(dojo.keys.ENTER, 3000,null,true);
doh.robot.keyPress(dojo.keys.ENTER, 1000,{ctrl:true,alt:true});
setTimeout(function(){
d.callback(true);
},5000);
return d;
}
FAILED test: setUp 0 ms
Error: robot not available; skipping test.
ERROR IN:
function(){
var d = new doh.Deferred();
// Safari/Mac stops listening to mouse movement after the alert pops up in the runner
// click to wake it up
doh.robot.mouseMoveAt('safeclick');
doh.robot.mouseClick({left:true, middle:false, right:false});
doh.robot.mouseMove(196, 124, 353,true);
doh.robot._scrollIntoView('widget_combo');
doh.robot.mouseMoveAt(dijit.byId('combo').downArrowNode, 18, 100, 1, 7);
doh.robot.mouseClick({left:true, middle:false, right:false}, 1);
doh.robot.mouseMove(195, 124, 546,true);
doh.robot.mouseMove(174, 165, 16,true);
doh.robot.mouseMoveAt('combo_popup2', 483, 100, 148, 5);
doh.robot.mouseClick({left:true, middle:false, right:false}, 1);
doh.robot.mouseMove(155, 195, 334,true);
doh.robot.mouseMoveAt('textbox', 331, 100, 131, 11);
doh.robot.mouseClick({left:true, middle:false, right:false}, 1);
doh.robot.typeKeys('test me', 602, 1500);
doh.robot.keyPress(dojo.keys.ENTER, 500,{ctrl:true,alt:true});
doh.robot.sequence(function(){
var div=dojo.byId('dojox.robot.recorder');
var text;
if(div["innerText"] !== undefined){
text = div.innerText;
}else if(div["textContent"]){
text = div.textContent;
}
var re = new RegExp
("MoveAt.*Click.*Move.*scrollIntoView.*MoveAt.*Click.*Move\\(.*MoveAt.*Click.*Move\\(.*MoveAt.*Click.*typeKeys");
if(re.test(text.replace(/[\n\r\t]/g))){
d.callback(true);
}else{
d.errback(new Error('We got a failure'));
}
}, 1000);
return d;
}
FAILED test: autotest0 0 ms
Total time for GROUP " dojox.robot.AutoGeneratedTestGroup " is 0ms
Total time for GROUP " dojox.robot.AutoGeneratedTestGroup " is 0ms
WOOHOO!!
------------------------------------------------------------
| TEST SUMMARY:
------------------------------------------------------------
2 tests in 1 groups
2 errors
0 failures
Hover over HTML elements in the main page. Click to hold selection.