Brian, I have programmed around this exact same issue with the Availity web site. Some of the frames on the site are hidden, so you cannot access them using the normal Boston Webstation commands. My approach sends keystrokes to the application, just as a user would do in order to press the 'next' button. Here are the steps I have used:
1. Set up a pause command for whatever element you expect to see after a normal login. Just before the pause command, you may also need to set a variable to hold a message such as "attempting to log in" that you can evaluate in the next step. You will need to have an error handler which will activate when the pause command times out. 2. In your error handler, evaluate the message variable. If it indicates that you were attempting to sign in, then send keystrokes. In my script, it's 12 tab keys followed by the enter key. Make sure you put a short wait (0.8 seconds) between keystrokes to give the browser time to handle them. 3. Create a label immediately before the pause command. In the error handler, after the keystrokes have been entered, use the VBA 'resume' command to return to this label. If the 'next' button has been pressed then the pause command should be satisfied and your script can continue on its way. Eric Pitzer PNC Financial Services Group, Inc. Xpack Network Services Division 1-800-919-7749 "Thom C. Blackwell" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 01/15/2008 10:08 AM Please respond to [email protected] To <[email protected]> cc Subject RE: [Talk] Clicking a gif on the Availity Website Greetings, The text ?Next? will likely not show up in the Web connection (or Window) because it?s probably an image that was drawn? but you should be able to see the image?s tag and typically, this will respond to a click. Either the Web connection or Smart (windows) will allow this. Regards, Thom Thom C. Blackwell Product Manager Boston Software Systems (866) 653-5105 ex 807 www.bossoft.com Sign up for my weekly webinar! LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Stevenson Sent: Friday, January 11, 2008 3:26 PM To: [email protected] Subject: [Talk] Clicking a gif on the Availity Website Hi There, Recently I had this frame appear on the availity website displaying broadcast messages which in my script I would like to ignore but whether I try the Windows connect or the Web Connect I can not see this .gif named 'Next'. Does anyone have any ideas as to clicking an image that BWS can not see? Brian Stevenson - Systems Administrator University Health System - Business Information Systems Office: (210) 358 - 9282 Pager: (210) 756 - 0582 Fax: (210) 358 - 9287 CONFIDENTIALITY NOTICE: This communication is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If you are not the intended recipient, you are notified that any use, dissemination, forwarding, distribution, or copying of the communication is strictly prohibited. Please notify the sender immediately by e-mail if you have received this by mistake and delete this e-mail from your system. (University Health System) The contents of this email are the property of PNC. If it was not addressed to you, you have no legal right to read it. If you think you received it in error, please notify the sender. Do not forward or copy without permission of the sender. This message may contain an advertisement of a product or service and thus may constitute a commercial electronic mail message under US Law. PNCs postal address is 249 Fifth Avenue, Pittsburgh, PA 15222. If you do not wish to receive any additional advertising or promotional messages from PNC at this e-mail address, click here to Unsubscribe. https://pnc.p.delivery.net/m/u/pnc/uni/p.asp By unsubscribing to this message, you will be unsubscribed from all advertising or promotional messages from PNC. Removing your e-mail address from this mailing list will not affect your subscription to alerts, e-newsletters or account servicing e-mails.
<<image/gif>>
