Sign in to follow this  
Followers 0
Dave10910

Issue clicking on "shipment progress" with ups tracking

1 post in this topic

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

Share this post


Link to post
Share on other sites



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
Sign in to follow this  
Followers 0