MongoDB connection

149 views
Skip to first unread message

Xuan

unread,
Aug 23, 2012, 7:05:44 AM8/23/12
to robotframe...@googlegroups.com
Does anyone know if databaselibrary support mongo db connection?
I tried "Connect To Database|pymongo" or "Connect To MongoDB|192.168.99.6", both are not working.
It would be nice if I can some samples.

Jerry Schneider

unread,
Aug 23, 2012, 10:14:59 AM8/23/12
to robotframe...@googlegroups.com
I had submitted code to work with MongoDB to the Database-Library python
project but it was never incorporated. We use it all the time to test
our application in house though. The code might still be in the project
in my fork. Checkout:
https://github.com/jerry57/Robotframework-Database-Library
I would be interested in hearing how much it helps and if you have any
improvements or suggestions for it.

Hope it helps out.

jer
> --
> You received this message because you are subscribed to the Google
> Groups "robotframework-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/robotframework-users/-/vK9z1bxzQL8J.
> To post to this group, send email to
> robotframe...@googlegroups.com.
> To unsubscribe from this group, send email to
> robotframework-u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/robotframework-users?hl=en.

--
Linux registered user #475536
Ubuntu registered user #28583

Jerry Schneider

unread,
Aug 23, 2012, 10:23:05 AM8/23/12
to robotframe...@googlegroups.com
Forgot to mention, in the test directory, there is a sample testsuite
showing all the keywords connecting to a localhost server.

jer

On 8/23/12 4:05 AM, Xuan wrote:

David

unread,
Aug 23, 2012, 11:28:28 PM8/23/12
to robotframework-users
Glad there's some work on this, I might have use for it sometime.
Thanks Jerry. Now, if only we had this option for the Java database
library as well, would be nice, so you could use MongoDB with either
library...

By the way, I find your statement rather funny: "The code might still
be in the project in my fork." Why wouldn't it be, unless you deleted
it, or does the fork have multiple committers? I'm still new to GitHub
development.

Jerry Schneider

unread,
Aug 24, 2012, 10:17:53 AM8/24/12
to robotframe...@googlegroups.com
If there is anyone who would like to port it to Java, please go for it.
I did the work in python as a learning experience and need for something
we are testing here. Unfortunately I am not a Java programmer. As for
GitHub and the code still being there, I am not all that familiar with
GitHub and hadn't checked on it in quite some time. We have since
pulled it in house and created an internal
RobotFramework-MongoDB-Library. I have posed questions to our
opensource folks about releasing the library. Once I have their
response, we may release it.

I am just glad that it might be useful to others and would welcome work
going forward.

Thanks,
jer
Reply all
Reply to author
Forward
0 new messages