Webrecorder question

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Office Smith
Newbie
Posts: 15
Joined: Fri Sep 21, 2012 5:17 pm
Location: Phoenix, AZ

Webrecorder question

Post by Office Smith » Fri Nov 02, 2012 11:49 pm

I've got a webrecorder question again.

Just finally getting back to my project.

I'm using the code below to try and pull information from the webpage, ideally all the text or even html that is in iframe 10 of the http://www.asba.com/search/newsearch.asp webpage.

However, it doesn't appear that I'm "seeing" what is in the iframe.

Could anyone point me in the right direction on this?

Thanks!

Code: Select all

//Set IGNORESPACES to 1 to force script interpreter to ignore spaces.
//If using IGNORESPACES quote strings in {" ... "}
//Let>IGNORESPACES=1

//Move the mouse cursor out of harm's way to avoid causing mouseover events to interrupt
MouseMove>0,0
Let>delay=1

//Set timeout for ClickTag and FormFill to 10 seconds, increase if pages load more slowly
IE_SetTimeout>10,ie_res

IE_Create>0,IE[0]

IE_Navigate>%IE[0]%,http://www.asba.com/search/newsearch.asp,ie_res

IE_WaitDocumentComplete>%IE[0]%,ie_res

IE_GetTagLengthByName>%IE[0]%,,IFRAME,SearchResultsFrame,0,IFRAMESearchResultsFrame_SIZE
IE_ExtractTagByName>%IE[0]%,,IFRAME,SearchResultsFrame,0,IFRAMESearchResultsFrame,ie_res
//Extracted text is in variable: IFRAMESearchResultsFrame

messagemodal>IFRAMESearchResultsFrame

User avatar
Rain
Automation Wizard
Posts: 550
Joined: Tue Aug 09, 2005 5:02 pm
Contact:

Post by Rain » Sat Nov 03, 2012 12:28 am

I don't use Webrecorder but I know a lot about html, javascript and css. Iframes are used to display content from a different website or webpage.
You have to load the pages displayed inside iframes separately to see what's displayed in them.

For example some of the content you see at http://www.asba.com/search/newsearch.asp is pulled from http://www.asba.com/searchserver/people ... archTerms=

If all you want is what's displayed inside the iframes, then you need to use the URL in the iframe like the one I mentioned above.

Maybe someone with Webrecorder experience can post an example or a solution to your problem.

Office Smith
Newbie
Posts: 15
Joined: Fri Sep 21, 2012 5:17 pm
Location: Phoenix, AZ

Ugg

Post by Office Smith » Mon Nov 05, 2012 7:49 pm

Rain wrote:I don't use Webrecorder but I know a lot about html, javascript and css. Iframes are used to display content from a different website or webpage.
You have to load the pages displayed inside iframes separately to see what's displayed in them.

For example some of the content you see at http://www.asba.com/search/newsearch.asp is pulled from http://www.asba.com/searchserver/people ... archTerms=

If all you want is what's displayed inside the iframes, then you need to use the URL in the iframe like the one I mentioned above.

Maybe someone with Webrecorder experience can post an example or a solution to your problem.
Please, How do others deal with IFRAME's that have user specific URL's like this?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts