Remove unused Smart Folders from Report

Ask general questions here.
eldorado25
Posts: 23
Joined: Tue Aug 06, 2019 4:14 pm

Remove unused Smart Folders from Report

Post by eldorado25 » Fri Feb 21, 2020 1:15 pm

Hi,

The way I have my tests set up is like:

Smart Folder: Includes all users logging in for workflow as data
---> Smart Folder: IF this user then run these classes
---> Smart Folder: IF this user then run these classes
---> Smart Folder: IF this user then run these classes

The issue I get is that, IF it is not that user, it will correctly bypass all of the smart folders where it is not mentioned but annoyingly these bypassed smart folders will appear in my reports making them a bit too bulky for my liking

Any help or advice would be greatly appreciated

Thanks!

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

Re: Remove unused Smart Folders from Report

Post by odklizec » Fri Feb 21, 2020 1:24 pm

Hi,

The only known workaround is to not use TestSuite conditions and rather set the TestCase/SmartFoder data range from code.

And here you can vote for a feature request regarding this problem:
https://uservoice.ranorex.com/forums/15 ... e-unfulfil
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

eldorado25
Posts: 23
Joined: Tue Aug 06, 2019 4:14 pm

Re: Remove unused Smart Folders from Report

Post by eldorado25 » Fri Feb 21, 2020 1:31 pm

Thank you Odzklizec

I noted the comments for this state
We still think that conditions should almost never be used in black box testing, but we see them as a tool that can and should be used in a few exceptions. Therefore we don’t want to build upon what we currently have to make it a full feature. However, we will consider a few Quality of Life improvements.
I use them quite extensively but that does not appear to be best practice, I'm curious as to know what the best way around this is?

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

Re: Remove unused Smart Folders from Report

Post by odklizec » Fri Feb 21, 2020 1:37 pm

Hi,

I'm personally using the same date connector for multiple testcases/smartfolders and with code-set data-ranges. As far as I know, there is no other solution.
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

eldorado25
Posts: 23
Joined: Tue Aug 06, 2019 4:14 pm

Re: Remove unused Smart Folders from Report

Post by eldorado25 » Fri Feb 21, 2020 3:02 pm

Okay,

thank you for your time!

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

Re: Remove unused Smart Folders from Report

Post by odklizec » Fri Feb 28, 2020 11:23 am

Hi,

It seems that the problem is now solved in Ranorex 9.3. Check the release notes (see headline and brekaing changes).
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