This is a migrated thread and some comments may be shown as answers.

Get Test List Name from code

1 Answer 11 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 03 Aug 2016, 09:24 PM

Hello,

Does anyone know how to access the name of the current test list inside a coded step?

 

Thanks,

Steve

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 08 Aug 2016, 03:18 PM
Hello Stephen,

You could use the opportunity that Test Studio allows you to enhance your test execution with the help of the so called execution extension. What you need is to override the 'public void OnBeforeTestListStarted(TestList list)' method with the help of 'list.TestListName' that will store the name into a variable in your code that could be used later on. 

Please let me know if you need further assistance. 

Regards,
Elena Tsvetkova
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Stephen
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or