Sign in to follow this  
Followers 0
chachew

Same script getting multiple form names

1 post in this topic

Can i have the same script move through 2 or more page links in the same IE window and change the form name data based on which page i am on?

In other words i have a script that uses IECreate("mysite.com) to open IE and navigate to a login site. That login page has a form name of "formLogin" and i pull my username and password ID's so i can use _IEFormElementSetValue ($Username, "admin") and so forth. Now once the scripts clicks on the sign in button i will move to another page with the form name now being "formHome". So how can the same script change which form name it will call to pull ID's out of the page source?

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