Forum Discussion
nisgupta
Valued Contributor
The issue that notification come for very few seconds and go away . By the time I try to do object spy that notification panel go away.
The notification panel is based jquery plugin notify.js
you can find the details https://notifyjs.com
then go to the statements
$.notify("Hello World");
and click on the Hello World . you will see "Hello World notification appear on top right corner for few seconds and then it go away. How do you handle object spy in this case
Thanks
NG
dganov
7 years agoStaff
You can just disable auto hide of notifications on the web page:
$.notify.defaults( { autoHide: false, clickToHide: true } )
To do it using TestComplete call something like this:
Sys.Browser().Page("*").contentDocument.Script.eval("$.notify.defaults( { autoHide: false, clickToHide: true } )")
Related Content
- 5 years agokaiiii
- 2 years agomattb
- 2 years agojaredjamieson
- 2 years agomattb
Recent Discussions
- 3 hours agosimonaferrara
- 12 hours agoSubhraDas
- 2 days agotramuntana