Use solopi common problems

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/qq_37941471/article/details/102739805

When a mobile terminal export a use case Show: file export fails

solution:

Probably because there is a problem with the case name format, such as: name with "/" character (try to modify the name)

Second, computers and mobile phones have been successfully connected, the second time use, enter abd tcpip 5555, appears:

➜  ~ adb tcpip 5555
zsh: command not found: adb

Solution:

➜  ~ source  ~/.bash_profile
➜  ~ adb tcpip 5555
* daemon not running; starting now at tcp:5037
* daemon started successfully
restarting in TCP mode port: 5555
➜  ~

III. Batch replay use cases, part of the use case easy beginning will not find more than the first coordinate, click the app is just entering the ad (ad 3 seconds)

solution:

用例编辑
1. 点击「新步骤」,选择「设备」—>「Sleep」
2. 输入: 3000( 单位:ms 实则:3s )
3. 将Sleep这个步骤长按拖动至用例的最开始第一步(这样在每次用例执行之前,可以保证成功进入app的首页)

IV. How to improve the success rate in the case of bulk playback?

1. 在刚进入app时,设置步骤sleep: 3000ms或者更长的时间,避免网络太差的情况( 3s,因为app刚进入时有3s的广告,有的时候容易误入广告页 )

2. 在刚进入频道页( 或者任何页面)时,设置步骤sleep: 2000ms( 2s )

3. 在使用“输入并搜索功能”时,比如: 输入“日本”,并搜索,应该:
  
  1) 点击搜索框,选择「输入」功能,点击「输入」,输入“日本”
  2) 再次点击搜索框,选择「输入」功能,点击「输入并输入」,不输入内容,点击「输入」( 即: 搜索“日本” )
   
  尽量少量的使用“输入并搜索”功能,直接搜索日本,这样容易在回放用例时,出现一些预料不到的问题.

Guess you like

Origin blog.csdn.net/qq_37941471/article/details/102739805