I tried to do this that way but it does not work find. There is no icons and no logsMaybe this links helps to solve the problem with Ranorex reports in CC.Net:
http://stackoverflow.com/questions/2549 ... ontrol-net
I did not try this because we have other priorities at the moment, but we will definitly try to find a solution to integrate the test reports with CC.Net dashboard. I will let you know if we found a something that works.
How to integrate Ranorex with CruiseControl
Re: How to integrate Ranorex with CruiseControl
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to integrate Ranorex with CruiseControl
Sorry, didn't get your question.
I think your cited link hasn't got anything to do with cruise control.
Larissa
Ranorex Support Team
I think your cited link hasn't got anything to do with cruise control.
Larissa
Ranorex Support Team
Re: How to integrate Ranorex with CruiseControl
When running a Ranorex solution using Cruise Contol, some of the tests fail and the report only shows black screen prints.
When running the test manualy (with the same user as the Cruise Control service logs in) everything works fine.
The application i'm testing is a web application running in Internet Explorer.
When running the test manualy (with the same user as the Cruise Control service logs in) everything works fine.
The application i'm testing is a web application running in Internet Explorer.
You do not have the required permissions to view the files attached to this post.
Re: How to integrate Ranorex with CruiseControl
This usually means that the system does not have a fully realized desktop. Even though the user may be logged in, a desktop must be present, either on a monitor or through a virtualization program like RDP or VNC (or VM terminals).
Ranorex cannot identify objects if the screen is locked or logged out, or if there isn't a fully realized desktop. This is typically when you will see black screen shots and tests that fail.
I would recommend using VNC to maintain an active desktop. You can set it so that the desktop is always available, even when you aren't connected to it.
Ranorex cannot identify objects if the screen is locked or logged out, or if there isn't a fully realized desktop. This is typically when you will see black screen shots and tests that fail.
I would recommend using VNC to maintain an active desktop. You can set it so that the desktop is always available, even when you aren't connected to it.
Shortcuts usually aren't...
Re: How to integrate Ranorex with CruiseControl
I've tried RDP and Real VNC. Both solutions don't seem to work.
The cruise control service is using the same user as in RDP / VNC.
The cruise control service is using the same user as in RDP / VNC.
Re: How to integrate Ranorex with CruiseControl
Please explain how RDP/VNC is not working for you.
Shortcuts usually aren't...
Re: How to integrate Ranorex with CruiseControl
I've logged in using RDP or VNC with user 'task'
Then I run my job in Cruise control (which runs also under this 'task' user) and the job fails (and has black screen prints)
Then I run my job in Cruise control (which runs also under this 'task' user) and the job fails (and has black screen prints)
Re: How to integrate Ranorex with CruiseControl
1. Does it work you run the test manually from inside the RDP/VNC session when logged into "task"? (Run the test's exe from the cmd prompt.)
2. When Cruise Control (CC) runs the test while you are logged in through RDP/VNC, can you actually see the test starting and running?
My guess is that CC is the problem and that you need to change the configuration to make CC run the tests on the actual desktop instead of in the background. As this is not a CC forum, you might have better luck with that part of it on a CC site.
2. When Cruise Control (CC) runs the test while you are logged in through RDP/VNC, can you actually see the test starting and running?
My guess is that CC is the problem and that you need to change the configuration to make CC run the tests on the actual desktop instead of in the background. As this is not a CC forum, you might have better luck with that part of it on a CC site.
Shortcuts usually aren't...
Re: How to integrate Ranorex with CruiseControl
Thanks for the help.
I've found this document, which solved my case:
http://docs.telerik.com/teststudio/user ... ssion.aspx
I've found this document, which solved my case:
http://docs.telerik.com/teststudio/user ... ssion.aspx
-
- Posts: 25
- Joined: Tue May 05, 2015 11:25 am
Re: How to integrate Ranorex with CruiseControl
Could you share how you have integrated Ranorex with Cruise Control.njansen wrote:When running a Ranorex solution using Cruise Contol, some of the tests fail and the report only shows black screen prints.
When running the test manualy (with the same user as the Cruise Control service logs in) everything works fine.
The application i'm testing is a web application running in Internet Explorer.
I am clueless where to start.
-
- Certified Professional
- Posts: 74
- Joined: Mon Aug 14, 2006 7:17 pm
- Location: CH
Re: How to integrate Ranorex with CruiseControl
Hi Eric,
Can please provide a bit more information about what you want to do. Do you want to access a source code management, or you only want to execute your test suite?
Cheers
Dan
Can please provide a bit more information about what you want to do. Do you want to access a source code management, or you only want to execute your test suite?
Cheers
Dan
-
- Posts: 25
- Joined: Tue May 05, 2015 11:25 am
Re: How to integrate Ranorex with CruiseControl
Hello,CookieMonster wrote:Hi Eric,
Can please provide a bit more information about what you want to do. Do you want to access a source code management, or you only want to execute your test suite?
Cheers
Dan
I have setup CruiseControl on my Server.
I have HyperV machine that run the Ranorex using PSEXEC.
I am able to run the text succefully.
Now I would like to know how to show the report log ( rxlog ) in the CruiseControl webdashboard.
Regards,
/Eric
-
- Certified Professional
- Posts: 74
- Joined: Mon Aug 14, 2006 7:17 pm
- Location: CH
Re: How to integrate Ranorex with CruiseControl
Hi Eric,
This is not easy possible.
Due to that you are using CC.net, you had to install a web server and I guess you are using IIS. So what you add a virtual folder on IIS and make the result folder accessible for IIS. Then you save all the reports as html pages.
Then configure the cc.config and add a execute task:
At the end you add an XmlLogger with Page Link in it, then you can click on this link, which shows your html page.
Here is the page this properties of cc.net,
http://www.cruisecontrolnet.org/project ... Properties
Cheers
Dan
This is not easy possible.
Due to that you are using CC.net, you had to install a web server and I guess you are using IIS. So what you add a virtual folder on IIS and make the result folder accessible for IIS. Then you save all the reports as html pages.
Then configure the cc.config and add a execute task:
<exec> <executable>myTest.exe</executable> <baseDirectory>D:\dev\MyProject</baseDirectory> <buildArgs>/rf: D:\dev\MyProject\Result\myTEst_$[CCNetLabel]$.html</buildArgs> <buildTimeoutSeconds>10</buildTimeoutSeconds> <successExitCodes>0</successExitCodes> </exec>Im not sure if $[]$ is the right way to access cc.net property. I normally use nAnt.
At the end you add an XmlLogger with Page Link in it, then you can click on this link, which shows your html page.
Here is the page this properties of cc.net,
http://www.cruisecontrolnet.org/project ... Properties
Cheers
Dan
-
- Posts: 25
- Joined: Tue May 05, 2015 11:25 am
Re: How to integrate Ranorex with CruiseControl
hello Dan,
Thanks for pointing me in the right direction.
I was able to get the report in html format inside CruiseControl.
First I have followed "Share Over Local Network" tutorial, to be able to browse report from anywhere.
http://www.ranorex.com/blog/share-your- ... ny-browser
After that I have configured the web dashboard config file to use htmlReportPlugin
The html file is just a redirection ,the path is updated according the build number
Thanks
Thanks for pointing me in the right direction.
I was able to get the report in html format inside CruiseControl.
First I have followed "Share Over Local Network" tutorial, to be able to browse report from anywhere.
http://www.ranorex.com/blog/share-your- ... ny-browser
After that I have configured the web dashboard config file to use htmlReportPlugin
Code: Select all
<htmlReportPlugin description="Test Report" actionName="viewReport" htmlFileName="TestCalc.html" />
Code: Select all
<html>
<head>
<title>Redirection en htm</title>
<meta http-equiv="refresh" content="5; URL=http://10.5.0.37/ccnet/reporting/18502015/testcalc.html">
</head>
<body>
</body>
</html>
Thanks
-
- Posts: 5
- Joined: Thu Sep 20, 2018 2:28 pm
Re: How to integrate Ranorex with CruiseControl
Hi Eric,
I have followed your approach to display Ranorex reports in CCNet dashboard. But I have a problem in this approach. CCNet previous build logs are not able to show the old reports but always shows the latest report. This is because we are using html redirection to IIS virtual directory where always latest report is available. In general, in CCNet project artifacts will store build reports for previous executions. But in our case it is always redirects to latest. Do you have faced this problem ? If so, how can we handle this?
1. I want old Ranorex reports to be displayed in CCNet dashboard recent builds section. Please suggest me the way.
2. Also, I have a question in this approach, why is this CCNet html report plugin is not able to show the content of Ranorex report html directly? Why do we need this redirection from another html? Can some one please answer.
I have followed your approach to display Ranorex reports in CCNet dashboard. But I have a problem in this approach. CCNet previous build logs are not able to show the old reports but always shows the latest report. This is because we are using html redirection to IIS virtual directory where always latest report is available. In general, in CCNet project artifacts will store build reports for previous executions. But in our case it is always redirects to latest. Do you have faced this problem ? If so, how can we handle this?
1. I want old Ranorex reports to be displayed in CCNet dashboard recent builds section. Please suggest me the way.
2. Also, I have a question in this approach, why is this CCNet html report plugin is not able to show the content of Ranorex report html directly? Why do we need this redirection from another html? Can some one please answer.