xxxxxxxxxxI.click("I agree to the Terms & Conditions", -20, 5) //Used an offset click to click on the check box//Navigate to siteI.goTo("https://shop.landrover.com/")//Accept Cookies and choose shipping destinationI.click("Allow All")I.click("Save")I.click("Allow All")//Choose what to buy andI.hoverOn("Travel & Outdoors")I.click("Luggage & Bags")I.click("Weekender Bag")I.click("Add To Bag")I.wait(5)I.click("Checkout")//Fill In needed detailsI.fill("Email Address", "[email protected]")I.fill("First Name", "John")I.fill("Last Name", "Kent")I.fill("City", "Sample City")I.fill("Post Code", "EC1A 2BN")I.wait(5)I.click("Holborn Viaduct")I.click("1st Translation Co")I.wait(5)I.see("1st Translation Co Ltd")I.fill("Phone Number", "1234567890")I.click("Continue To Secure Payment")//Choose Payment Method and fill in detailsI.click("Pay By Card")UI.context("iframe[title='Secure card number input frame']", ()=>{ I.fill("Credit or debit card number", "4242 4242 4242 4242") //Used the Aria Label of the field})UI.context("iframe[title='Secure expiration date input frame']", ()=>{ I.fill("Credit or debit card expiration date", "12/29") //Used the Aria Label of the field})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.