Greetings,
Sounds like you're in a situation where the element you want to click
has a "find string" that matches elements higher up in the page - hence
the need for a for - next loop.
That's not a bad approach btw - but another approach is to find an
element that is closer to what you want to click, build a Pause (or find
- both would accomplish the same goal here) command for it, then your
click.

Check out the Scripting Websites PPT for a graphical explanation of
this.
http://www.bostonworkstation.com/customer_center/special_events/scriptin
g-tune-up-archives.aspx

Regards,
Thom


Thom C. Blackwell
Product Manager
Boston Software Systems
(866) 653-5105 ex 807
www.bossoft.com

HIMSS Booth 3445

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, March 11, 2009 6:33
To: Talk
Subject: [talkbws] Web Scripting

I am need a little help selecting a specific element on a web page. I
have found what I want to click but, I will have to run a for/next loop
7 times to in order for it to actually get to the element that I want. I
know about web1.find and Click, but I must be doing something wrong
because it is not working for me.

Thanks,

Garrett S. O'Sullivan
Project Assistant
Regional Business Office
1235 NE 47th Avenue, Suite 110
Portland, Oregon 97213
Phone:          503.215.4462
Fax:            503.215.4343
Pager:          503.920.4560
[email protected]
<mailto:[email protected]>






DISCLAIMER:
This message is intended for the sole use of the addressee, and may
contain information that is privileged, confidential and exempt from
disclosure under applicable law. If you are not the addressee you are
hereby notified that you may not use, copy, disclose, or distribute to
anyone the message or any information contained in the message. If you
have received this message in error, please immediately advise the
sender by reply email and delete this message.

---
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

Reply via email to