Skip to content

测试指定页面 无法实现(白名单和手动配置Activity都不行) #209

@gradient30

Description

@gradient30

main
如图,需求实现测试:首页里的(新游 、 排行)这两个页面,
1.单独使用白名单无法实现awl.strings
首页:com.xqhy.legendbox.main.BoxMainActivity
新游:com.xqhy.legendbox.main.home.view.NewGameRecommendActivity
排行:com.xqhy.legendbox.main.home.view.HomeChildActivity
2.加上自定义事件序列,跳到“新游”页面执行 并返回到 首页后,无法切到“排行”,语法没问题(在https://www.json.cn/确认过)
方法1是 把首页和排行的页面点击写在下边的actions里不行,因为排行和新游 会跳转新的activity;单独写2个activity也不行

[
{
	"prop":1,
	"activity":"com.xqhy.legendbox.main.BoxMainActivity",
	"times":1,
	"actions":[
		{
			"xpath":"//*[@resource-id='com.xqhy.legendbox:id/home_text']",
			"action":"CLICK",
			"text":"首页",
			"clearText":false,
			"throttle":1000
		}	
	]
}
]

会在mainactivity里循环,
image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions