Thanks for replying quickly. However it seemed the problem layed elsewhere.
When I did the changes you suggested I noticed the test didn't run at all, the report page showed up almost instantly, and with no steps run. After scratching my head for a while I also noticed that in my .cs file (for the recording) all my steps where missing under Run(). When looking in the recording all the steps where there, but when looking in the code my steps where gone:
- Code: Select all
[System.CodeDom.Compiler.GeneratedCode("Ranorex", "3.1.0")]
void ITestModule.Run()
{
Mouse.DefaultMoveTime = 300;
Keyboard.DefaultKeyPressTime = 100;
Delay.SpeedFactor = 1.0;
Init();
}
After deleting the last step in the recording all went back to normal. Strange.
Anyways, now that everything is back to normal ExecuteScript works! Thanks again Todor.