Ranorex Browser Launch or UI activity Issue during Jenkin Trigger

Ask general questions here.
amitgupta
Posts: 54
Joined: Sun Mar 28, 2021 7:58 pm

Ranorex Browser Launch or UI activity Issue during Jenkin Trigger

Post by amitgupta » Mon Oct 11, 2021 4:56 pm

Dear Team,

While executing our script from Jenkin Build , I am getting log successfully in Build Output of Jenkin Job for simple project but i am not getting any UI activity or chrome browser on master and Jenkin target Slave machine .I want to see my execution with browser on target jenkin slave machine whenever i build a job automatically.

I just got console output in Jenkin job whenever I triggered job.

Could you please help or guide me for the same?

Thank you
Amit Gupta
You do not have the required permissions to view the files attached to this post.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Ranorex Browser Launch or UI activity Issue during Jenkin Trigger

Post by odklizec » Tue Oct 12, 2021 6:43 am

Hi,

I may misunderstand something, but there is nothing like a realtime viewer in Jenkins. You will have to log to the slave VM (via remote desktop) and then you can see the test in a realtime.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

amitgupta
Posts: 54
Joined: Sun Mar 28, 2021 7:58 pm

Re: Ranorex Browser Launch or UI activity Issue during Jenkin Trigger

Post by amitgupta » Tue Oct 12, 2021 8:53 am

odklizec wrote:
Tue Oct 12, 2021 6:43 am
Hi,

I may misunderstand something, but there is nothing like a real time viewer in Jenkins. You will have to log to the slave VM (via remote desktop) and then you can see the test in a real time.
Thank you for giving quick response .I have logged to slave VM via remote desktop and didn't see any execution test as real time whenever i triggered build now for Jenkins Job. i can see execution activity in console output for trigged Build Job of Jenkin but not real time execution in Slave Virtual machine .Could u help me on this?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Ranorex Browser Launch or UI activity Issue during Jenkin Trigger

Post by odklizec » Tue Oct 12, 2021 9:03 am

Are you sure that you are connecting with the same user account as is the VM logged on when used via Jenkins? Another possibility is, that the Jenkins agent on slave machine is started as a service, which is a big no-no! But in this case, the test would most probably fail and display black screenshots in report.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration