Can we use Robotframework on a Serial port ?

549 views
Skip to first unread message

Rohan Majumdar

unread,
Mar 26, 2016, 4:30:51 AM3/26/16
to robotframework-users
Hello All,

I was trying out ways to test my device over a UART which has a fixed port number.
The assignment is such that I have to post something on the Serial Port and then obtain and parse the output and decide whether the test has failed or passed.
Can anyone point me in the right direction.
Many thanks in advance.

Regards
Rohan

Edouard Smith

unread,
Jan 3, 2017, 8:50:20 AM1/3/17
to robotframework-users
Hi Rohan,

Yes this is possible but you have to develop your own serial library,
I will suggest some reading: http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#creating-test-libraries

If you are with Python, I will think of using the Py serial lib to make your lib

Hope this help,
Ed'

Heiko Thiery

unread,
Jan 3, 2017, 8:55:02 AM1/3/17
to smithec...@gmail.com, robotframework-users
I dont know exactly your requirements but we simply connect the serial of our DUT to a linux machine where ser2net is running. Then we can test the DUT via serial interface from robotframework. In our case it is a embedded device with u-boot and linux running.

-- 
Heiko

--
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.

Reply all
Reply to author
Forward
0 new messages