07.06.2017 Views

The Evolution of Keyword Driven Testing

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LogiGear Whitepaper<br />

So the above test flow will be scripted as below.<br />

Test case #1 Value Action Note<br />

home page<br />

round trip radio btn {click} input<br />

one-way radio btn - -<br />

departure airport txt SFO input<br />

arrival airport txt JFK input<br />

departure datepicker 25-Apr-17 input<br />

return datepicker 30-Apr-17 input<br />

passenger cbx - -<br />

class cbx Economy input<br />

search button {click} input<br />

departure page<br />

price table<br />

$firstRow<br />

$cell >> dep cost get value Example depart cost to be $ 266<br />

$cell {click} input<br />

return page<br />

price table<br />

$firstRow<br />

$cell >> ret cost get value Example return cost to be $ 187<br />

$cell {click} input<br />

review flight page<br />

summary table<br />

$row <br />

$cell >> taxes get value E.g. $ 57.91<br />

$firstRow<br />

$cell # dep cost + ret cost + taxes verify Expected total cost to be $ 510.91<br />

Advantages <strong>of</strong> old-school KDT approach<br />

Admittedly, the old-school KDT approach is still more convenient than the early-days automation<br />

technique, mostly because:<br />

www.testarchitect.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!