课程: Mobile Testing with Appium
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Solution: Find a new element
(upbeat music) - [Speaker] Now I'll share my own approach to solving the challenge of automating the Echo Box feature of the test app. I've got a code file open here, which has chapter four, nine solution before dot Java. The only thing I've got so far in the test method is the line that sets up the explicit wait that I'll be using, this web driver wait here. My next step is to automate the part of the flow where we navigate to the Echo Box view. But how do I know how to find the Echo Box list element? Well, I'll load up Appium desktop's inspector to find out. So here's Appium desktop, I'll start a server, and then as before, go to the start inspector session. Now, I can reuse a saved capability set from before. Here's the one we want so I can immediately start a session. Okay, now the session is loaded and I can use the screenshot and mouse over it to find the particular element I want, which is this Echo Box item here. So if I click it I can see that the inspector recommends I find…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
-
(已锁定)
Locator strategies and finding elements: Theory3 分钟 38 秒
-
(已锁定)
Locator strategies and finding elements: Practice5 分钟 24 秒
-
(已锁定)
Waiting for elements: Theory3 分钟 24 秒
-
(已锁定)
Waiting for elements: Practice3 分钟 35 秒
-
(已锁定)
Basic element interaction10 分钟 15 秒
-
(已锁定)
Element discovery: Getting app source6 分钟 30 秒
-
(已锁定)
Element discovery: Appium inspector6 分钟 2 秒
-
(已锁定)
Challenge: Find a new element1 分钟 6 秒
-
(已锁定)
Solution: Find a new element7 分钟 30 秒
-
(已锁定)
-
-