Hi,
How can I get the current running recording GUID?
I need to log the current running recording guid to database.
Thanks,
Emma
How can I get the current running recording GUID?
Re: How can I get the current running recording GUID?
Hi,
You can find the GUID of the current running testcase in the *.rxtst file i.e. the test suite file.
Its an XML file where you can search the testcase name and find the corresponding GUID.
Hope it helps
Manish
You can find the GUID of the current running testcase in the *.rxtst file i.e. the test suite file.
Its an XML file where you can search the testcase name and find the corresponding GUID.
Hope it helps
Manish
Re: How can I get the current running recording GUID?
Hi,
Another possibility is using this code, placed inside the module of your choice:
Another possibility is using this code, placed inside the module of your choice:
Code: Select all
TestModuleLeaf curModule = (TestModuleLeaf)TestModuleLeaf.Current;
string getName = curModule.DisplayName; // returns cur. module name
var getGUID = curModule.Id; // returns cur. module GUID
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