Closed ckn476 closed 12 years ago
Screening v0.8
Playback does not shows mouse event on stage as a result of which none of the objects are drawn on the stage.
// ==== Start Recorded Script, Thu Apr 12 2012 10:43:41 GMT-0700 (PDT)====
var agent = new Agent();
agent.gotoUrl("http://localhost/~ckn476/Master/");
agent.setWindowSize(1680, 978);
agent.mouseMove([{"x":856,"y":6,"duration":0},{"x":874,"y":3,"duration":437},{"x":934,"y":28,"duration":33},{"x":991,"y":69,"duration":33},{"x":1035,"y":129,"duration":34},{"x":1051,"y":202,"duration":34},{"x":1047,"y":275,"duration":32},{"x":1033,"y":318,"duration":34},{"x":1011,"y":335,"duration":33},{"x":969,"y":342,"duration":84},{"x":969,"y":387,"duration":133},{"x":961,"y":409,"duration":82},{"x":925,"y":426,"duration":48},{"x":898,"y":426,"duration":37},{"x":894,"y":414,"duration":284}]); agent.mouseDown(894,414); agent.wait(1442);
agent.element("//_[@id='cloudurl']").sendKeys("http://localhost:49479"); //agent.element("/HTML/BODY/DIV/SECTION[5]/DIV[2]/DIV[2]/DIV/DIV/DIV").mouseMove(973,429); agent.element("/HTML/BODY/DIV/SECTION[5]/DIV[2]/DIV[2]/DIV/DIV/Button").click(); agent.mouseMove([{"x":973,"y":429,"duration":0},{"x":895,"y":414,"duration":1},{"x":979,"y":421,"duration":4},{"x":987,"y":409,"duration":1110}]); agent.mouseDown(987,409); agent.mouseUp(987,409); agent.mouseMove([{"x":986,"y":408,"duration":0},{"x":960,"y":434,"duration":83},{"x":935,"y":434,"duration":133},{"x":895,"y":454,"duration":401}]); agent.element("/HTML/BODY/DIV/SECTION[5]/DIV[2]/DIV[2]/DIV/DIV/BUTTON[3]").click(Mouse.LEFT,48,8); agent.mouseMove([{"x":894,"y":454,"duration":0},{"x":900,"y":449,"duration":358},{"x":872,"y":409,"duration":151},{"x":693,"y":227,"duration":66},{"x":535,"y":109,"duration":34},{"x":383,"y":25,"duration":32},{"x":1587,"y":18,"duration":493},{"x":1570,"y":50,"duration":8},{"x":1527,"y":82,"duration":18},{"x":1435,"y":117,"duration":15},{"x":1286,"y":149,"duration":19},{"x":1113,"y":149,"duration":15},{"x":918,"y":145,"duration":19},{"x":389,"y":21,"duration":49},{"x":40,"y":4,"duration":440},{"x":39,"y":15,"duration":76},{"x":28,"y":17,"duration":184}]); agent.element("//[@id='topMenu']/NAV/UL/LI[1]/DIV/SPAN").click(Mouse.LEFT,23,12); agent.mouseMove([{"x":27,"y":18,"duration":0},{"x":46,"y":64,"duration":617}]); agent.element("//[@id='topMenu']/NAV/UL/LI[1]/UL/LI[2]/DIV/SPAN[2]").click(Mouse.LEFT,40,8); agent.mouseMove([{"x":45,"y":64,"duration":0},{"x":51,"y":57,"duration":2134}]); agent.element("//[@id='newFileName']").sendKeys("neha123");agent.element("//[@id='okButton']").click(Mouse.LEFT,41,9); agent.mouseMove([{"x":51,"y":56,"duration":0},{"x":138,"y":63,"duration":152},{"x":206,"y":93,"duration":49},{"x":452,"y":280,"duration":118},{"x":610,"y":358,"duration":65},{"x":664,"y":405,"duration":50},{"x":766,"y":517,"duration":118},{"x":813,"y":547,"duration":32},{"x":925,"y":587,"duration":134},{"x":943,"y":616,"duration":67},{"x":955,"y":657,"duration":92},{"x":1004,"y":639,"duration":149},{"x":1091,"y":662,"duration":360}]); agent.mouseDown(1091,662); agent.mouseUp(1091,662); agent.mouseMove([{"x":90,"y":52,"duration":0},{"y":178,"duration":901}]); agent.element("//[@id='iframeContainer']").setScroll(437,134); agent.mouseMove([{"y":178,"duration":0},{"x":2,"y":179,"duration":1}]); agent.mouseMove([{"x":5,"y":185,"duration":0},{"x":29,"y":257,"duration":2},{"x":42,"y":329,"duration":204},{"x":56,"y":355,"duration":89},{"x":41,"y":346,"duration":225},{"x":35,"y":315,"duration":403},{"x":45,"y":247,"duration":887}]); agent.element("//[@id='toolsPanelContent']/DIV/DIV[1]/DIV[9]").click(Mouse.LEFT,21,19); agent.mouseMove([{"x":45,"y":246,"duration":0},{"x":223,"y":222,"duration":133},{"x":333,"y":221,"duration":49},{"x":370,"y":233,"duration":51},{"x":375,"y":259,"duration":67},{"x":367,"y":271,"duration":66},{"x":388,"y":247,"duration":217},{"x":403,"y":243,"duration":151}]); agent.mouseDown(403,243); agent.mouseMove([{"x":404,"y":243,"duration":0},{"x":458,"y":302,"duration":158},{"x":541,"y":360,"duration":117},{"x":682,"y":411,"duration":248}]); agent.mouseUp(682,411); agent.mouseMove([{"x":484,"y":366,"duration":0},{"x":365,"y":328,"duration":106},{"x":342,"y":312,"duration":306},{"x":398,"y":261,"duration":38},{"x":459,"y":223,"duration":16},{"x":560,"y":181,"duration":17},{"x":700,"y":145,"duration":16},{"x":880,"y":115,"duration":18},{"x":1383,"y":120,"duration":48},{"x":1442,"y":147,"duration":35},{"x":1510,"y":196,"duration":30},{"x":1531,"y":221,"duration":17},{"x":1566,"y":319,"duration":104},{"x":1586,"y":329,"duration":63},{"x":1549,"y":262,"duration":634}]); agent.element("//[@id='panels']/ARTICLE[1]/DIV[2]/DIV/DIV[2]/DIV/CANVAS").click(Mouse.LEFT,134,13); agent.mouseMove([{"x":1548,"y":262,"duration":0},{"x":1265,"y":322,"duration":138},{"x":764,"y":275,"duration":68},{"x":623,"y":245,"duration":13},{"x":514,"y":210,"duration":18},{"x":419,"y":169,"duration":16},{"x":347,"y":120,"duration":18},{"x":308,"y":68,"duration":13}]); agent.setWindowSize(807, 848);
// ==== End Recorded Script ====
Brandon,
Could you please take a look at this bug? Seems like a very serious issue for Ninja.
Thanks!
Upgraded the chrome driver to version 19 and now no issues with mouse events. So closing the bug.
Screening v0.8
Playback does not shows mouse event on stage as a result of which none of the objects are drawn on the stage.
// ==== Start Recorded Script, Thu Apr 12 2012 10:43:41 GMT-0700 (PDT)====
var agent = new Agent();
agent.gotoUrl("http://localhost/~ckn476/Master/");
agent.setWindowSize(1680, 978);
agent.mouseMove([{"x":856,"y":6,"duration":0},{"x":874,"y":3,"duration":437},{"x":934,"y":28,"duration":33},{"x":991,"y":69,"duration":33},{"x":1035,"y":129,"duration":34},{"x":1051,"y":202,"duration":34},{"x":1047,"y":275,"duration":32},{"x":1033,"y":318,"duration":34},{"x":1011,"y":335,"duration":33},{"x":969,"y":342,"duration":84},{"x":969,"y":387,"duration":133},{"x":961,"y":409,"duration":82},{"x":925,"y":426,"duration":48},{"x":898,"y":426,"duration":37},{"x":894,"y":414,"duration":284}]); agent.mouseDown(894,414); agent.wait(1442);
agent.element("//_[@id='cloudurl']").sendKeys("http://localhost:49479"); //agent.element("/HTML/BODY/DIV/SECTION[5]/DIV[2]/DIV[2]/DIV/DIV/DIV").mouseMove(973,429); agent.element("/HTML/BODY/DIV/SECTION[5]/DIV[2]/DIV[2]/DIV/DIV/Button").click(); agent.mouseMove([{"x":973,"y":429,"duration":0},{"x":895,"y":414,"duration":1},{"x":979,"y":421,"duration":4},{"x":987,"y":409,"duration":1110}]); agent.mouseDown(987,409); agent.mouseUp(987,409); agent.mouseMove([{"x":986,"y":408,"duration":0},{"x":960,"y":434,"duration":83},{"x":935,"y":434,"duration":133},{"x":895,"y":454,"duration":401}]); agent.element("/HTML/BODY/DIV/SECTION[5]/DIV[2]/DIV[2]/DIV/DIV/BUTTON[3]").click(Mouse.LEFT,48,8); agent.mouseMove([{"x":894,"y":454,"duration":0},{"x":900,"y":449,"duration":358},{"x":872,"y":409,"duration":151},{"x":693,"y":227,"duration":66},{"x":535,"y":109,"duration":34},{"x":383,"y":25,"duration":32},{"x":1587,"y":18,"duration":493},{"x":1570,"y":50,"duration":8},{"x":1527,"y":82,"duration":18},{"x":1435,"y":117,"duration":15},{"x":1286,"y":149,"duration":19},{"x":1113,"y":149,"duration":15},{"x":918,"y":145,"duration":19},{"x":389,"y":21,"duration":49},{"x":40,"y":4,"duration":440},{"x":39,"y":15,"duration":76},{"x":28,"y":17,"duration":184}]); agent.element("//[@id='topMenu']/NAV/UL/LI[1]/DIV/SPAN").click(Mouse.LEFT,23,12); agent.mouseMove([{"x":27,"y":18,"duration":0},{"x":46,"y":64,"duration":617}]); agent.element("//[@id='topMenu']/NAV/UL/LI[1]/UL/LI[2]/DIV/SPAN[2]").click(Mouse.LEFT,40,8); agent.mouseMove([{"x":45,"y":64,"duration":0},{"x":51,"y":57,"duration":2134}]); agent.element("//[@id='newFileName']").sendKeys("neha123");agent.element("//[@id='okButton']").click(Mouse.LEFT,41,9); agent.mouseMove([{"x":51,"y":56,"duration":0},{"x":138,"y":63,"duration":152},{"x":206,"y":93,"duration":49},{"x":452,"y":280,"duration":118},{"x":610,"y":358,"duration":65},{"x":664,"y":405,"duration":50},{"x":766,"y":517,"duration":118},{"x":813,"y":547,"duration":32},{"x":925,"y":587,"duration":134},{"x":943,"y":616,"duration":67},{"x":955,"y":657,"duration":92},{"x":1004,"y":639,"duration":149},{"x":1091,"y":662,"duration":360}]); agent.mouseDown(1091,662); agent.mouseUp(1091,662); agent.mouseMove([{"x":90,"y":52,"duration":0},{"y":178,"duration":901}]); agent.element("//[@id='iframeContainer']").setScroll(437,134); agent.mouseMove([{"y":178,"duration":0},{"x":2,"y":179,"duration":1}]); agent.mouseMove([{"x":5,"y":185,"duration":0},{"x":29,"y":257,"duration":2},{"x":42,"y":329,"duration":204},{"x":56,"y":355,"duration":89},{"x":41,"y":346,"duration":225},{"x":35,"y":315,"duration":403},{"x":45,"y":247,"duration":887}]); agent.element("//[@id='toolsPanelContent']/DIV/DIV[1]/DIV[9]").click(Mouse.LEFT,21,19); agent.mouseMove([{"x":45,"y":246,"duration":0},{"x":223,"y":222,"duration":133},{"x":333,"y":221,"duration":49},{"x":370,"y":233,"duration":51},{"x":375,"y":259,"duration":67},{"x":367,"y":271,"duration":66},{"x":388,"y":247,"duration":217},{"x":403,"y":243,"duration":151}]); agent.mouseDown(403,243); agent.mouseMove([{"x":404,"y":243,"duration":0},{"x":458,"y":302,"duration":158},{"x":541,"y":360,"duration":117},{"x":682,"y":411,"duration":248}]); agent.mouseUp(682,411); agent.mouseMove([{"x":484,"y":366,"duration":0},{"x":365,"y":328,"duration":106},{"x":342,"y":312,"duration":306},{"x":398,"y":261,"duration":38},{"x":459,"y":223,"duration":16},{"x":560,"y":181,"duration":17},{"x":700,"y":145,"duration":16},{"x":880,"y":115,"duration":18},{"x":1383,"y":120,"duration":48},{"x":1442,"y":147,"duration":35},{"x":1510,"y":196,"duration":30},{"x":1531,"y":221,"duration":17},{"x":1566,"y":319,"duration":104},{"x":1586,"y":329,"duration":63},{"x":1549,"y":262,"duration":634}]); agent.element("//[@id='panels']/ARTICLE[1]/DIV[2]/DIV/DIV[2]/DIV/CANVAS").click(Mouse.LEFT,134,13); agent.mouseMove([{"x":1548,"y":262,"duration":0},{"x":1265,"y":322,"duration":138},{"x":764,"y":275,"duration":68},{"x":623,"y":245,"duration":13},{"x":514,"y":210,"duration":18},{"x":419,"y":169,"duration":16},{"x":347,"y":120,"duration":18},{"x":308,"y":68,"duration":13}]); agent.setWindowSize(807, 848);
// ==== End Recorded Script ====