我正在尝试在同时托管我的 Web 应用程序的 Windows Server 2016(AWS) 上自动化 Rumba TN3270 7.2.
I am trying to automate Rumba TN3270 7.2 on windows server 2016(AWS) where my web application is also hosted.
我已经编写了 VBA 脚本,它将在 Rumba 上进行自动化.要运行脚本,我必须打开 Rumba(.WDM 文件).我们已将所有代码封装在简单的控制台 应用程序中,并在任务调度程序中进行设置.
I have written the VBA script which will do the automation on Rumba. To run the script I have to open the Rumba (.WDM file). We have wrapped the all code in simple console app and set that in task scheduler.
任务在我们登录时运行,但在用户注销时不运行.3 天后发现 GUI 应用程序在没有活动会话的情况下无法运行.
The task runs when we logged in but it does not run when user logged off. After 3 days found that GUI application won't run without kind of active session.
无论如何都可以使用 RDP 或任何登录代理运行 GUI 自动化吗?
Is there anyway to run GUI automation using RDP or any login agent?
推荐答案通过使用以下库解决了问题
Solved the issue by using the following library
github/publee/FreeRDP-Sharp
我们将 exe 置于启动时,它将与服务器通信以进行自动化请求.
We place the exe in startup which would communicate to server for automation request.
每当我们需要进行自动化时,我们只需使用上述库创建 RDP 会话.效果很好
Whenever we need to do the automation we simply create the RDP session by using the above library. it works great
更多推荐
没有用户登录 Windows Server 2016 时的 GUI 应用程序自动化
发布评论