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
To overcome Java Script Errors
Bhavitha
Members
Hi Narayan,
In our scripts we have certain pop-ups where we need to assert few values, when we click on the icon and assert the values inside pop and try to close it, there comes a java script error pop up stating as Access in denied. Thus Script fails unless we click "OK" manually.
The log shows as :
undefined: Access is denied.
(http://192.168.99.103/cspi/verificationCaseSearch.do:825)
No trace available
Click for browser script at
This is not an application error because when we do it manually, this error does not comes.
Is it because we have injected this code in Inject_top.txt for VB script pop-ups :-
<script language="vbscript">
function MsgBox()
return True
end function
</script>
(The above solution was provided in this post : http://sahi.co.in/forums/viewtopic.php?id=1921)
Thanks in Advance
Regards,
Bhavitha
In our scripts we have certain pop-ups where we need to assert few values, when we click on the icon and assert the values inside pop and try to close it, there comes a java script error pop up stating as Access in denied. Thus Script fails unless we click "OK" manually.
The log shows as :
undefined: Access is denied.
(http://192.168.99.103/cspi/verificationCaseSearch.do:825)
No trace available
Click for browser script at
This is not an application error because when we do it manually, this error does not comes.
Is it because we have injected this code in Inject_top.txt for VB script pop-ups :-
<script language="vbscript">
function MsgBox()
return True
end function
</script>
(The above solution was provided in this post : http://sahi.co.in/forums/viewtopic.php?id=1921)
Thanks in Advance
Regards,
Bhavitha
Comments
I removed the function from Inject_top and checked, its not the problem with this function.
Can u suggest why these Java errors come only when we click on certain icons and it appears in Orange colour in log. Script fails unless we Manually click on the Java error pop-up.