开发者

Running WatiN using Scheduled task or Windows service

开发者 https://www.devze.com 2022-12-28 12:10 出处:网络
My WatiN automation for doing file download is working fine when executed in command window normally. But failing with timeout exceptions or fileDownload Dialog not found exception when executed as a

My WatiN automation for doing file download is working fine when executed in command window normally. But failing with timeout exceptions or fileDownload Dialog not found exception when executed as a scheduled task.

Is it possible to execute WatiN exe (with filedownload dialog handler) as a scheduled task. If NO is there any other way to execute it as a schedule task.

Note: I have seen some blogs referring to running WatiN using cc.net. So, is it possible to run above scenario using cc.net Any pointers for cc.ent documentation开发者_如何学Go and its working

Let me know if u require any more informations..


Check out the solution to doing this using CC.NET.

Watin Tests fail on CC.Net

Brett and I worked on this for awhile. The problem is that Windows Services running as a user cannot interact with the desktop, but because WatiN runs a real instance of the browser it requires a desktop to interact with. The solution in the link provided can show you how to do this.


i had a problem with windows scheduler so i just switched to "smooth program scheduler" and it just worked

0

精彩评论

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

关注公众号