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.
Using Javascript/vbscript in Sahi
1. Can we create Javascript functions in .js files and then call them in our scripts? Example needed.
2. As informed we need to write js functions in browser tags, but they need to be called with Scheduler functions only, will this not limit the free use of js.
3. Can sahi _assert functions validate that a text/image appears at particular screen coordinates of the screen.
4. How one can use vbscript in Sahi, example needed.
5. What restrictions if any sahi has when using js to access the DOM.
6. With above scripting languages supported only through scheduler functions, what cannot be done even using js/vbs ??
2. As informed we need to write js functions in browser tags, but they need to be called with Scheduler functions only, will this not limit the free use of js.
3. Can sahi _assert functions validate that a text/image appears at particular screen coordinates of the screen.
4. How one can use vbscript in Sahi, example needed.
5. What restrictions if any sahi has when using js to access the DOM.
6. With above scripting languages supported only through scheduler functions, what cannot be done even using js/vbs ??
Comments
2. No
3. Yes
5. None unless pages are from different domains
6. Wrong assumption
Btw, how about reading some documentation and experimenting a bit?