How to reduce the latency time of the page load?

370 views
Skip to first unread message

anurag

unread,
Dec 28, 2011, 6:01:01 AM12/28/11
to Selenium - Automated Software Testing

Hi,


I am using Selenium 2.15.0 and IDE 1.5.0 with perl scripting language.
So, here's a quick question....

How can we reduce the latency time of a webpage to load from the
script-side?
If this was not possible due to the problem from main server side of
the webpage then how do we have to wait for the page to load during
the automation?
Also, if there is scenario of connection getting lost in the script
execution from the server side(of the website), how can we solve this
issue? Example : In a website , where I logon and do some
functionality test. So, if I lost my connection to the server(of the
website) not the selenium RC after I logged on during the selenium
script automation how should I handle this issue?

Need help to resolve this critical issue.....

Regards,
Anurag

Walter Gorlitz

unread,
Dec 31, 2011, 5:35:04 PM12/31/11
to selenium-...@googlegroups.com
The page loads in the browser so if you want to reduce latency, improve the server's performance, the network connection, or the computer on which the page is rendered. To the best of my knowledge, it's not something that Selenium controls or effects.

As for losing connection to the server, since HTTP is stateless, you lose connection to the server after every item is sent to the browser. If you lose connection while an item is being sent, get a more stable connection. It's not something that Selenium controls.

Walter

anurag satish

unread,
Jan 2, 2012, 1:29:51 AM1/2/12
to selenium-...@googlegroups.com
Hi Walter,


Thank you for the reply...I did a check on my system's configuration.And I am pretty sure that I have a proper, stable network connection.

My setup runs the script in firefox without any problem but not in chrome and IE. But for the other sites like(google.com,gmail.com,etc.,) works fine in all the three browsers except for the one developed by my company app-developers.

I think my question is different based on what you have replied to me.


Regards,
Anurag



--
You received this message because you are subscribed to the Google Groups "Selenium - Automated Software Testing" group.
To post to this group, send email to selenium-...@googlegroups.com.
To unsubscribe from this group, send email to selenium-test-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-test-tool?hl=en.

Reply all
Reply to author
Forward
0 new messages