How to integrate web driver on Jenkins using JSON config file where source is Github

Best practices, code snippets for common functionality, examples, and guidelines.
csolanki
Posts: 113
Joined: Thu Mar 22, 2018 8:51 am

How to integrate web driver on Jenkins using JSON config file where source is Github

Post by csolanki » Tue Mar 12, 2019 8:51 am

Hi,

How I can config my Jenkins according to the JSON input I have given in my Ranorex web driver. I am using git repo as my source to Jenkins. So, how I can make Git communicate to Jenkins and what is the role of JSON here ?
- Is there any place in Jenkins where I should pass all these JSON mentioned capabilities or Ranorex takes it up automatically, only it should be present in git repo.


Regards,
Charu Solanki
Regards,
Charu Solanki
Ranorex User

qwertzu
Posts: 215
Joined: Wed Jan 25, 2017 11:08 am

Re: How to integrate web driver on Jenkins using JSON config file where source is Github

Post by qwertzu » Wed Mar 13, 2019 1:31 pm

Hi csolanki,

If you add JSON Capabilities to an endpoint and build your test, they will be automatically used when executing your test on this endpoint.
Note: In your output folder, you will find a shortcut file for every endpoint of your project. If you run this shortcut, the test will automatically run on this endpoint and use the capabilities specified within Ranorex.

regards, qwertzu

csolanki
Posts: 113
Joined: Thu Mar 22, 2018 8:51 am

Re: How to integrate web driver on Jenkins using JSON config file where source is Github

Post by csolanki » Thu Mar 14, 2019 12:49 pm

Thank you.
Regards,
Charu Solanki
Ranorex User