Smartfolder not executed from Jenkins

Ranorex Spy, Recorder, and Studio.
TimoL
Posts: 15
Joined: Thu Sep 13, 2018 3:08 pm

Smartfolder not executed from Jenkins

Post by TimoL » Thu May 23, 2019 1:44 pm

I have two run configurations: TestRun for running individual tests from Ranorex during development of tests and another configuration for whole regression set. When I run individual test from Ranorex, the smartfolders are executed as they should. Then I select the regression run configuration, ensure that every test and every smartfolder has been checked and click "build all". Then I copy the .exe and .rxtst from the bin/Debug to another machine and run the tests from Jenkins. Now the smartfolders are not executed, like their check-boxes wouldn't have been checked. Some of them have if conditions (but the conditions are not inspected) and some have no conditions.

What could be the reason? I have faced the same problem every now and then, but now I'm not able to avoid it at all. Ranorex is the latest 9.0.1 version.

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

Re: Smartfolder not executed from Jenkins

Post by odklizec » Thu May 23, 2019 2:26 pm

Hi,

Have you tried to open the copied test suite on target machine (in Ranorex Studio)? Are you sure the run configuration is the same as on build machine?
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

TimoL
Posts: 15
Joined: Thu Sep 13, 2018 3:08 pm

Re: Smartfolder not executed from Jenkins

Post by TimoL » Fri May 24, 2019 9:56 am

The origin of the problem was TestSequence.rxsqc file. I deleted it from the bin/Debug folder and now the smartfolders are executed as they should!