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.
Get parameter from database
I'm trying to pass a parameter from database to a sahi function, but i don't now how.
-extraInfo/_extraInfo() is the only way?
Thanks
-extraInfo/_extraInfo() is the only way?
Thanks
Comments
find it from the API Document
Can help you?
I get some data from database in an Erlang module. This one communicates with a C program, which calls TestRunner class with parameters.
When i do this without parameters there is no problem, but when i use -extraInfo/_extraInfo() fails.
I downloaded the Sahi source and fixed TestRunner.class changing:
testRunner.setInitJS(map.get("extraInfo"));
for
testRunner.setExtraInfo(map.get("extraInfo"));
but still doesn't work.
Is there any way to pass parameters to Sahi scripts?