Jump to content

Recommended Posts

Posted

Hello,

If you go to the UPS tracking site(http://www.ups.com/tracking/tracking.html) and enter a tracking number you get to a page that has the tracking details. There are two (menus?) that collapse. One is called Additional Information and the other is called Shipment Progress.

I have no problems manipulating the additional information menu, but after a number of tries I cannot get the Shipment progress menu to open up.

Here is the code that I am using.

Func _UPSTrackingSite()
                                                     _IENavigate($bIE1, $UPSTrackingSite)
$UPSTrackingBox =                    _IEGetObjByName($bIE1,"trackNums")
                                                     _IEAction($UPSTrackingBox,"focus")
                                                     _IEFormElementSetValue($UPSTrackingBox,$UpsTrackingNumber)
                                                     _IELoadWait($bIE1,250,20000)

$UPStrackingButton = _IEGetObjByName($bIE1, "track.x")
                                                     _IEAction($UPStrackingButton,"focus")
                                             _IEAction($UPStrackingButton,"Click")
                                                     _IELoadWait($bIE1,250,20000)

$ShipprogButton =                    _IEGetObjByID($bIE1, "collapse3")
                                                 _IEAction($ShipprogButton,"focus")
                                                 _IEAction($ShipprogButton,"Click")
                                                 _IELoadWait($bIE1,250,20000)



EndFunc

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...