Yes, but on the mac, be aware of this:
I'm not sure of any sort of link between IE on windows, but I do know that cookies are generally supported.
You could set a webviewer with the first link, use a script timer or script pause to allow for the login to process, then set the webviewer to a second link for the dial. You'll probably want to scrape for errors as well in case something goes wrong.
Thanks Mike. Do you know a good place to develop "scaping" expertise? I see it a lot, and am not getting to first base.
1 of 1 people found this helpful
Getting the data is easy, just use GetLayoutObjectAttribute(“yourwebviewerobjectname” ; “content” ) at the beginning of a script drop that into a variable $source. Just remember to add a brief pause in your script to allow the web viewer to fully load.
After you have all the code in $source, you just pattern search for what you need (IE in your case, if you need to validate a success message, just do something like: PatternCount($source ; “Registration Successful”) > 0 in an if statement.
Daniel Shanahan has a good video that demonstrates parsing out HTML data into usable records, but he uses Insert From URL instead of a web viewer:
There are also numerous custom functions designed to extract tag contents from html source code:
It’s something I really figured out as I had a need for it. It’s a relatively easy technique, but since there’s a wide variety of applications, it’s might be hard to teach.