![]() It allows you to script out page actions to take in a browser, and validate that the actions had the desired affect. If you haven't messed around with WebdriverIO, I'll quickly explain that it's a functional test automation framework. In the meantime though, here's a full, in-depth tutorial on how to write tests for your login page: The "Test your Login" WebdriverIO Tutorial Step 1: Install WebdriverIO I do plan on creating the script that will auto-generate the WebdriverIO scripts for folks based in input, and I'll update this page when it's ready. A few folks signed up, which was enough to show me that people were interested in the idea. I threw together a landing page and let the idea percolate a little (really, I was just too busy making the video tutorials to dedicate time to the idea). What if someone could go to a site, answer a few prompts, and be given a set of tests to get them started?Īnd what's one thing almost all websites have? A login form. So I had an idea: What if we put together a ready-to-go set of tests for folks so that get that first step out of the way? There's something about translating the abstract knowledge to concrete websites that's just tricky. There are plenty of tutorials out there on how to write a basic test, but they don't seem to really help get people past that initial resistance. In an effort to try and improve that, I spent some time thinking about what could help people get over that initial hurdle keeping them from writing tests. One common theme I hear in regard to testing is, "yeah, I'd love to start testing, but we just don't for some reason". While I'm happy with the content so far, I felt like doing something a little extra outside of it. In it, I cover many details of WebdriverIO, including a multitude of commands and how WebdriverIO integrates with many systems out there. Over the past year, I've been working on a set of online video tutorials for WebdriverIO.
0 Comments
Leave a Reply. |