| || |
How to upload addins at runtime for different scripts using different addins
We have created around 200. 150 uses .net framework and other 50 uses synfusion add in.
We are uploading add ins at runtime. Now our problem is 150 scripts we have created with out adding syncfusion addin. Now when we are trying to run all scripts in one go, since syncfusion addin is called at runtime, but it is not added during script creation for 150 scripts, uft is unable to proceed.
One solution is we will open UFT with SYncfusion add on and open all the 150 scripts in UFT and save it again, so that SYncfusion addin is saved with these scripts. But this is tedius tasks.
Can some one suggest me how I can by pass Syncfusion add on for these 150 scripts and add for remaining 50 scripts at runtime.
Remember we are not uploading addins at script level, it is at framework level, and uft is open once only until it executes all the scripts.
Any help will be appreciated.
You can use the Automation Object Model to do this as either a one-time add both addins to all scripts or you ran use the AOM to load either at runetime.