一种用于真机测试的IOS设备手势操作实现方法技术

技术编号:20944697 阅读:55 留言:0更新日期:2019-04-24 02:28
本申请公开了一种用于真机测试的IOS设备手势操作实现方法,包括如下步骤:在web端组装坐标数据集合,web端发送到IOS设备端,坐标数据集合中包含了手势轨迹上各个点的x、y坐标以及对应的滑动时间戳;IOS设备端接收web端传输而来的坐标数据集合;IOS设备端解析接收到的坐标数据集合,根据坐标数据集合包含的滑动时间戳去计算滑动的偏移量,然后声明轨迹方法,将接收到的坐标数据集合以轨迹的方式执行。通过本发明专利技术方法,可以实现在远程真机测试中,进行IOS设备端的手势操作,从而可以实现远程操作IOS设备实现手势密码解锁。

A Gesture Operating Method for IOS Equipment Used in Real Machine Testing

This application discloses an IOS device gesture operation implementation method for real machine testing, which includes the following steps: assembling coordinate data set on the web side, sending it to the IOS device side on the web side, including the X and Y coordinates of each point on the gesture track and corresponding sliding time stamps; analyzing the coordinate data set transmitted from the IOS device side to the receiving web side; The received coordinate data set calculates the sliding offset according to the sliding timestamp contained in the coordinate data set, then declares the trajectory method, and executes the received coordinate data set in a trajectory manner. By the method of the invention, the gesture operation of the IOS device end can be realized in the remote real machine test, and the gesture password unlocking of the IOS device can be realized by the remote operation.

【技术实现步骤摘要】
一种用于真机测试的IOS设备手势操作实现方法
本专利技术涉及IOS设备的远程真机测试领域,具体涉及一种用于真机测试的IOS设备手势操作实现方法。
技术介绍
当前,在IOS设备端的远程真机测试操作中往往包含测试部分app的手势密码解锁功能,而目前的测试操作无法实现手势轨迹的操作,为了可以在远程操作IOS设备实现手势密码解锁,需要有一种可用于真机测试的IOS设备手势操作实现方法。
技术实现思路
针对现有技术的不足,本专利技术旨在提供一种用于真机测试的IOS设备手势操作实现方法,可以实现在远程真机测试中进行手势操作。一种用于真机测试的IOS设备手势操作实现方法,包括如下步骤:S1、在web端组装坐标数据集合,web端发送到IOS设备端;坐标数据集合中包含了手势轨迹上各个点的x、y坐标以及对应的滑动时间戳;S2、IOS设备端接收web端传输而来的坐标数据集合;S3、IOS设备端进行如下操作:S3.1、解析接收到的坐标数据集合,根据坐标数据集合包含的滑动时间戳去计算滑动的偏移量;S3.2、声明轨迹方法,将接收到的坐标数据集合以轨迹的方式执行。进一步地,步骤S1中,web端通过socket协议发送到本文档来自技高网...

【技术保护点】
1.一种用于真机测试的IOS设备手势操作实现方法,其特征在于,包括如下步骤:S1、在web端组装坐标数据集合,web端发送到IOS设备端;坐标数据集合中包含了手势轨迹上各个点的x、y坐标以及对应的滑动时间戳;S2、IOS设备端接收web端传输而来的坐标数据集合;S3、IOS设备端进行如下操作:S3.1、解析接收到的坐标数据集合,根据坐标数据集合包含的滑动时间戳去计算滑动的偏移量;S3.2、声明轨迹方法,将接收到的坐标数据集合以轨迹的方式执行。

【技术特征摘要】
1.一种用于真机测试的IOS设备手势操作实现方法,其特征在于,包括如下步骤:S1、在web端组装坐标数据集合,web端发送到IOS设备端;坐标数据集合中包含了手势轨迹上各个点的x、y坐标以及对应的滑动时间戳;S2、IOS设备端接收web端传输而来的坐标数据集合;S3、IOS设备端进行如下操作:S3.1、解析接收到的坐标数据集合,根据坐标数据集合包含的滑动时间戳去计算滑动的偏移量;S3.2、声明轨迹方法,将接收到的坐标数据集合以轨迹的方式执行。2.根据权利要求1所述的用于真机测试的IOS设备手势操作实现方法,...

【专利技术属性】
技术研发人员:蒋晓海武利彬
申请(专利权)人:北京云测信息技术有限公司
类型:发明
国别省市:北京,11

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1