App automation framework design ideas

In recent consolidation and learning Appium + Java Automation Framework, on the part of APP automation framework envisaged reference to some articles, the first conducted under the order:

A framework of ideas:

Thinking Source: https://www.cnblogs.com/yunfeioliver/p/9285904.html 

Figure framework provided by the author, the idea is good, you can refer to

 

The architecture design ideas Summary: 

1, PM model design: the operation level, the use of industry-wide Page-Object model, i.e. for page mode operation or the module package, provided in the operation call interface layer case.

2, scalable Operation: Operation call unified interface manipulation cases Case layer, so that the end of Operation different implementations may be implemented in specific implementation class

 

 

Thinking Framework II:

Thinking Source: https://yq.aliyun.com/articles/33677?spm=a2c4e.11155435.0.0.556e1219viVgzQ

1, a block flow chart executed by Example

 

 2, customized data configuration: the front end is automatically set according to a user selected configuration profile, the center ideal configuration

3. Check the center of the realization of ideas:1,用户自定义检查 2,网络传输层检查(自动化时实时抓包) 3,logcat实时抓取异常log(区粉设备) 4,截图录制、系统抛错,图片解析对比等

 

4 , the data processing logic element

 

 

5 , the flow of execution

 

 

Ideas framework of three:

Thinking Source: https://blog.csdn.net/kaka1121/article/details/53204150

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/keenajiao/p/11913630.html