Get Test List Name from code

2 posts, 0 answers
  1. Stephen
    Stephen avatar
    23 posts
    Member since:
    Feb 2014

    Posted 03 Aug Link to this post


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




  2. Elena Tsvetkova
    Elena Tsvetkova avatar
    226 posts

    Posted 08 Aug Link to this post

    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. 

    Elena Tsvetkova
    Telerik by Progress
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top