【发布时间】:2014-05-21 19:06:57
【问题描述】:
在我的公司,我们必须填写每日考勤卡,我想将其自动化。 我想使用某种工具来编写这样的东西:
Launch Firefox
go to www.example.com/timecard
Wait for page load complete
In UserName box: put username
In Password box: put password
Press enter
Wait for page load complete
if login failed
email me@example.com that unable to automatically do timecard, please check password
return;
Get today's date
if today is Saturday or Sunday
close firefox
return;
find the timecard column that matches today's date
find the row with the right charge number
put in 8.0 hours
click "Save" link
close firefox
return;
如果软件解决方案也能在每天的给定时间自行执行,那就太好了。
【问题讨论】:
-
有很多方法可以做到这一点,以使问题变得毫无意义。最好让您选择您想学习的技术,然后验证它是否有能力做您想做的事情。然后尝试这样做并在遇到问题时发布问题。
-
您应该重命名您的问题并将“软件”替换为“用户界面”
标签: automation