18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
click on button is not working
Hello,
I am testing application in IE8. when I playback the script to click on Search button in the application sahi is giving TypeError:"Object Does not support this Property or method".Script is as follows
_setValue(_textbox("asrn"), "11-005604");
_click(_button("Search"));
Can anybody help me out please.
I am testing application in IE8. when I playback the script to click on Search button in the application sahi is giving TypeError:"Object Does not support this Property or method".Script is as follows
_setValue(_textbox("asrn"), "11-005604");
_click(_button("Search"));
Can anybody help me out please.
Comments
Could you try doing these steps manually.
Also, Ctrl+Hover on "Search" and use what is displayed in the Accessor field.
Regards
Sumitra
As u told I have done those steps manually it is working properly and giving the result and also instead of _click(_button("Search")) if i add _keyPress(_textbox("asrn"), [13,13]); it works.
when Ctrl+hover I am getting _button("Search") in Accessor field.
Thanks,
Sowmya
Can you tell me what do u get on the Accessor field when you Ctrl+Hover on Search with IE and Firefox
Regards
Sumitra
When I Ctrl+Hover on search button I am getting _button("Search") in IE but Since Firefox does not support our application I am unable to get when Ctrl+Hover on search in Accessor field.
Thanks,
Sowmya
Try using this:
_click(_xy(_button("Search"), 5, 5));
Regards
Sumitra
I have tried using _click(_xy(_button("Search"), 5, 5)); but again i am getting the same error.
"_click(_xy(_button("Search"), 5, 5));
TypeError: Object doesn't support this property or method
No trace available
"
Thanks,
Sowmya
I have Google chrome in my system but it is not displaying in dashboard. Can anybody suggest how to configure it.
Thanks,
Sowmya
Please create a new forum post for Google Chrome issue.
Kindly follow the steps below:
Start Sahi>>Click on Configure on Dashboard>>Mention the path of Google Chrome in "<path>"
Restart Sahi.
Regards
Sumitra