HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Scriptable variable - how to invoke my DLL Messages in this topic - RSS

Unregistered User
Unregistered User
Posts: 140


27 days ago
Unregistered User
Unregistered User
Posts: 140
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
George @StresStimulus
Administrator
Posts: 35


27 days ago
George @StresStimulus
George @StresStimulus
Administrator
Posts: 35
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 © 2017 Stimulus Technology