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

Test List shared settings

1 Answer 12 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
R
Top achievements
Rank 1
R asked on 08 Oct 2019, 08:55 PM

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).  


1 Answer, 1 is accepted

Sort by
0
Plamen Mitrev
Telerik team
answered on 11 Oct 2019, 12:55 PM

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!
Tags
General Discussions
Asked by
R
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
Share this question
or