在我的公司,我們必須填寫每日計時卡,並且我想將其自動化。 我想用某種工具的,讓我寫這樣的事情:軟件自動化工具
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 [email protected] 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;
這將是非常好的,如果軟件解決方案也將在給定的時間每天執行本身。
有很多方法可以做到這一點,使問題變得毫無意義。更好的是你會選擇一種你想學習的技術,然後驗證它有能力做你想做的事。然後嘗試做到這一點,並在有問題時發佈問題。 – EBGreen 2009-02-23 19:31:59