Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Scripting & Automation
  New Posts New Posts RSS Feed - How can open a browser and capture a response?
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedHow can open a browser and capture a response?

 Post Reply Post Reply
Author
Message
rsine View Drop Down
Groupie
Groupie


Joined: May 18 2007
Status: Offline
Points: 72
Post Options Post Options   Thanks (0) Thanks(0)   Quote rsine Quote  Post ReplyReply Direct Link To This Post Topic: How can open a browser and capture a response?
    Posted: November 22 2019 at 10:46am
I'm using Accuterm 2K2 connecting to mvEnterprise and have a need to do the following:

1) open a browser to a given url users will enter some information.

2) capture the url of the page a user is redirected to after submitting information.

I found I can open a web site using code like the following:

EQU STX TO CHAR(2)
EQU CR TO CHAR(13)
EQU EM TO CHAR(25)
EQU ESC TO CHAR(27)
CRT ESC:STX:'<':URL:CR:


but how do i capture the url the site redirects the user to.  For example, the UPS tracking site https://www.ups.com/us/en/Home.page upon submit will redirect to a url like https://www.ups.com/track?loc=en_US&tracknum=1Z9V2F610307459170&requester=WT/trackdetails. ; I need to be able to capture that redirected url if possible.

Thank you.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.