Page 1 of 1

Popup Question

PostPosted: Thu Jan 09, 2014 1:56 pm
by SarahC
Afternoon eValid forum:

How can I get the text that shows up in my applications' textbox popups.

Thanks

Re: Popup Question

PostPosted: Fri Jan 10, 2014 1:23 pm
by eValid
SarahC wrote:Afternoon eValid forum:

How can I get the text that shows up in my applications' textbox popups.

Thanks


Hey SarahC, thanks for posting your question.

That's a good one...and it IS tricky to do this.

The key to understanding how is to recognize that the text you see in the popup resides in some property of the element that causes the popup to appear.

So the first thing you do is use the PageMap to identify which element on the page houses the popup. Remember, a popup is typically invoked when you "mouseover" the element.

When you know the specific index on the page, then the next step is to examine the element to find the name of the property that contains the text. Normally this is something like "innerHTML" but it could be anything. It varies with the page.

When you have the name of the property on the element identified, then you can use an eValid DOM Input/Output command to grab the contents of the specific property with a ValueGetElement command.

Here is the manual page that applies:


http://www.e-Valid.com/Products/Documen ... ation.html

Now you have the value in the internal name "elementValue". If you want to save it to a local file you do this with the DOM input/output commands, as described in this manual page:


http://www.e-Valid.com/Products/Documen ... utput.html

-- eValid Support