Test List shared settings

2 posts, 0 answers
  1. R
    R avatar
    3 posts
    Member since:
    Sep 2019

    Posted 08 Oct Link to this post

    Is there a way to set settings for a test list settings so that they apply to all test lists?  I'd like to know if I'm missing something and if there is a preferred way to accomplish this.

    Even being able to select multiple tests and change the settings for them at the same time would be a lot easier than configuring each one individually.  I've seen references to testing templates, but they seem to be specific to Visual Studio.  Is this something I can accomplish with the Settings class (https://docs.telerik.com/teststudio/testing-framework/write-tests-in-code/intermediate-topics-wtc/settings-and-configuration-wtc/settings-class#initializing-the-settings-object-without-using-a-telerik-test-template)?  If so where would the settings be set so that they apply to test lists (or even just all tests in general)?  Could I create a custom class that inherits from BaseWebAiiTest and then initialize and apply the settings there and specify it in the general settings?  I also came across "Execution Extensions" and that looks like another possibility (https://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/execution-extensions).  


  2. Plamen Mitrev
    Admin
    Plamen Mitrev avatar
    157 posts

    Posted 11 Oct Link to this post

    Hello,

    Thank you for sharing details about your requirement and what you want to achieve. I understand that it can be time consuming to adjust the same settings on multiple test lists, but currently there is no out of the box option to edit multiple test lists at the same time. I agree that such feature can be valuable to you and other users and this is why I created a public feature request on your behalf.

    Currently there is only one option to copy the same test list settings from one test list to another and it is outside of Test Studio. I do not recommend it, but here is what you need to do:

    - make a backup of your current project;
    - navigate to the TestLists folder in Windows Explorer;
    - open the source .aiilist test list file with some kind of text editor and copy the "Settings" section;
    - open the target .aiilist test list file and replace the settings section;
    - make sure that the structure is not changed, otherwise, the list will be corrupted.

    Please consider the above mentioned suggestion with extreme caution and do not forget to make a backup. In case you need any help, please don't hesitate to contact us again.

    Regards,
    Plamen Mitrev
    Progress Telerik

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