I wish to know the smart folder name into the Testsuite
Can someone please tell me how can I get that?
Get Smart folder name
-
- Posts: 37
- Joined: Thu Aug 22, 2019 4:14 pm
Get Smart folder name
You do not have the required permissions to view the files attached to this post.
Re: Get Smart folder name
Hi,
Could you please describe, in more details, what exactly you want to achieve and from which part of test you want to get the smart folder name? Generaly speaking, you can get the container name, using code like this (e.g. via code module, placed in Setup section of SmartFolder):
Could you please describe, in more details, what exactly you want to achieve and from which part of test you want to get the smart folder name? Generaly speaking, you can get the container name, using code like this (e.g. via code module, placed in Setup section of SmartFolder):
Code: Select all
string containerName = TestSuite.CurrentTestContainer.Name;
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
-
- Posts: 37
- Joined: Thu Aug 22, 2019 4:14 pm
Re: Get Smart folder name
Hello Pavel,
Thanks for the quick response, Your solution worked for me.
In my case I am willing to put this folder name in my reports as ConfigurationName so I was looking for this solution.
Thank you very much.
Thanks for the quick response, Your solution worked for me.
In my case I am willing to put this folder name in my reports as ConfigurationName so I was looking for this solution.
Thank you very much.