Delphi GUI测试应用程序不起作用Jenkins Build Server
我正忙于为Delphi 2007项目实施Jenkins Build Server,其中DUNIT用于测试应用程序。先前的解决方案是在非常古老的哈德逊版中构建的,具有广泛的测试代码和大量的生产应用程序。因此,建立了构建脚本,我设法使构建运行。
但是,我在测试应用程序上遇到了一些问题。这些通常从CMD线执行中正常工作,该执行方式 testapp.exe Usetestrunner:text 。但是,在进行GUI测试时,窗口不会弹出,并且测试结果不一致。
我怀疑这与Jenkins服务帐户权限有关,但我不确定如何进行。该服务当前使用已登录的用户帐户,以获取各种权限以及对构建所需的Delphi环境选项的访问。因此,将本地系统帐户与访问桌面访问的选项非常棘手,我不确定是否可以解决问题。
我是詹金斯环境的新手,并感谢任何帮助!
I'm busy implementing a Jenkins build server for Delphi 2007 projects, with DUnit for test applications. The previous solution was built in a very old version of Hudson, with extensive test code and a large scale of production applications. The build scripts are therefore established and I've managed to get the builds going.
However, I'm having some problems with the test applications. These normally work fine from a cmd line execution, which calls TestApp.exe UseTestRunner:Text. However, when running GUI tests, the windows do not popup and the test results are inconsistent.
I suspect it has something to do with the Jenkins service account permissions, but I'm not sure how to proceed. The service currently uses the logged in user account, for various permissions and access to the Delphi environment options that's required for builds. Thus the option to use the Local System account with access to the desktop is tricky and I'm not sure if that will fix the problem.
I'm new to the Jenkins environment and would appreciate any help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论