How to connect to Database using Robot framework

1,054 views
Skip to first unread message

Sweta Rahangdale

unread,
Mar 17, 2017, 6:01:43 AM3/17/17
to robotframework-users
Hi All,

If anyone knows, how to connect to the Database(sqlserver) using robot-framework. I want to query database to verify the results.

Any Idea would be appreciated !

Thanks,
Sweta Rahangdale

Jaakko Salminen

unread,
Mar 17, 2017, 6:27:10 AM3/17/17
to robotframework-users

GAURAV DEORE

unread,
Mar 17, 2017, 8:53:59 AM3/17/17
to jaa...@gmail.com, robotframework-users
This what the way you can do for MYSQL DB after installation of DatabaseLibrary lib.  Please note you need to install "PyMySQL-0.7.10-py2.py3-none-any.whl" for Mysql Db connection. 

Then try to connect with following way.

DatabaseLibrary.Connect To Database pymysql testdb root ${EMPTY} localhost 3306


-- Gaurav

--
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 robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.



--
------------------------------
Warm Regards,
GAURAV S. DEORE.
Reply all
Reply to author
Forward
0 new messages