课程: Mobile Testing with Appium
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Mobile web testing: Theory
- [Instructor] So far, we've been using Appium exclusively for automating native mobile apps. But people use their mobile devices for browsing the web, too. It'd be great if we could automate mobile websites for the purpose of testing our web applications on mobile and not just native apps. Luckily, this is made really easy with Appium. Because Appium is based off of the Selenium WebDriver API, your Appium client library already has web automation concepts built right in. For example, here are a few commands you have access to in the Appium client that don't make sense in the context of native apps, driver.get sends a web browser to a specific URL, driver.getTitle gets the title of the currently loaded webpage, and there are also web-specific locator strategies. For example, finding an element via its cssSelector. We haven't looked at any of these commands yet, because they are for web browser automation and not native app automation. But Appium also knows how to launch built-in web…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。