Page 1 of 1

Ranorex UI Jenkin process Execution

Posted: Mon Jan 17, 2022 8:04 pm
by amitgupta
Dear Team,
As per learning prospective , Today I just tried to install Jenkin server on my machine and add my machine as a node .When we run Jenkin as process on local work station , it showed UI execution and so faster as successful . My machine is Windows 10 OS .

Could you please provide so valuable time for getting clarification on below query ?

1. If Our Jenkins server runs on Linux machine and the node machine is a Windows Server OS, Will it support Ranorex Test Execution as UI process ?
2. What are installation requirements for Jenkins (server, node) so that we can see Ranorex UI execution during Jenkin Job trigger?
3. After disabling start type of Jenkin service in ‘Slave’ Node machine , Do we have any other setting for executing process as UI?
4. Do we have any setting on Linux Jenkin master machine for executing process as UI on windows slave machine?
5. After disabling start type of Jenkin service in ‘Slave’ Node machine ,How can we make sure that Jenkin is running as UI process ?
6. Could you please share other document for setting both Jenkin master and slave except below useful link ?

Install and configure plugins in Jenkins | Ranorex Studio User Guide

Thank you for hearing me in advance!!!!

Thank you,
Amit G

Re: Ranorex UI Jenkin process Execution

Posted: Tue Jan 18, 2022 8:15 am
by odklizec
Hi,

Everything required for successful Ranorex2Jenkins integration, can be found at Ranorex website. I would suggest to read (and watch) these links:
https://www.ranorex.com/help/latest/int ... roduction/
https://www.ranorex.com/blog/integratin ... n-process/
https://www.ranorex.com/automated-testi ... tegration/

The main requirement is, that the Jenkins/Jenkins slave must NOT be run as a Service! This is really important!

And yes, you can have Linux Jenkins server and Windows-based Jenkins slave machine. Ranorex will work just fine on Windows-based Jenkins slave. There are no special settings for this. Simply, you will have to install Jenkins slave agent on Windows machine of your choice and connect this agent with Jenkins server. Basically, it should be connected automatically during the slave agent setup.

Another thing you need to keep in mind is, that the slave machine must not be locked and that the screensaver must be disabled too! Otherwise, Ranorex will not be able to perform his duties. You can either use Logon Expert (or similar tool) to autologon and to keep the machine unlocked or you can use "Keep user session alive" hack, described on this page:
https://www.ranorex.com/help/latest/ran ... lRDPbrspan

Re: Ranorex UI Jenkin process Execution

Posted: Tue Jan 18, 2022 10:00 am
by amitgupta
Thank you for giving response . After disabling start type of Jenkin service in ‘Slave’ Node machine ,How can we make sure or verify that Jenkin is running as UI process because since i didn't see UI execution ?

if we connected slave machine with server , how to get credential from jenkin server which is used to execute given project as UI execution .if many user have access on that slave machine ,how to verify which credential is used for UI execution on slave machine .


Thank you
Amit G

Re: Ranorex UI Jenkin process Execution

Posted: Tue Jan 18, 2022 10:42 am
by odklizec
Hi,

I'm afraid, I don't understand what you mean by this...
How can we make sure or verify that Jenkin is running as UI process because since i didn't see UI execution ?
If everything is setup correctly, the test should execute fine. If you are experiencing some problems, please describe your problems in more details.
"if we connected slave machine with server , how to get credential from jenkin server which is used to execute given project as UI execution .if many user have access on that slave machine ,how to verify which credential is used for UI execution on slave machine ."
I'm afraid, I can't help you with that one. The Jenkins slave machine should definitely not be used by multiple users. Ours slaves are configured with single service account.

Re: Ranorex UI Jenkin process Execution

Posted: Tue Jan 18, 2022 12:55 pm
by amitgupta
Team as I told earlier that It seems that i have made correctly set up of Jenkin on slave machine but i didn't see any UI execution on slave machine and can see some execution log in Jenkin build log .

I have already made Jenkin Start Type as disabled on slave machine but I did not see UI execution . I have two query after this and looking for your response ?

1. How to verify whether jenkin is running as process or not in slave machine because we have already made Jenkin Start Type as disabled on slave machine.
2. is it using any other credential to execute script on slave machine except my credential ? if yes , How to verify for the same? I wanted to verify credential which is used to execute script on jenkin slave machine.


I have only issue for not getting UI execution on slave machine after making Jenkin Start Type as disable.

Please feel good if you need more information

odklizec wrote:
Tue Jan 18, 2022 10:42 am

Hi,

I'm afraid, I don't understand what you mean by this...
How can we make sure or verify that Jenkin is running as UI process because since i didn't see UI execution ?
If everything is setup correctly, the test should execute fine. If you are experiencing some problems, please describe your problems in more details.
"if we connected slave machine with server , how to get credential from jenkin server which is used to execute given project as UI execution .if many user have access on that slave machine ,how to verify which credential is used for UI execution on slave machine ."
I'm afraid, I can't help you with that one. The Jenkins slave machine should definitely not be used by multiple users. Ours slaves are configured with single service account.
odklizec wrote:
Tue Jan 18, 2022 8:15 am
Hi,

