Keyword-driven testing (KDT) is a software testing approach that uses a set of predefined keywords to represent user actions within a software application.
Blog
Let’s imagine we’re building a robot to test a pizza-making machine! Our robot, named PizzaTesto, loves pizza and is super excited to help ensure that every pizza made by the machine is perfect.
2. Test Script: PizzaTesto’s “recipe book” is like an Excel sheet with rows of instructions, each using these keywords.
3. Test Execution: PizzaTesto reads the recipe book and follows the instructions, using its robot arms and sensors to interact with the pizza machine. It spreads sauce, adds toppings, bakes the pizza, slices it, and delivers it to the table.
Now, imagine PizzaTesto gets a new recipe for a different type of pizza. Instead of rewriting the entire process, we just need to update PizzaTesto’s recipe book with the new keywords and details, like using pesto sauce instead of tomato sauce and adding different toppings.
And just like that, PizzaTesto can keep testing pizzas like a pro, all thanks to its keyword-driven approach!
Copyright ©2024 Preplaced.in
Preplaced Education Private Limited
Ibblur Village, Bangalore - 560103
GSTIN- 29AAKCP9555E1ZV