课程: Mobile Testing with Appium
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Mobile web testing: Practice
- [Instructor] Okay, let's experiment with web automation in practice. I've loaded up the chapter five, 5_Mobile_Web_Before.Java file. This is a very empty file, emptier than the ones we've been looking at recently. What's changed? Well, first of all, there's nothing in our test logic yet. Secondly, in this example, we'll be working with a different driver class. Previously, we've been using something called Android driver. Now we're using something called RemoteWebDriver. This is a class provided by the Selenium web driver API, which the Appium client is built on top of. I'm using this class to demonstrate that, even with the plain old web driver class, that doesn't know anything about Appium or Mobile, we'll be able to successfully automate Safari. Finally, we don't have any DesiredCapabilities set, because that's the most important thing to build out, in this video. Let's go ahead and do that now. I'm going to initialize the session on iOS this time using Mobile Safari, because…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。