Grab some text from an AJAX webpage

Applying eValid to AJAX applications that require advanced DOM-based methods.

Grab some text from an AJAX webpage

Postby PeterB » Thu Aug 06, 2020 11:16 am

Hello.

I would like some help/input on the following:

I need to get a piece of text from inside a complex web page?

It's AJAX webpage and I have to wait for the element to become stable, so how can this be done?

Thanks
PeterB
 
Posts: 1
Joined: Thu Aug 06, 2020 11:11 am

Re: Grab some text from an AJAX webpage

Postby eValid » Fri Aug 07, 2020 9:08 am

PeterB wrote:Hello.

I would like some help/input on the following:

I need to get a piece of text from inside a complex web page?

It's AJAX webpage and I have to wait for the element to become stable, so how can this be done?

Thanks


Thanks for question your issue PeterB.

There are two parts to this answer.

First, to wait until the page is stable, then you have to synchronize on some element content that will signal that all of the AJAX activity has ceased.

Here is a summary of eValid's synchronization modes:

http://e-valid.com/Products/Documentati ... mmary.html

OK, now with the page is stable, and let's assume you know the index where you want to extract text.

You use the commands: ValueGetElement wid name "frame_path" where "name" is the property name from that index.

Here is the manual page for your reference:

http://e-valid.com/Products/Documentati ... ation.html

Hope this helps!


-- eValid Support
eValid
 
Posts: 2057
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons