How do i integrate my robot framework scripts with TFS(Azure DevOps)

922 views
Skip to first unread message

Karthik M S

unread,
Jun 20, 2019, 9:33:47 AM6/20/19
to robotframework-users
Hi All,

I want to integrate my Robot framework scripts with TFS and run them on Azure DevOps. Can anyone help me out to achieve this task please.

Thanks,
Karthik.

Jeff King

unread,
Jun 20, 2019, 9:51:20 AM6/20/19
to robotframework-users
I'm also looking to do this. So far I have all the batch files created with tests and their parameters (i.e. tags, rerun, logfile location and argument files.)

I'm not part of the group that integrates with Azure DevOps (which we use) but I write all the tests.. I just want to be able to hand off the required batch files so they can run them.

Anthony fromtheuk

unread,
Jun 20, 2019, 12:25:02 PM6/20/19
to robotframework-users
I did this using docker, add your files install requirements, run tests.

Anthony fromtheuk

unread,
Jun 20, 2019, 12:35:38 PM6/20/19
to robotframework-users
You need to make a Dockerfile

FROM CHOSENDOCKERHUBIMAGE
ADD TESTDIRECTORY /
CMD [ "pip", "install", "-r", "requirements.txt" ]

And then the pipeline YAML will need to ask to build your docker container and run tests

pool:
vmImage: 'ubuntu-latest'

steps:

- script: |
docker build -t test .
displayName: 'setup docker'

- script: |
docker run test
displayName: 'Run the test'


 This is very vague but it worked for me, just need to do it at the right time in the pipeline

Karthik M S

unread,
Jul 12, 2019, 1:44:23 AM7/12/19
to robotframework-users
Hi,

Can you explain how did you create batch files?

Thanks

Karthik M S

unread,
Aug 13, 2019, 4:23:18 AM8/13/19
to robotframework-users


On Thursday, June 20, 2019 at 7:21:20 PM UTC+5:30, Jeff King wrote:
Reply all
Reply to author
Forward
0 new messages