In this post i am going to describe how to automatically load all addin that are associated with test only.The code will open the test at run time and opens associated addins.
******************************************************* 'associated add-ins are currently loaded
' Create an array containing the list of addins associated
with this test
arrTestAddins =
qtApp.GetAssociatedAddinsForTest("C:\Tests\Test1") ' add-ins
list ' not
loaded 'is
necessary ' modify the loaded add-ins
blnActivateOK = qtApp.SetActiveAddins(arrTestAddins,
errorDescription) |
Comments
Post a Comment