Page 1 of 1

eValid taking a long time to load a page.

PostPosted: Tue May 13, 2014 11:40 am
by NObregon
Afternoon.

Why is eValid is taking a long time to load a page?

Could it be it is 2-3 MB of JavaScript, which is huge?

So why is it taking so long?

Thanks

Re: eValid taking a long time to load a page.

PostPosted: Wed May 14, 2014 7:53 am
by eValid
NObregon wrote:Afternoon.

Why is eValid is taking a long time to load a page?

Could it be it is 2-3 MB of JavaScript, which is huge?

So why is it taking so long?

Thanks


Thanks for asking.

In normal operating mode, eValid should take no longer to load a page than the currently-installed IE browser, upon which eValid is based (it uses some of the IE libraries for some of its functionality).

So, if you see a BIG diffence between performance on IE and eValid it may be for several different reasons.

If you are just doing ordinary browsing, and the page you have is large (you say it is), then if you left the PageMap on then that could account for a slowdown.

The reason is that the PageMap interrogates the DOM continously when you have the "Expand the Tree on Update" option activated. If the page has active AJAX running, then eValid will re-scan the entire DOM tree each time there is any update to the data in the browser.

You probably want to turn this off in this case.

Here's the manual page for the PageMap:

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

You can imagine that this can be expensive, performance wise.

If you are using IndexFindElementEX in your scripted playbacks, and the page is large, you could be spending a lot of time searching through the DOM is the regular expression you are using has a lot of potential matches in the page.

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

The solution in this case is to narrow the search by being just a bit more precise in the regular expressions you're using.

--eValid Support