Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, windows and java based applications. Get your 30 day free trial.
Discuss your Sahi Pro usage patterns, best practices, problems and solutions. Help others solve their problems and seek help from the community when needed. If you need specific support on your application, please email support @ sahipro.com
Discuss your Sahi Pro usage patterns, best practices, problems and solutions. Help others solve their problems and seek help from the community when needed. If you need specific support on your application, please email support @ sahipro.com
Controller not detecting objects on screen & also not playing back
siddhantmanik
Members
Hi Team,
We are trying to create scripts but the controller isn't detecting any item. We have tried clearing the cookies yet the ctrl + hover fails to detect any item on the screen.
Further, previously created scripts fail to proceed post loading the login screen. the controller shows the message 're-open the controller screen'.
The errors are same in Chrome Version 65.0.3325.162, Firefox 52.7.3 (64-bit) and IE 11
Please help.
Regards,
Sid
We are trying to create scripts but the controller isn't detecting any item. We have tried clearing the cookies yet the ctrl + hover fails to detect any item on the screen.
Further, previously created scripts fail to proceed post loading the login screen. the controller shows the message 're-open the controller screen'.
The errors are same in Chrome Version 65.0.3325.162, Firefox 52.7.3 (64-bit) and IE 11
Please help.
Regards,
Sid
Comments
I am using Sahi Pro and Desktop add on v 7.5 on Windows 7 with JRE 1.8
I used the controller to record some actions on a custom Java application - see script below. The problem is that it continues to fail on playback using the controller. What could be the issue?
Recorded Script
_setMode("WINDOWS");
_selectWindow();
_click(_button("SDM Costing Production 4.2.28.20180427-0508 - IBM Confidential - 2U-U7UCVCY-Robin Reneg - ARC- v 05_01_2018_1100.sdc"));
_selectWindow("SDM Costing Production 4.2.28.20180427-0508 - IBM Confidential - 2U-U7UCVCY-Robin Reneg - ARC- v 05_01_2018_1100.sdc");
_doubleClick(_treeitem("LAB SS: Band 6A Standard"));
_doubleClick(_tabitem("Rollout Editor"));
_setSelected(_select("1706842"), "Ratio of Another Rollout");
_click(_button("Display Baseline"));
_click(_treeitem("Baselines: Robin Reneg"));
_click(_treeitem("RobinReneg-GBS"));
_click(_treeitem("RobinReneg-GBS[1]"));
_click(_treeitem("Non-SoA-Labour"));
_doubleClick(_treeitem("AA-0001-Test-UATExec-CICIndia-Onsite-6A-Standard"));
_click(_button("OK"));
_click(_button("Save"));
_click(_button("Next >"));
_selectWindow("Task Switcher");
_click(_listitem("Sahi Controller - Mozilla Firefox: IBM Edition"));
Playback error
_click(_button("SDM Costing Production 4.2.28.20180427-0508 - IBM Confidential - 2U-U7UCVCY-Robin Reneg - ARC- v 05_01_2018_1100.sdc"))
_popup("SDM Costing Production 4.2.28.20180427-0508 - IBM Confidential - 2U-U7UCVCY-Robin Reneg - ARC- v 05_01_2018_1100.sdc")._doubleClick(_treeitem("LAB SS: Band 6A Standard"))
_popup("SDM Costing Production 4.2.28.20180427-0508 - IBM Confidential - 2U-U7UCVCY-Robin Reneg - ARC- v 05_01_2018_1100.sdc")._click(_button("SDM Costing Production 4.2.28.20180427-0508 - IBM Confidential - 2U-U7UCVCY-Robin Reneg - ARC- v 05_01_2018_1100.sdc"))
_popup("SDM Costing Production 4.2.28.20180427-0508 - IBM Confidential - 2U-U7UCVCY-Robin Reneg - ARC- v 05_01_2018_1100.sdc")._doubleClick(_treeitem("LAB SS: Band 6A Standard"))
_popup("SDM Costing Production 4.2.28.20180427-0508 - IBM Confidential - 2U-U7UCVCY-Robin Reneg - ARC- v 05_01_2018_1100.sdc")._windowAction("focus")
Stopped Playback: FAILURE
_popup("SDM Costing Production 4.2.28.20180427-0508 - IBM Confidential - 2U-U7UCVCY-Robin Reneg - ARC- v 05_01_2018_1100.sdc")._windowAction("focus")
Value cannot be null.
Parameter name: key
at /scripts/global_include.sah&n=17 onScriptErrorDefault
at /scripts/global_include.sah&n=2 onScriptError
at /scripts/MyTest.sah&n=5
_popup("SDM Costing Production 4.2.28.20180427-0508 - IBM Confidential - 2U-U7UCVCY-Robin Reneg - ARC- v 05_01_2018_1100.sdc")._doubleClick(_treeitem("LAB SS: Band 6A Standard"))
Value cannot be null.
Parameter name: key
at /scripts/MyTest.sah&n=5
Stopped Playback: FAILURE
_popup("SDM Costing Production 4.2.28.20180427-0508 - IBM Confidential - 2U-U7UCVCY-Robin Reneg - ARC- v 05_01_2018_1100.sdc")._windowAction("focus")
Value cannot be null.
Parameter name: key
at /scripts/global_include.sah&n=17 onScriptErrorDefault
at /scripts/global_include.sah&n=2 onScriptError
at /scripts/MyTest.sah&n=5
_popup("SDM Costing Production 4.2.28.20180427-0508 - IBM Confidential - 2U-U7UCVCY-Robin Reneg - ARC- v 05_01_2018_1100.sdc")._doubleClick(_treeitem("LAB SS: Band 6A Standard"))
Value cannot be null.
Parameter name: key
at /scripts/MyTest.sah&n=5