midscene/apps/site/docs/zh/common/start-experience.mdx

36 lines
929 B
Plaintext
Raw Permalink Normal View History

## 开始体验
配置完成后,你可以立即开始使用 Midscene。它一共有三个关键操作 Tab
- **Action**: 与网页进行交互这就是所谓的自动规划Auto Planning。比如
```
在搜索框中输入 Midscene
点击登录按钮
```
- **Query**: 从界面中提取 JSON 数据
```
提取页面中的用户 ID返回 \{ id: string \}
```
- **Assert**: 验证页面
```
页面标题是 Midscene
```
- **Tap**: 在某个元素上点击这就是所谓的即时操作Instant Action
```
登录按钮
```
快来试试吧!
> 关于自动规划Auto Planning和即时操作Instant Action的区别请参考 [API](../API.html) 文档。
## 想将 Midscene 集成到代码?
插件体验结束后,你可能想将 Midscene 集成到代码中。这里有几种不同集成形式的文档:
* [使用 YAML 格式的自动化脚本](../automate-with-scripts-in-yaml)