xxxxxxxxxxI.goTo("https://allblackshop.com/")I.click("Accept")I.hoverOn("Shop All")I.click("Bags")I.see("All Blacks Backpack")I.click("Add To Cart")I.click("Checkout")//Fill in Address DetailsI.fill("First Name", "John")I.fill("Last Name", "Kent")I.fill("House Number", "12345")I.fill("Town / City", "Sample Town")I.fill("Postcode", "12345")I.fill("Phone", "123456789")I.fill("Email", "[email protected]")//Choose Shipping optionI.select("Express")I.wait(10)//Fill In Credit Card DetailsI.select("Credit Card")UI.context("iframe[title='Secure card number input frame']",()=>{ I.fill("Card Number", "4242 4242 4242 4242")})UI.context("iframe[title='Secure expiration date input frame']",()=>{ I.fill("Expiry Date", "12/29")})UI.context("iframe[title='Secure CVC input frame']",()=>{ I.fill("Card Code", "123")})I.select("I have read and agree to the website")I.click("Place Order")I.see("The card was declined.")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.