-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query OR 'Execute Sql String' of Database Function returning connection details instead of data #123
Comments
Can you please send me a code example testsuite so that I can try to troubleshoot this? I use both of these keywords daily without issue. Please include your database connection string? And the actual error returned in the log.html. |
Connect To Database Using Custom Params cx_Oracle user='${DB_USER}',password='${DB__PWD}',dsn='${DB__DSN}' @{Query_String} Query select Pkg.function ( XXX , y ) from dual NOTE: Regular "select .." queries work fine. Have issue only with FUNCTION calls. |
I am not sure what the problem is here. Here is a testsuite I can use against MS SQL without error. I do not have access to an Oracle DB right now. *** Settings *** *** Test Cases *** Call exam.OLADemoUserRandom passing in DisciplineSpecialtyID (Table Function) Can you please send me a complete testsuite/testcases with the actual log.html output so that I can see the errors you are having? |
We need to see the full robot script for the Oracle version but could it be the missing equals sign (=) in the Oracle query? Oracle query: SQL query: |
The "=" should not make a difference. You need 2+ spaces between @{output} and Query and SELECT. Can you please attach/send a sample testsuite for Oracle that is failing along with the log.html output file? Seeing the suite and output file would help a lot for me to troubleshoot this issue. |
robot file: *** Settings *** *** Test Cases *** Connect To Database Verify Data Disconnect DB O/p: |
Do you have a database/server that I can connect to so that I may try and troubleshoot this right now? |
Sorry I cannot provide them. |
Can you run with DEBUG or TRACE log levels and send in the complete log then? |
Uses the input I do not see any additional log |
Have you been able to get this working? Connection appears to be fine and no errors returned. I can not duplicate this against other DBs and do not have an Oracle setup right now |
@jerry57: oracle have a bunch of Pre-Built Developer VMs (for Oracle VM VirtualBox): https://www.oracle.com/downloads/developer-vm/community-downloads.html I use Vagrant a lot and it makes downloading and managing VMs really easy. I've not tried any of the Oracle DB VMs though. Let me know if you want me to try them out. |
Query OR 'Execute Sql String' Database Function returning connection details instead of data.
Query Statemenet: : Select Packagename.function from dual;
The text was updated successfully, but these errors were encountered: