Thanks guys!  partials work good and the web1.find is so much more reliable
then nextElement (in my case).  I can actually search the NPI registry
now..A few more years of this and I might start to get the hang of it.
 
BTW...the following does not seem to work:
Do
wait .5
loop until web1.busy = False
 
I can see the progress bars loading up, but the above just ignore the =False
portion and the script continues on it's merry way.  If the page has not
blanked out does web1.busy = False by default?
 

Brian Bennett 
Systems Analyst 
Affinity Health Systems 
Clinic Billing 
628-9055 
[EMAIL PROTECTED] 

 

   _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thom C. Blackwell
Sent: Friday, September 07, 2007 8:34 AM
To: [email protected]
Subject: RE: [Talk] Website Pauseloop?



Greetings,

Actually you can use wildcards. 

What's the page here - the way you describe this sounds odd to me J

 

There's also ways of going further in depth into the contents of the page
too - beyond the basic commands.

Tough for me to diagnose / prescribe  - may want to call into our support
folks. And I can collate what the results were afterwards and send on to
group here so to speak.

Regards,

Thom

 

 

Thom C. Blackwell

Product Manager

Boston Software Systems

(866) 653-5105 ex 807

www.bossoft.com <http://www.bossoft.com> 

 

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 Bennett, Brian
Sent: Friday, September 07, 2007 9:25 AM
To: '[email protected]'
Subject: RE: [Talk] Website Pauseloop?

 

Thanks for the info Thom, unfortunately every line in the Webdocment page
ends in Details or Search.  There is not one single identical line on either
page.  which sucks!  I'm guessing wild card characters cannot be used for
any text after the <>@ or partials?

 

Thanks.

 

Brian Bennett 
Systems Analyst 
Affinity Health Systems 
Clinic Billing 
628-9055 
[EMAIL PROTECTED] 

 

 

   _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thom C. Blackwell
Sent: Friday, September 07, 2007 8:09 AM
To: [email protected]
Subject: RE: [Talk] Website Pauseloop?

Greetings,

Websites are very different in "scripting theory" than all other systems.
There is not the concept of "in a field-ness" like you have with other
systems. Really what the Web connection does is scan a static list of items
for what you want - then does <something> to what you found - or errors out
if it doesn't find what you're looking for (if you set Timeout).

 

So to handle "conditional logic" what you want to do is see if one of the
possibilities exists within the static list.

 

>From reading the below - it looks like you get a "results page" that may
have different content - that's good because it's the easiest to handle.

 

What you do here is use a Pause command for something "at the top" (or
bottom) of the page that indicates the page has loaded - and is common
regardless of the result data. You can use a timeout + on error goto errh to
handle "other possibilities" - a 404, an error page etc.

 

Once the Pause is satisfied, then you'd want to use a series of find
commands (note: if the paused for item is "below" the things you're looking
to find, be sure to use a First command)

 

If web1.find "Account details indicator element" then - read the details

If web1.find "Account not found indicator element" then - do whatever

 

My suggestion here for speed would be to have the first if find statement be
the "most common" - since find is obviously fairly resource intensive.

 

Regards,

Thom

 

 

 

 

Thom C. Blackwell

Product Manager

Boston Software Systems

(866) 653-5105 ex 807

www.bossoft.com <http://www.bossoft.com> 

 

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 Bennett, Brian
Sent: Friday, September 07, 2007 8:50 AM
To: '[email protected]'
Subject: RE: [Talk] Website Pauseloop?

 

Ok, no such thing as a pauseloop for webpages, so I have starting using the
pause string.  This seems to work pretty good, however, if every field is
the same except for one word change (in every field) is it possible to use
an if statement with the pause string?  I.E. If pause
"<A>@account.search.com" then else pause  "<A> account.details.com".

 

If I do an account search and no information exists, I get the search page
back but with "no account found".  If there is an account I get the account
details page.  How do I pause for either/or?  Or would a wait string be more
appropriate?

 

Thanks.

Brian Bennett 
Systems Analyst 
Affinity Health Systems 
Clinic Billing 
628-9055 
[EMAIL PROTECTED] 

 

 

   _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bennett, Brian
Sent: Thursday, September 06, 2007 9:07 AM
To: '[email protected]'
Subject: [Talk] Website Pauseloop?

Is there a way to read contents of a webpage without BWS getting hung-up
because it's not finding the "View" point?  I would like to a site search.
But have been unable to get past "No record found." or multiple records
found.  Unfortunately not much changes on the site.  No records looks the
same as the initial search screen with the exception of "No records" being
displayed on the left.  I'll have to play with the reading tables script
found in the script center to figure out multiple records.

 

Thanks.

 

Brian Bennett 
Systems Analyst 
Affinity Health Systems 
Clinic Billing 
628-9055 
[EMAIL PROTECTED] 

Reply via email to