开发者

Running Dynamics AX Test Case in C#

I am hoping someone out there can give me help with this. So I need to be able to run Microsoft Dynamics AX test case in C#. Now I was going to try and do something like

Process.Start("ax32.exe", "-StartupCmd=RunTestProject_<name of test>");

But I am hoping there might be a way to run it by importing some Dynamics AX DLL in C# and executing the test cases that way with something like SysTestRunner (right now I think this only exists in x++/MorphX).

开发者_StackOverflow

ANY hints or hunches or potential solutions to this problem are greatly appreciated!

Thanks!!


Could you elaborate more on what you want to achieve by running the tests from C#? If you want to run daily/nightly tests, you could simply do this running a batch within Dynamics AX.


Just in case anyone comes across this issue we ended up just going with the

Process.Start("ax32.exe", "-StartupCmd=RunTestProject_<name of test>");

since this was the best way to gain access to DynamicsAX internals and actually invoke the test cases. Unfortunately the DynamicsAX splash screen will come up with every invocation but that was something we were willing to deal with.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