Pergunta de entrevista da empresa Accelya Group

What are the steps to write an automation script for adding a product to the cart, completing billing, and processing payment?