Thanks Thom.
I'm pretty sure I don't have frames because the BWS screen says Frames: 0 .
Unfortunately, there is no title on this page.
I did have BWS insert the Pause command so that I could build the Find from it.
 
Here is the source showing there is no title:
<head>
<link rel="stylesheet" type="text/css" href="">
</head>
Here is the source for the link I'm trying to Find on the page:
<a href="">Back to Your Work Orders</a>
 
My script excerpt:
First
Pause "Back to Your Work Orders*<TD>@"      '  THIS WORKS
First
        
If Find("Back to Your Work Orders*<TD>@") Then   ' THIS SHOULD BE TRUE, BUT RETURNS FALSE...
            MsgBox "Worked."
End If
 
I guess I'll call, but it is kinda something you gotta see....
 
Rhonda Feldbauer
Applications Analyst
Newnan Hospital
770.304.4304
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thom C. Blackwell
Sent: Tuesday, June 20, 2006 4:51 PM
To: [email protected]
Subject: RE: [Talk] Find() - on a web page

Greetings,

I noticed in your Find command that you are omitting the items after the @ - this can cause problems if the page you are working against has frames because the Find doesn’t know in which page it should be searching. You can confirm this by building a Pause command for the item you are trying to “find” if there’s more than one @ in the command:

Pause “Back to Your Work Orders<A>@Something [EMAIL PROTECTED] Here as well"

This is an indication you have frames.

Please give a call into support if this doesn’t help.

 

Regards,

Thom

 

 

Thom C. Blackwell

Product Manager

Boston Software Systems

www.BostonWorkStation.com

Boston WorkStation Case Studies

866 653-5105 - ex 807

[EMAIL PROTECTED]


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rhonda Feldbauer
Sent: Tuesday, June 20, 2006 4:46 PM
To: [email protected]
Subject: [Talk] Find() - on a web page

 

Hello...

Can someone send me an example of what the Find command should look like (when scripting web pages)?

Here's mine:

 

Find("Back to Your Work Orders<A>@")

 

It never seems to return True even though I use First before that to be sure it can be found in the elements listed after the selected element.

 

Thanks,

Rhonda Feldbauer

Applications Analyst

Newnan Hospital

770.304.4304

 

Reply via email to