WebPagetest Forums
Website Testing? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Website Testing? (/showthread.php?tid=15708)



Website Testing? - sterling77 - 03-07-2019 06:06 PM

How do you do website testing?

I know there are testing tools built into stacks. With ASP.NET MVC one can create unit tests that test controllers.

But what about testing an actual web page? Let's say you have a complicated Sign Up form that may change based on javascript and/or different data in the query string.

Is there a decent tool to automate testing? free netflix tech news android 9 Perhaps it uses headless chrome? Some kind of webbrowser or something that can be scripted to pull up a URL, enter data into form fields, click a button, and then check results?

Or is this just too complicated?

The platform/stack of the tool doesn't matter so long as it just works.


RE: Website Testing? - pmeenan - 03-07-2019 10:59 PM

WebPageTest has a scripting interface that you can use to interact with pages and do multi-step tests (login/checkout flow, navigate through a site, etc): https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/scripting

If you're just looking for more generic CLI testing, webdriver is the main method used for doing that. Virtually all of the browsers expose a driver for it and there are language bindings to automate webdriver in virtually any language you'd like: https://www.seleniumhq.org/projects/webdriver/

If you like webdriver but don't have access to all of the browsers and devices the are online services like sauce labs that provide webdriver-as-a-service: https://saucelabs.com/


RE: Website Testing? - chelvan - 03-12-2019 01:20 AM

In comparing between the use of Selenium or WebPageTest , as I understand it Selenium can capture some user browser related performance metrics from navigation timing, while WebPageTest offers more detailed metrics including Speed Index and User Timing metrics.