Need help with StresStimulus? Start here.
Scriptable variable - how to invoke my DLL
Unregistered User Posts: 514
6/1/2017
|
Hi, I created a VB external script “DLL” using Visual Studio that I compiled and save to my current test directory where the Stress Stimulus script is saved. My question is how do I call the external script from the Stress Stimulus IDE so during runtime it executes the “DLL.”
|
|
0
link
|
George @StresStimulus Administrator Posts: 567
6/1/2017
|
The .dll (and .pdb if you want to debug your code) must be copied to the bin subfolder named bin inside your test directory. For example, for the test MyTest.ssconfig, copy the assembly dll to MyTest\bin folder. Once it is there open your test again and it should automatically call your external script when you start your test or verify. To confirm that the dll loaded you can open visual studio and attach the StresStimulus.Application.exe process to the debugger and add breakpoints to your code. During the test you should see the your breakpoints being hit. To just confirm that StresStimulus loaded your .dll, open the test and try deleting the .dll file. Windows should say that the file is being used by another process.
|
|
0
link
|
Copyright © 2025 Stimulus Technology