Sorry, I couldn't cut and paste the actual code so I retyped it and made a few typos. 'Smc' is actually 'cmd'. Connection string is correct in the actual code and trust me this is not a connection issue. It seems this logic doesn't work in Oracle. I read somewhere that in order to use Stored procedure returning results in Oracle I actually need a different logic: Instead of creating a Command object I need to create an OracleCommand object using Oracle specific driver, and all the other commands have to be changed. I couldn't find any example of this in QTP. A sa result I changed the approach and now create the result table inside stored procedure and after calling it from QTP, read the results from this table in QTP script. This is not elegant, but I had to move forward.
calling stored procedure from Oracle
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
calling stored procedure from Oracle - by borisk - 12-18-2012, 07:31 PM
RE: calling stored procedure from Oracle - by krr - 12-31-2012, 05:40 PM
RE: calling stored procedure from Oracle - by borisk - 12-31-2012, 05:49 PM
RE: calling stored procedure from Oracle - by gaveyom - 03-19-2013, 12:41 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
calling QTP script from one to another | krishnas.tester | 3 | 7,030 |
11-12-2014, 10:32 AM Last Post: vinod123 |
|
Request Help | Usage of Oracle Add-In for Oracle SQL Developer | Nasir Ahmed | 3 | 3,794 |
06-18-2014, 04:28 PM Last Post: vinod123 |
|
Need to put a value in editbox and the value is stored in a variable | anushreebehura | 2 | 3,087 |
05-10-2013, 03:03 PM Last Post: SweetyChowdhury |
|
Function is not calling from subdriver | qtpexpert | 0 | 2,179 |
01-18-2013, 12:25 PM Last Post: qtpexpert |
|
While calling sub procedure its giving error | Akhila | 1 | 2,787 |
10-22-2012, 01:55 PM Last Post: harishshenoy |
Users browsing this thread: 1 Guest(s)