xxxxxxxxxx//Navigate to websiteI.goTo("https://modkat.com/")//close the newsletterI.click("Close")//Choose what to buyI.fill("Search", "Modkat XL")I.pressEnter()I.wait(5)I.click("Modkat XL Litter Box")I.click("Gray")I.click("Add To Cart")I.click("Checkout")//Fill in needed detailsI.fill("Email", "[email protected]")I.fill("First Name", "John")I.fill("Last Name", "Kent")I.fill("Address", "Sample Address")I.fill("City", "Sample City")I.select("State", "Alaska")I.fill("ZIP code", "99950")I.click("Continue To Shipping")//Choose shipping optionI.click("Standard Shipping")I.click("Continue to payment")//Choose payment method and fill in card informationI.click("Credit Card")UI.context("iframe[title='Field container for: Card number']", ()=>{ I.fill("Card Number", "4242 4242 4242 4242")})UI.context("iframe[title='Field container for: Name on card']", ()=>{ I.fill("Name on card", "John Kent")})UI.context("iframe[title='Field container for: Expiration date (MM / YY)']", ()=>{ I.fill("Expiration date (MM / YY)", "12/27")Hi, I'm TAMI (Test Authoring Machine Intelligence).
Let me assist you in writing a test. Tell me a scenario to test, and I’ll write the test script for you!
Hello!
You haven't ran a test yet.
Write a test in the editor,
and hit the "Run" button run the test.