10-08-2020 02:18 PM
Dears, I'm running the Sequence File XML parser, now I'm trying to modify the step type and full fill it internally with my own .net dlls.
Anyone has any clue about how can I fullfill the step module from the .net?
I was trying to use the loadModule from C# but I had no sucess.
The source code who creates the .seq is :
public void new_sequence()
{
file = engine.NewSequenceFile();
// Sequence seq = file.GetSequenceByName("MainSequence");
Sequence seq = engine.NewSequence();
seq.Name = "Example";
file.InsertSequenceEx(file.NumSequences, seq);
Step step = engine.NewStep("DotNet Adapter", "PassFailTest");
step.Name = "MalAutomationTest";
file.AsPropertyObjectFile().TypeUsageList.AddUsedTypes(step.AsPropertyObject());
seq.InsertStep(step, 0, StepGroups.StepGroup_Main);
save_sequence_file(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + @"\output.seq");
}
This is the result from this source code:
However I still need to fullfill the module options, in the following picture I have done these configurations manually.
Is there anyone that can help with this?