We are building a new experience for our SmartBear Community. This site is now read-only. You can still browse and search as usual. Learn More
tpoirierContributor13 years agoSolvedCalling a stored procedureI am trying to call a stored procedure passing in several aruments and not having any success, with a trace I was able to find out that the parameter names were not being included when when the data i...Show Moreagabriel13 years agoFor a dataset this might work:Instead of: var test = SProc.Parameters.ParamByName("OnHand").value; Log.Message(test);Try this: SProc.Open(); SProc.First(); while (! SProc.EOF) { Log.Message(SProc.FieldByName("OnHand").Value); SProc.Next(); } SProc.Close();
agabriel13 years agoFor a dataset this might work:Instead of: var test = SProc.Parameters.ParamByName("OnHand").value; Log.Message(test);Try this: SProc.Open(); SProc.First(); while (! SProc.EOF) { Log.Message(SProc.FieldByName("OnHand").Value); SProc.Next(); } SProc.Close();
agabriel13 years agoFor a dataset this might work:Instead of: var test = SProc.Parameters.ParamByName("OnHand").value; Log.Message(test);Try this: SProc.Open(); SProc.First(); while (! SProc.EOF) { Log.Message(SProc.FieldByName("OnHand").Value); SProc.Next(); } SProc.Close();
agabrielContributor13 years agoCan you provide more information about how you are trying to accomplish this?
Recent DiscussionsTestComplete(TestExecute) 15 asks for license activation almost every dayTestComplete 15.64.3.7 asks for license activation for another RDP user on the same VMFeature Request: Alternative working directory for temp files and logs in TestExecute
Related ContentNot able to call stored procedureCall stored procedure that's in a package in oracleGet return value from a stored procedure