Greetings, It doesn't show the structure because that screen it isn't a webpage - it's a window spawned by IE so it needs to be handled separately.
There's several different approaches you could take - ranging from simple SendKeys to connecting to the window with the Windows connection. However current shipping of BWS has a really nice feature called SmartDialog that is perfect for this situation. I'll spare folks the long write up on this and just post a practical example that worked well for me. http://www.bostonworkstation.com/customer_center/script_center/script_de tails.aspx?id=381&cat=11 But as a teaser, this command is also useful for the Select a connection window in Meditech Magic - see Meditech Magic Useful Routines in the script library. Regards, Thom Thom C. Blackwell Product Manager Boston Software Systems (866) 653-5105 ex 807 www.bossoft.com Visit us at MUSE Internationl Booth 629 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. -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Wednesday, May 20, 2009 12:07 PM To: Talk Subject: [talkbws] Web Page Popups - how to script? Hi, I have a question about scripting to a web page, something I'm just learning. As an exercise, I want to write a script that will connect to Meditech Customer Service home page. When my script (which is only a few lines long) gets to the point where the User name and password popup window appears, I'm not sure how to proceed. How would I attach myself to that popup? It doesn't expose it's structure to the Web Document List, so I'm not sure how to code this. Could anyone give me a pointer? Thanks. Tom Choiniere I.S. - Systems Analyst Saratoga Hospital 211 Church Street Saratoga Springs, NY 12866 518-583-5994 This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please notify Saratoga Hospital immediately by e-mail at [email protected] and destroy all copies of this communication and any attachments. --- To post a message to this list, send mail to: [email protected] You are currently subscribed as: [email protected] Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk .aspx --- To post a message to this list, send mail to: [email protected] You are currently subscribed as: [email protected] Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx
