arvind Posted August 23, 2011 Report Share Posted August 23, 2011 Hi All, I want to navigate a site, enter necessary details in the forms and at the end I want to save the desired page in HTML format. I was able to write a Macro using window positions but it is not working correctly on all the machines and browsers. Can anyone help me in solving the issue. Is there any best way to fill the form instead of using browsers window positions. The macro designed should work on all machines and browsers. Thanks, Arvind. Quote Link to comment Share on other sites More sharing options...
acantor Posted August 24, 2011 Report Share Posted August 24, 2011 Mouse positioning is a very unreliable way to complete a form. A more machine- and browser-independent approach would be to navigate from one field to another via the tab key, maybe something like this: ' Place cursor in first field (maybe use the mouse?) ' Navigate to Field 1... Text Type <TAB> ' Copy value to the Clipboard (field will be selected by default) Text Type <CTRL>c ' Copy the Clipboard to variable T1 Set Text Variable T1 from Clipboard ' Navigate to next field... Text Type <TAB> Text Type <CTRL>c Set Text Variable T2 from Clipboard etc. Quote Link to comment Share on other sites More sharing options...
arvind Posted August 24, 2011 Author Report Share Posted August 24, 2011 Thanks Alan, I will try. Arvind. Mouse positioning is a very unreliable way to complete a form. A more machine- and browser-independent approach would be to navigate from one field to another via the tab key, maybe something like this: ' Place cursor in first field (maybe use the mouse?) ' Navigate to Field 1... Text Type <TAB> ' Copy value to the Clipboard (field will be selected by default) Text Type <CTRL>c ' Copy the Clipboard to variable T1 Set Text Variable T1 from Clipboard ' Navigate to next field... Text Type <TAB> Text Type <CTRL>c Set Text Variable T2 from Clipboard etc. Quote Link to comment Share on other sites More sharing options...
monpasdg Posted September 5, 2011 Report Share Posted September 5, 2011 I suggest staying away from any mouse related activities on a web page. I use the tab technique suggested above but I also use a "home" key that puts the cursor in the same spot every time. Depending on what browser you use, I have ME press 'F4' which puts the focus in the address bar ("home"). Then do repeat x times <tab> to get to the desired field. Hope it helps Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.