# # Recording by eValid™ V9 Build #291 # Copyright © 2009 by Software Research, Inc. # Recording made on: Microsoft Windows Vista Service Pack 1 (IE 7.0), HostName "aruba" # ProjectID "Project" GroupID "Group" TestID "ups" LogID "AUTO" ScreenSize 1440 900 FontSize 1 DeleteCache DeleteCookies DataSynthesisFile "input.txt" InitLink "http://www.ups.com/" Wait 4173 InputValue 0 67 "SELECT-ONE" "" "cookie" "United States - English" "1" "" Wait 2706 InputImageClick 0 329 "http://www.ups.com/img/btn_arrow_large.gif" "Go" "" Wait 5101 FollowLink 0 369 "Calculate Time & Cost" "javascript:com_ups_rif.togglePanel('CTC');" "" NO_NAV Wait 5289 InputValue 0 408 "TEXT" "" "weight" "3.0" "" "" Wait 5315 InputValue 0 652 "TEXT" "origPostalValue" "origPostal" "94103" "" "" Wait 4925 # Originally Recorded Value... #InputValue 0 933 "TEXT" "destPostalValue" "destPostal" "90024" "" "" # Manually Edited Parameterizataion Value Using DataSynthesisFile... InputValue 0 933 "TEXT" "destPostalValue" "destPostal" "$ZIPCODE" "" "" Wait 125 InputValue 0 940 "CHECKBOX" "residentialBox" "residentialBox" "01" "TRUE" "" Wait 1841 SubmitClick 0 943 "" "" "Continue" "" NAV Wait 5103 SubmitClick 0 486 "" "0.y" "View Details" "" NAV Wait 3746 # Adding Synchronization(s) assure arrival at the designated calculation webpage... SyncOnText 0 "Service Details" "" SyncOnText 0 "Shipment Total:" Wait 1779 ValidateSelectedText 0 439 0 "Service Details" "" Wait 6396 ValidateSelectedText 0 520 0 "Ship To: " "" # Manually ADDED in Script Commands to SAVE the Time and Cost Outputs... IndexSet 0 IndexFindElement 0 DOWN "innerText" "Modify Shipment Information" "" IndexMove +6 ValueGetElement 0 innerText "" ValueSave "$OUTPUT.txt" IndexSet 0 IndexFindElement 0 DOWN "innerText" "Guaranteed By: " "" IndexMove +1 ValueGetElement 0 innerText "" ValueSave "$OUTPUT.txt" APPEND IndexFindElement 0 DOWN "tagName" "DD" "" ValueGetElement 0 innerText "" ValueSave "$OUTPUT.txt" APPEND IndexSet 0 IndexFindElement 0 DOWN "innerText" "Shipment Total: " "" IndexMove +1 ValueGetElement 0 innerText "" ValueSave "$OUTPUT.txt" APPEND # End of script.