--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
-- Linux registered user #475536 Ubuntu registered user #28583
Looks like there might be a problem with the Connect to Database keyword. Can you try the following:
Connect to Database ibm_db dbName dbHost dbPort dbUsername dbPassword
Something like:
Connect to Database ibm_db SAMPLE localhost 5000 db2admin robotframework
hopefully that will resolve the issue for you.
If not, trying the Connect to Database Using Custom Params might be a better resolution for the moment.
jer
On 4/6/16 9:50 AM, michael...@gmail.com wrote:
--Hi.
I am using the database library (the Python one). I have been able to connect successfully to Postgres.
However, I am now trying to connect to db2 and I can't seem to make it work.
I have found some info (of/from people having similar problems) on the web, but no real solutions.
I tried two Python odbc driver modules: pyodbc as well as ibm_db.
Using the first, I receive an error "Data source name not found and no default driver specified".
Using the second, I get an error "FAIL : TypeError: function takes at least 3 arguments (0 given)."
My connection statement:
Connect To Database dbapiModuleName=ibm_db dbName=SAMPLE dbUsername=db2admin dbPassword=robotframework dbHost=localhost dbPort=50000
I have defined a data source using the Windows data source manager
Config: Win7Pro; Python 2.7.10 *32b; RF 2.9.x, latest database library; DB2Express-C (also 32b).
(So the stack is 32 bit. Therefore, I have also used the 32b Windows data source manager of course.)
Tnx in advance for any tips on how to deal with this.
Michael
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
Hi Jerry,
Hi Jerry,
Hi Jerry,