ã¯ããã«
ãAirtest IDEãã使ç¨ãããã¨ã§ãAndroid ã®ã²ã¼ã ã§
ç»åèªèã«ãã UI ã®èªåãã¹ããè¡ããã¨ãã§ãã¾ã
使ç¨ä¾
ã
試ãã« Airtest IDE ã使ç¨ã㦠Android çã®ãã¬ã¹ã㧠UI ã®èªåãã¹ãããã¦ã¿ã¾ãã
ä¸è¨ã®åç»ã§ã¯æå®ããç»åãèªèããã¦ãé çªã«ã¿ãããã¦ãããã¹ããè¡ã£ã¦ãã¾ã
Airtest IDE ã使ç¨ãããã¨ã§ããã®ããã«ç»åèªèã«ãã UI ã®ãã¹ããå¯è½ã«ãªãã¾ã
ãã®è¨äºã§ã¯ãAirtest IDE ã使ç¨ã㦠Android ã®ã²ã¼ã ã§
ç»åèªèã«ãã UI ã®èªåãã¹ããè¡ãæ¹æ³ãç´¹ä»ãã¦ããã¾ã
æ¤è¨¼ç°å¢
- Windows 10
- Android 7.0
- Airtest IDE v1.0.0
å°å ¥æ¹æ³
- ä¸è¨ã®ãã¼ã¸ãããAirtest IDEãããã¦ã³ãã¼ããã¾ã
https://airtest.netease.com/ - ãã¦ã³ãã¼ããã ZIP ãã¡ã¤ã«ãå±éãã¾ã
- å±éãããã©ã«ãå ã®ãAirtestIDE.exeããå®è¡ãã¾ã
- ãã°ã¤ã³ç»é¢ã表示ãããããå³ä¸ã®ãSkipããé¸æãã¾ã
Android ã¨æ¥ç¶
PC ã« Android ãæ¥ç¶ããããç»é¢å³ã®ãDevicesããããconnectããé¸æãã¾ã
ï¼æ¥ç¶ä¸ã® Android ãä¸è¦§ã«è¡¨ç¤ºããã¦ããªãå ´åã¯ãrefresh ADBããæ¼ãã¾ãï¼
æ¥ç¶ãå®äºããã¨ãAndroid ã®ç»é¢ããDevice Screenãã«è¡¨ç¤ºããã¾ã
ãã¹ãç¨ã®ã¹ã¯ãªããã®ä½æ
ã¾ãã¯ãç»é¢ã®ç¹å®ã®ä½ç½®ãã¿ããããå¦çãä½æãã¦ã¿ã¾ã
ãAirtest Assistantãã®ãtouchããé¸æãã¾ã
ããã¨ãé åé¸æã¢ã¼ãã«ãªãã®ã§ãDevice Screenãã§
èªåã§ã¿ãããã¦ã»ããé åãé¸æãã¾ã
ããã¨ããScript Editorãã«æå®ããé åãã¿ããããå½ä»¤ã追å ããã¾ã
ä»ã«ãããsleepããé¸æããã¨ãæå®ããç§æ°å¾ æ©ããå½ä»¤ã追å ã§ãã¾ã
ãwaitããé¸æããã¨ãæå®ããç»åã表示ãããã¾ã§å¾ æ©ããå½ä»¤ã追å ããã¾ã
ãswipeããé¸æããã¨ãæå®ããé åãã¹ã¯ã¤ãããå½ä»¤ã追å ã§ãã¾ã
ãassert_existsããé¸æããã¨ãæå®ããç»åãåå¨ããªãå ´åã«
ã¢ãµã¼ããæããå½ä»¤ã追å ããã¾ã
ãassert_not_existsããé¸æããã¨ãæå®ããç»åãåå¨ããå ´åã«
ã¢ãµã¼ããæããå½ä»¤ã追å ã§ãã¾ã
ããã¦ããã¹ãç¨ã®ã¹ã¯ãªããã®ä½æãå®äºããã
åçãã¿ã³ãæ¼ãããF5 ãæ¼ããã¨ã§ãã¹ããéå§ã§ãã¾ã
ãã¹ãã«æåããã¨ãLog Viewerãã«ãOK [Finished]ãã¨è¡¨ç¤ºããã¾ã
ãã®ããã«ããAirtest IDEãã使ç¨ãããã¨ã§ãAndroid ã®ã²ã¼ã ã§
ç»åèªèã«ãã UI ã®èªåãã¹ããè¡ããã¨ãã§ãã¾ã
ãããã«
ä»åã¯ãAirtest IDEãã«ãããç»åèªèã® UI ã®èªåãã¹ãã®æ¹æ³ãç´¹ä»ãã¾ãã
https://airtest.netease.com/docs/en/1_quick_start/1_how_to_write_the_first_script_for_your_game.html
ãAirtest IDEãã®ã¯ã¤ãã¯ã¹ã¿ã¼ãã¯ä¸è¨ã®å
¬å¼ãµã¤ãã§ãå
¬éããã¦ããã®ã§ã
ãã¡ããä½µãã¦åèã«ãã¦é ããã°ã¨æãã¾ã
ã¾ããä»åç´¹ä»ããæ¹æ³ä»¥å¤ã«ããAirtest IDEãã§ã¯ç´°ãããã¹ãã®è¨å®ãå¯è½ã§ã
https://poco.readthedocs.io/en/latest/source/doc/integration.html
ä¾ãã°ãPocoSDKãã¨ãããã®ã Unity ããã¸ã§ã¯ãã«å°å
¥ããæ¹æ³ãªã©ãããã¾ã
èå³ãããã°ããã¡ãã試ãã¦ã¿ã¦ããã ããã¨ããããªã¨æãã¾ã