Hi everyone,
I want to read the value for property 'Retry count' and assign it to a variable in my user code.
This should be very straightforward, although I haven't found any information on how to access this property. Is it even possible, or am I missing something?
Is it possible to read value for property 'Retry count'?
Is it possible to read value for property 'Retry count'?
You do not have the required permissions to view the files attached to this post.
Re: Is it possible to read value for property 'Retry count'?
Hi,
This code should help:
This code should help:
Code: Select all
int retryCountValue = ((TestCaseNode)TestSuite.CurrentTestContainer).RunRetryCount;
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
Re: Is it possible to read value for property 'Retry count'?
Yes, that worked! Thank you!