Everything required for successful Ranorex2Jenkins integration, can be found at Ranorex website. I would suggest to read (and watch) these links:
https://www.ranorex.com/help/latest/int ... roduction/
https://www.ranorex.com/blog/integratin ... n-process/
https://www.ranorex.com/automated-testi ... tegration/

The main requirement is, that the Jenkins/Jenkins slave must NOT be run as a Service! This is really important!

And yes, you can have Linux Jenkins server and Windows-based Jenkins slave machine. Ranorex will work just fine on Windows-based Jenkins slave. There are no special settings for this. Simply, you will have to install Jenkins slave agent on Windows machine of your choice and connect this agent with Jenkins server. Basically, it should be connected automatically during the slave agent setup.

Another thing you need to keep in mind is, that the slave machine must not be locked and that the screensaver must be disabled too! Otherwise, Ranorex will not be able to perform his duties. You can either use Logon Expert (or similar tool) to autologon and to keep the machine unlocked or you can use "Keep user session alive" hack, described on this page:
https://www.ranorex.com/help/latest/ran ... lRDPbrspan

Re: Ranorex UI Jenkin process Execution

Posted: Wed Jan 19, 2022 10:07 am
by odklizec
Hi,

To verify if Jenkins is running as a service, open the "Services" app (windows tool) and search for Jenkins-related service. Another way, how to tell if Jenkins is running as a service, is Ranorex report. If you see black screenshots in report, then Jenkins is definitely running as a service.

Re: Ranorex UI Jenkin process Execution

Posted: Sat Jan 22, 2022 8:41 pm
by amitgupta
Team , Could we do parallel execution by Ranorex - Jenkin Setup integration ? if yes , Could we guide me for the same ?

Parallel Execution Query :-

How to execute multiple test case in Ranorex at the same time?

How to execute every or specific test case in all Ranorex supported browser at the same time?
odklizec wrote:
Wed Jan 19, 2022 10:07 am
Hi,

To verify if Jenkins is running as a service, open the "Services" app (windows tool) and search for Jenkins-related service. Another way, how to tell if Jenkins is running as a service, is Ranorex report. If you see black screenshots in report, then Jenkins is definitely running as a service.

Re: Ranorex UI Jenkin process Execution

Posted: Mon Jan 24, 2022 9:04 am
by odklizec
Hi,

Parallel execution of web tests is only possible via Ranorex Parallel Runner tool and Webdriver integration. For more details, please check the user guide:
https://www.ranorex.com/help/latest/web ... lel-runner

Re: Ranorex UI Jenkin process Execution

Posted: Tue Jan 25, 2022 10:50 am
by amitgupta
Could any team guide me how to check accessibility standard of the html generate by our app. how to use ranorex tool with 'axe'tool. your help is highly appreciated if u can.

Thanks Amit G

Re: Ranorex UI Jenkin process Execution

Posted: Tue Jan 25, 2022 11:13 am
by odklizec
amitgupta wrote:
Tue Jan 25, 2022 10:50 am
Could any team guide me how to check accessibility standard of the html generate by our app. how to use ranorex tool with 'axe'tool. your help is highly appreciated if u can.

Thanks Amit G
This is a Ranorex unrelated question. Already answered here: https://www.ranorex.info/ranorex-access ... tml#p69355

Re: Ranorex UI Jenkin process Execution

Posted: Tue Jan 25, 2022 11:20 am
by amitgupta
I strongly believe that it is related to Ranorex only . we just wanted to know whether Ranorex can perform accessibility testing for given application or not since i can see that selenium and cypress support accessibility testing.

Few month before i heard that Ranorex also support accessibility testing but not sure how to perform for the same?

Thanks
Amit G

Re: Ranorex UI Jenkin process Execution

Posted: Tue Jan 25, 2022 11:31 am
by odklizec
I'm afraid, I don't understand what you mean? Ranorex definitely support accessibility. And from my point of view, Axe tool has nothing to do with Ranorex? Ranorex is a comprehensive framework for design and run of desktop, web and mobile apps and uses accessibility wherever applicable. UI elements are found vie xpaths and accessibility attributes (if available). If accessibility attributes are not available, Ranorex use different attributes.

You will have to be much more specific about your needs. What exactly you would like to do or is not doable with Ranorex?

Re: Ranorex UI Jenkin process Execution

Posted: Tue Jan 25, 2022 11:37 am
by amitgupta
Thank you for giving response .as you told that Ranorex support accessibility testing .So While we are executing automation tests, I would like to also check the accessibility standards of the html generated by our app. I would like our Ranorex tests to report out if any accessibility violations were found in our html while running the tests. So please feel good to share if you did not get context?

Re: Ranorex UI Jenkin process Execution

Posted: Tue Jan 25, 2022 11:48 am
by odklizec
Hi,

OK, so basically, you want some kind of report, that your app meets the accessibility standards. I'm afraid, there is no such kind of tool/method in Ranorex. So you will have to use a 3rd party tool, like so mentioned Axe (if it does that). Or you will have to find a library, that could be integrated with Ranorex and used in code.