xxxxxxxxxxI.goTo("https://example.uilicious.com/bomb_squad_simulator.html")I.click("Cut the black wire")//Validate the alert and the alert messageI.seeAlert()I.seeAlert("Are you sure you want to cut the black wire?")//Cancel the alert promptI.cancelAlert()I.see("You hesistated.")I.click("Cut the black wire")I.seeAlert("Are you sure you want to cut the black wire?")//Accept the alert prompt and validate the messageI.acceptAlert()I.seeAlert("Congratulations! The bomb is safely disarmed!")I.acceptAlert()//Fill in alert promptI.seeAlert("What's your name dear hero?")I.fillAlert("Jane")I.acceptAlert()I.see("The bomb is disarmed. Hurray, Jane saved the day!")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.