课程: Mobile Testing with Appium

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Challenge: Automate a web form

Challenge: Automate a web form

(upbeat music) - [Instructor] Now that you've learned how to automate web browsers, let's try a slightly more challenging scenario. The challenge here is to load up the Appium Pro website and perform some actions. Let's see what we need to do. First we need to open up Safari, then we need to navigate to Appiumpro.com. Then we're going to open the menu button, then we're going to find the Contact item, and tap it. This will take us to the contact page where we want to fill in an email address and a dummy message. Now we're going to intentionally ignore the CAPTCHA challenge here and tap the Send button. To simulate someone trying to filling the form without going through the CAPTCHA security. This will take us to the form again with an error message displayed. We want to read the text of this error message and assert that it contains the string CAPTCHA to prove that our site doesn't allow contact emails to be sent without going through the CAPTCHA security. Okay, let's head to our IDE…

内容