开发者

running selenium as a RC in IE, as a scheduled task

开发者 https://www.devze.com 2023-03-04 02:35 出处:网络
I\'m trying to automate a task开发者_StackOverflow中文版 using Selenium-RC where the user doesn\'t have to be logged in. Here\'s the ideal scenario:

I'm trying to automate a task开发者_StackOverflow中文版 using Selenium-RC where the user doesn't have to be logged in. Here's the ideal scenario:

Running as a scheduled task and the user is not logged in. Selenium will start at a scheduled task, open IE and go about the script.

I'm not sure this is possible, but I need to simulate user interactions with IE without the user being logged in. what would be the best way to do this?

IDEA:

would I able to put Selenium on a virtual machine, have the virtual machine run as a scheduled task on a physical machine; so when the user is logged out the virtual machine can still be started, and selenium will run on the virtual machine.


If you are using ant build, you could create a batch file to invoke the build. Now you could schedule the execution of batch.

I suppose you could same while using TestNG framework with java. So you create a batch file for executing test using testng.xml and then have it scheduled.

0

精彩评论

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