uiautomation_js_reference.md UIAutomation JavaScript Reference æ¥æ¬èªç based on UIAutomationRef.pdf Accessing and Using User Interface Elements ã¨ã¬ã¡ã³ãã¯é層æ§é ã«ãªã£ã¦ãã UIATarget.localTarget()ãæä¸ä½ã¨ãã ä¸è¨ã¯åãæä½ã ãæ¸ãæ¹ãè¤æ°ãã£ãããã ä¾a) UIATarget.localTarget().frontMostApp().mainWindow().buttons()[0] ä¾A) UIATarget.localTarget().frontMostApp().mainWindow().buttons()["Edit"] ä¾ãã°ãã¿ã³ãã¿ããããæä½ãæ¸ãæ¹ãè²ã ãã ä¾b1) UIATarget.localTa
iOS SDK 4 ãã追å ããã UIAutomation ã«ã¤ãã¦èª¿ã¹ã¦ã¿ã¾ããã UIAutomation ã使ãã°ãJavaScript 㧠UI ã®èªåãã¹ããå¯è½ã«ãªãã¾ããInstruments ä¸ã§ã¿ã¼ã²ããã®ã¢ããªã¨ JavaScript ã®ãã¡ã¤ã«ãã¤ãªãã¨å®è¡ã§ãã¾ãã 詳ããå°å ¥æ¹æ³ã¯ããã¥ã¡ã³ããè¦ã¦ãããã¨ãã¦ãä½ãã§ããããã¾ã¨ãã¦ã¿ã¾ããã ä½ãã§ããã®ã ãã°ãåºã é常ã®ãã°åºå æåã¨å¤±æç¨ã®ãã°åºåããã£ã¦ãããã§ãã¹ãçµæãå¤å®ãã ã¹ã¯ãªã¼ã³ã·ã§ãããã¨ã ç»é¢å ¨ä½ã¾ãã¯ä¸é¨ã®ã¹ã¯ãªã¼ã³ã·ã§ãããæ®å½±ã§ãã ã¨ã©ã¼ã®æ¤ç¥ ã¯ã©ãã·ã¥ãªã©ãããã㨠JavaScript ã®ä¾å¤ããã ã¿ãããªã©ã®ã¦ã¼ã¶ã¼ã®ã¢ã¯ã·ã§ã³ ãã¿ã³ãªã©ã® UI ã¨ã¬ã¡ã³ããããã¤ã¹ã«å¯¾ãã¦å®è¡ã§ãã ãã©ãã°ãããªãã¯ããã³ãã¤ã³ããã³ãã¢ã¦ããªã©ãå¯è½ UI ã®ç¶æ ãå
ããã«ã¡ã¯ãiOS / Mac éçºæ å½ã®éå ã§ãã 使ã£ã¦å¹¸ããªã¢ããªã«ã¯ããµã¯ãµã¯ã¨ããåããæ¬ ããã¾ããããèªåãã¡ã§ä½ã£ã¦ããã¢ããªãããµã¯ãµã¯ãã§ãªãããã£ãããã¨è¨ããã¦ãã¾ãã¨æ®å¿µãªæ°æã¡ã«ãªãã¾ãããåé¢ãããããããªã£ããè¶ æé©åãã¦è¶ ãµã¯ãµã¯ãªãã¤ããã©ã¼ãã³ã¹ã¢ããªãç®æã!ãã¨èªããç«ã¦ãããæ©ä¼ã§ãããã¾ãã ãããªèªããç«ã¦ãããªãã«ããã¿ãªã®ãã¼ã«ã Xcode ã«ä»å±ãã¦ãã Instrumentsï¼ã¤ã³ã¹ãã¥ã«ã¡ã³ãï¼ã§ãããã§ã³ãªã«ã®ã¦ã§ããã©ã¦ã¶ Sleipnir for Mac ã Sleipnir Mobile for iPhone / iPad ã®éçºã§ã大活èºãã¦ãã¾ãã Instruments ã¯ãä¸è¬çã«ã¯ãããã¡ã¤ã©ã¨ãã種é¡ã®ãã¼ã«ã«ãããã¾ãããããã¡ã¤ã©ã¯ãã©ã®ãªãã¸ã§ã¯ããã©ããããã¡ã¢ãªãæ¶è²»ãã¦ããã¨ããã©ã®ã¡ã½ããã«ã©ããã
Mac / iOS éçºæ å½ã®æ¾æ¬ã§ãã 以ååããã¼ã ã®ãã¤ã¢ããããç´¹ä»è¨äºãæ¸ãã¦ãã UIAutomation ã§ããã使ãã«ããã¦ä½¿ã£ã¦ãã¾ããã§ãããã¨ããã®ã以åã®ãã¼ã¸ã§ã³ã¯ã³ãã³ãã©ã¤ã³ãããã¹ããå®è¡ã§ãããæ¯å Instruments ãæã§èµ·åãã¦ããã¨ããæ®å¿µãªç¶æ ã ã£ãããã§ãã ã¨ããã iOS SDK 5ããã¯ã³ãã³ãã©ã¤ã³ãããã¹ããå®è¡ã§ããããã«ãªã£ãã¨è¨ãã®ã§å度ãã©ã¤ãã¦ã¿ã¾ããã ã³ãã³ãã©ã¤ã³ãããã¹ãã®å®è¡ æå§ãã«ä¸è¨ã®ããã¼ã¯ã¼ã«ããã³ãã³ãã©ã¤ã³ããå®è¡ãã¦ã¿ã¾ãã // hello_test.js UIALogger.logMessage("Hello, UI Automation!"); ãã¹ãã®å®è¡ã¯ instruments ã³ãã³ãã§è¡ãã¾ãã $ instruments \ -t /Developer/Platforms/iP
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}