Forum Discussion
mcguireden50
14 years agoNew Contributor
Sorry - I guess I didn't do a very good job of explaining my question.
What I want to do is pass a stores.dbtables.table1 object from a runscriptroutine in a keyword test using stores.dbtables.table1 object as a parameter to a script routine.
Here is basic pseudo code
Keyword test
Item Operation Value
Run Script Routine setconnectionstring stores.dbtables.table1
Script code
setconnectionstring(obj:);
DBTab;
;
What is the proper way to pass the parameter to the script routine.
Thanks
What I want to do is pass a stores.dbtables.table1 object from a runscriptroutine in a keyword test using stores.dbtables.table1 object as a parameter to a script routine.
Here is basic pseudo code
Keyword test
Item Operation Value
Run Script Routine setconnectionstring stores.dbtables.table1
Script code
function setconnectionstring(obj:object);
setconnectionstring(obj:);
var DBTab;
DBTab;
begin
DBTab := obj;
DBTab.ConnectionString := 'Provider=Advantage.OLEDB.1;Data Source='+ProjectSuite.Variables.VariableByName['connectionpath']+';Persist Security Info=False;Advantage Server Type=ads_local_server';
end;
;
What is the proper way to pass the parameter to the script routine.
Thanks
Related Content
- 2 months agoSahall0308
Recent Discussions
- 39 minutes agoSubhraDas