@capagents/forgeqe 3.1.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/HOW_TO_USE.md +435 -78
  2. package/README.md +21 -6
  3. package/THIRD_PARTY_NOTICES.md +210 -1
  4. package/dist/docs-site/CREDITS.md +6 -0
  5. package/dist/docs-site/architecture-map/index.html +1 -1
  6. package/dist/docs-site/docs/app-theme.css +100 -8
  7. package/dist/docs-site/docs/architecture/index.html +210 -214
  8. package/dist/docs-site/docs/area-api/index.html +350 -0
  9. package/dist/docs-site/docs/area-automated-tests/index.html +967 -0
  10. package/dist/docs-site/docs/area-browser/index.html +430 -0
  11. package/dist/docs-site/docs/area-data/index.html +605 -0
  12. package/dist/docs-site/docs/area-desktop/index.html +755 -0
  13. package/dist/docs-site/docs/area-mobile/index.html +631 -0
  14. package/dist/docs-site/docs/area-operations/index.html +1069 -0
  15. package/dist/docs-site/docs/area-pull-requests/index.html +208 -0
  16. package/dist/docs-site/docs/area-quality/index.html +365 -0
  17. package/dist/docs-site/docs/area-release/index.html +320 -0
  18. package/dist/docs-site/docs/area-setup/index.html +1192 -0
  19. package/dist/docs-site/docs/area-systems/index.html +207 -0
  20. package/dist/docs-site/docs/area-test-cases/index.html +694 -0
  21. package/dist/docs-site/docs/containers/index.html +97 -104
  22. package/dist/docs-site/docs/cost-architecture/index.html +108 -112
  23. package/dist/docs-site/docs/custom-agents-first-run/index.html +19 -23
  24. package/dist/docs-site/docs/desktop/index.html +172 -162
  25. package/dist/docs-site/docs/desktop-ci/index.html +26 -33
  26. package/dist/docs-site/docs/evidence/index.html +253 -257
  27. package/dist/docs-site/docs/feature-test-prompts/index.html +66 -70
  28. package/dist/docs-site/docs/get-started/index.html +495 -0
  29. package/dist/docs-site/docs/graphify/index.html +42 -46
  30. package/dist/docs-site/docs/guardrails/index.html +17 -21
  31. package/dist/docs-site/docs/index.html +17 -6729
  32. package/dist/docs-site/docs/mobile/index.html +155 -162
  33. package/dist/docs-site/docs/model-routing/index.html +44 -51
  34. package/dist/docs-site/docs/overview/index.html +176 -0
  35. package/dist/docs-site/docs/product-graph/index.html +52 -55
  36. package/dist/docs-site/docs/product-knowledge/index.html +11 -15
  37. package/dist/docs-site/docs/product-views/index.html +53 -57
  38. package/dist/docs-site/docs/reference/index.html +379 -0
  39. package/dist/docs-site/docs/search.js +1 -1
  40. package/dist/docs-site/docs/using/index.html +480 -0
  41. package/dist/docs-site/docs/web-app/index.html +147 -93
  42. package/dist/docs-site/security/index.html +930 -0
  43. package/dist/docs-site/security/security-theme.css +161 -0
  44. package/dist/docs-site/security/security.js +1465 -0
  45. package/dist/docs-site/vendor/react-18.3.1.production.min.js +31 -0
  46. package/dist/docs-site/vendor/react-dom-18.3.1.production.min.js +267 -0
  47. package/dist/docs-site/vendor/reactflow-11.11.4.umd.js +10 -0
  48. package/dist/forgeqe.js +1902 -1895
  49. package/dist/web/THIRD_PARTY_NOTICES.md +0 -136
  50. package/dist/web/assets/Agent-CPhmZdFX.js +8 -0
  51. package/dist/web/assets/AgentWork-BXdN9xgi.js +2 -0
  52. package/dist/web/assets/ApiTests-Do3xLjfB.js +10 -0
  53. package/dist/web/assets/Browse-WVkJT6Bs.js +2 -0
  54. package/dist/web/assets/Chat-CDc9UcQX.js +3 -0
  55. package/dist/web/assets/CommandPalette-BAZm62lV.js +1 -0
  56. package/dist/web/assets/Compare-Br6n9T9L.js +1 -0
  57. package/dist/web/assets/Cost-BBUyBu3Y.js +1 -0
  58. package/dist/web/assets/Data-Ch2DPEWp.js +6 -0
  59. package/dist/web/assets/Desktop-Qzoq-cQv.js +1 -0
  60. package/dist/web/assets/DesktopReview-CF_jQYAM.js +1 -0
  61. package/dist/web/assets/Evidence-C72Lj5_Q.js +1 -0
  62. package/dist/web/assets/Explore-ObkEpUyS.js +2 -0
  63. package/dist/web/assets/Features-CQzNo_WP.js +1 -0
  64. package/dist/web/assets/Flags-0-RniPJm.js +2 -0
  65. package/dist/web/assets/Flaky-BPJvNLCA.js +1 -0
  66. package/dist/web/assets/Impact-CfccsL_k.js +3 -0
  67. package/dist/web/assets/Jobs-T6m4zhDy.js +5 -0
  68. package/dist/web/assets/KindPage-BDUvWe2p.js +6 -0
  69. package/dist/web/assets/Migration-Dqeh4x5u.js +2 -0
  70. package/dist/web/assets/PageAgent-DNjzIgeY.js +1 -0
  71. package/dist/web/assets/Product-nYV_scOV.js +7 -0
  72. package/dist/web/assets/Production-CGSbEWVa.js +1 -0
  73. package/dist/web/assets/Quality-BIypojZm.js +1 -0
  74. package/dist/web/assets/Readiness-BlRjwJRg.js +1 -0
  75. package/dist/web/assets/Record-v2KLI-_Z.js +1 -0
  76. package/dist/web/assets/Regression-B-jSt4Jz.js +5 -0
  77. package/dist/web/assets/RelationGraph-8J98lOVG.js +1 -0
  78. package/dist/web/assets/Reports-GI4u6SyW.js +2 -0
  79. package/dist/web/assets/Response-mhBThq2b.js +9 -0
  80. package/dist/web/assets/Responsive-DXu7Ra7K.js +3 -0
  81. package/dist/web/assets/RunDiff-D0SHDNp0.js +1 -0
  82. package/dist/web/assets/Runs-C1Gjdi9M.js +2 -0
  83. package/dist/web/assets/Settings-BGGeuvyF.js +21 -0
  84. package/dist/web/assets/Steps-D-YG0eJy.js +2 -0
  85. package/dist/web/assets/TestCases-DC4w77eQ.js +1 -0
  86. package/dist/web/assets/TestData-CvKWRVVV.js +2 -0
  87. package/dist/web/assets/TestDebt-D8YzN29_.js +1 -0
  88. package/dist/web/assets/TestManagement-C5cDCqrD.js +1 -0
  89. package/dist/web/assets/Tosca-BGUv3RiJ.js +3 -0
  90. package/dist/web/assets/WhatsNew-B_Gyuv8O.js +1 -0
  91. package/dist/web/assets/agents-C0Jg2pN8.js +1 -0
  92. package/dist/web/assets/coverage-BMP6ELFJ.js +5 -0
  93. package/dist/web/assets/dataParts-DbeCj9ga.js +3 -0
  94. package/dist/web/assets/diff-BStuTmsN.js +2 -0
  95. package/dist/web/assets/families-BBFFrUlo.js +1 -0
  96. package/dist/web/assets/filters-CnAMr286.js +1 -0
  97. package/dist/web/assets/fold-D_O_VZui.js +1 -0
  98. package/dist/web/assets/head-CRo48rPt.js +1 -0
  99. package/dist/web/assets/highlight-BcFZIf59.js +4 -0
  100. package/dist/web/assets/index-B3JsM7tv.js +64 -0
  101. package/dist/web/assets/index-CafApcbZ.css +2 -0
  102. package/dist/web/assets/input-CtzK50ZF.js +1 -0
  103. package/dist/web/assets/jsx-runtime-LKYXHABd.js +1 -0
  104. package/dist/web/assets/line-icons-rdF8DYDJ.js +1 -0
  105. package/dist/web/assets/logos-D4oVWzqa.js +1 -0
  106. package/dist/web/assets/palette-DAaGSao7.js +1 -0
  107. package/dist/web/assets/paletteCommands-Co-RlQ8q.js +1 -0
  108. package/dist/web/assets/parts-D357Wolo.js +1 -0
  109. package/dist/web/assets/productParts-B8oHRCJF.js +1 -0
  110. package/dist/web/assets/qualityParts-BLkmIfDY.js +1 -0
  111. package/dist/web/assets/recordTest-Cez2sDJO.js +1 -0
  112. package/dist/web/assets/rolldown-runtime-XKyaHtl9.js +1 -0
  113. package/dist/web/assets/route-BloYJWgw.js +1 -0
  114. package/dist/web/index.html +12 -6
  115. package/docs/ARCHITECTURE.md +1 -1
  116. package/docs/BASAL.md +1 -1
  117. package/docs/DESKTOP.md +20 -1
  118. package/docs/EVIDENCE.md +1 -1
  119. package/docs/MOBILE.md +4 -4
  120. package/docs/PRODUCT_KNOWLEDGE.md +2 -0
  121. package/docs/WEB_APP.md +114 -51
  122. package/docs/user-guide.html +404 -81
  123. package/forgeqe.example.yaml +3 -3
  124. package/package.json +1 -1
  125. package/prompts/page-differs.md +1 -1
  126. package/prompts/requests-rule.md +1 -1
  127. package/prompts/test-reviewer.md +1 -1
  128. package/prompts/test-rules.md +3 -4
  129. package/skills/web-guidance/LICENSE +202 -0
  130. package/skills/web-guidance/SKILL.md +76 -0
  131. package/skills/web-guidance/UPSTREAM +67 -0
  132. package/skills/web-guidance/references/accessibility/accessibility.md +585 -0
  133. package/skills/web-guidance/references/accessibility/accessible-error-announcement.md +302 -0
  134. package/skills/web-guidance/references/accessibility/accessible-generated-content.md +41 -0
  135. package/skills/web-guidance/references/accessibility/respect-os-text-scale.md +127 -0
  136. package/skills/web-guidance/references/css/responsive-design.md +16 -0
  137. package/skills/web-guidance/references/forms/autofill-address-form.md +86 -0
  138. package/skills/web-guidance/references/forms/autofill-payment-form.md +142 -0
  139. package/skills/web-guidance/references/forms/autofill-sign-in-form.md +145 -0
  140. package/skills/web-guidance/references/forms/autofill-sign-up-form.md +155 -0
  141. package/skills/web-guidance/references/forms/forms.md +415 -0
  142. package/skills/web-guidance/references/forms/ime-safe-enter-submit.md +115 -0
  143. package/skills/web-guidance/references/forms/required-field-feedback.md +317 -0
  144. package/skills/web-guidance/references/forms/select-menu-interaction.md +310 -0
  145. package/skills/web-guidance/references/forms/slider.md +184 -0
  146. package/skills/web-guidance/references/forms/sms-otp-form.md +208 -0
  147. package/skills/web-guidance/references/forms/switch.md +60 -0
  148. package/skills/web-guidance/references/forms/validate-input-after-interaction.md +406 -0
  149. package/skills/web-guidance/references/performance/break-up-long-tasks.md +64 -0
  150. package/skills/web-guidance/references/performance/identify-heavy-scripts.md +69 -0
  151. package/skills/web-guidance/references/performance/identify-inp-causes.md +105 -0
  152. package/skills/web-guidance/references/performance/interaction-paint-timing.md +200 -0
  153. package/skills/web-guidance/references/performance/optimize-image-priority.md +73 -0
  154. package/skills/web-guidance/references/performance/performance.md +384 -0
  155. package/skills/web-guidance/references/privacy/privacy.md +247 -0
  156. package/skills/web-guidance/references/security/passkey-authentication.md +218 -0
  157. package/skills/web-guidance/references/security/passkey-management.md +310 -0
  158. package/skills/web-guidance/references/security/passkey-reauthentication.md +142 -0
  159. package/skills/web-guidance/references/security/passkey-registration.md +186 -0
  160. package/skills/web-guidance/references/security/passkeys.md +39 -0
  161. package/skills/web-guidance/references/security/sanitize-untrusted-html.md +105 -0
  162. package/skills/web-guidance/references/security/secure-external-subresources.md +202 -0
  163. package/skills/web-guidance/references/security/security.md +390 -0
  164. package/skills/web-guidance/references/security/trusted-types.md +141 -0
  165. package/skills/web-guidance/references/security/validate-origins.md +197 -0
  166. package/skills/web-guidance/references/security/verify-email-ownership.md +235 -0
  167. package/skills/web-guidance/references/ui-atoms/position-aware-tooltips.md +173 -0
  168. package/skills/web-guidance/references/ui-atoms/responsive-table.md +122 -0
  169. package/skills/web-guidance/references/ui-atoms/viewport-aware-dropdowns.md +178 -0
  170. package/skills/web-guidance/references/ui-behaviors/drag-and-drop.md +108 -0
  171. package/skills/web-guidance/references/ui-behaviors/light-dismiss-a-dialog.md +89 -0
  172. package/skills/web-guidance/references/ui-behaviors/motion.md +97 -0
  173. package/skills/web-guidance/references/ui-behaviors/platform-controls-dismiss-dialog.md +40 -0
  174. package/skills/web-guidance/references/ui-behaviors/prevent-page-scroll-under-modal-dialog.md +59 -0
  175. package/skills/web-guidance/references/ui-behaviors/search-hidden-content.md +141 -0
  176. package/skills/web-guidance/references/ui-behaviors/sortable-table.md +140 -0
  177. package/skills/web-guidance/references/ui-components/accordion.md +343 -0
  178. package/skills/web-guidance/references/ui-components/breadcrumbs.md +168 -0
  179. package/skills/web-guidance/references/ui-components/carousel.md +206 -0
  180. package/skills/web-guidance/references/ui-components/checkbox.md +144 -0
  181. package/skills/web-guidance/references/ui-components/dialog.md +218 -0
  182. package/skills/web-guidance/references/ui-components/hovercard.md +391 -0
  183. package/skills/web-guidance/references/ui-components/menu.md +415 -0
  184. package/skills/web-guidance/references/ui-components/navbar.md +281 -0
  185. package/skills/web-guidance/references/ui-components/navigation-drawer.md +429 -0
  186. package/skills/web-guidance/references/ui-components/persistent-toast-notifications.md +185 -0
  187. package/skills/web-guidance/references/ui-components/progress.md +181 -0
  188. package/skills/web-guidance/references/ui-components/spinner.md +179 -0
  189. package/skills/web-guidance/references/ui-components/tabs.md +371 -0
  190. package/skills/web-guidance/references/ui-components/toolbar.md +277 -0
  191. package/skills/web-guidance/references/user-experience/form-factor-adaptation.md +120 -0
  192. package/skills/web-guidance/references/user-experience/natural-interactions.md +155 -0
  193. package/skills/web-guidance/references/visual-design/color.md +43 -0
  194. package/skills/web-guidance/references/visual-design/dark-mode.md +350 -0
  195. package/dist/web/assets/AgentWork-DwAI0_Of.js +0 -2
  196. package/dist/web/assets/ApiTests-C0vFSHmM.js +0 -10
  197. package/dist/web/assets/Browse-5jfdtRc5.js +0 -2
  198. package/dist/web/assets/Chat-B3uhI94O.js +0 -3
  199. package/dist/web/assets/CommandPalette-D2J4nf5y.js +0 -1
  200. package/dist/web/assets/Compare-CN75w1p9.js +0 -1
  201. package/dist/web/assets/Cost-QoxyjR95.js +0 -1
  202. package/dist/web/assets/Data-BAvkcBVt.js +0 -6
  203. package/dist/web/assets/Desktop-BXdOIalN.js +0 -1
  204. package/dist/web/assets/DesktopReview-Bl2SrPP0.js +0 -1
  205. package/dist/web/assets/Evidence-BJ_I52CD.js +0 -1
  206. package/dist/web/assets/Explore-D9AuyTip.js +0 -2
  207. package/dist/web/assets/Features-CusGMDR9.js +0 -1
  208. package/dist/web/assets/Flags-CycGFuUP.js +0 -2
  209. package/dist/web/assets/Flaky-BcSzJogN.js +0 -1
  210. package/dist/web/assets/Impact-CJHnyZ21.js +0 -3
  211. package/dist/web/assets/Jobs-4xcFzEFo.js +0 -5
  212. package/dist/web/assets/KindPage-BielEIej.js +0 -6
  213. package/dist/web/assets/Migration-NwanKpJg.js +0 -2
  214. package/dist/web/assets/PageAgent-CNw4NXva.js +0 -1
  215. package/dist/web/assets/Product-DS3LJZ4P.js +0 -7
  216. package/dist/web/assets/Production-D3zsyNIS.js +0 -1
  217. package/dist/web/assets/Quality-Ctj2YpC4.js +0 -1
  218. package/dist/web/assets/Readiness-DGcRr_co.js +0 -1
  219. package/dist/web/assets/Record-Cc-wGe_Y.js +0 -1
  220. package/dist/web/assets/Regression-DcsbrRa1.js +0 -5
  221. package/dist/web/assets/Reports-BkCn0-Sf.js +0 -2
  222. package/dist/web/assets/Response-BP0UwQcW.js +0 -9
  223. package/dist/web/assets/Responsive-C8U7dumd.js +0 -3
  224. package/dist/web/assets/RunDiff-BhABuhF_.js +0 -1
  225. package/dist/web/assets/Runs-OwdWEYBv.js +0 -2
  226. package/dist/web/assets/Steps-BvzbQyoD.js +0 -2
  227. package/dist/web/assets/TestCases-CLq_6JA5.js +0 -1
  228. package/dist/web/assets/TestData-B0oKAhp6.js +0 -2
  229. package/dist/web/assets/TestDebt-8NLQ5YV_.js +0 -1
  230. package/dist/web/assets/TestManagement-2LYQ7vsN.js +0 -1
  231. package/dist/web/assets/Tosca-DfvMpPTG.js +0 -3
  232. package/dist/web/assets/WhatsNew-BGFNGwqN.js +0 -1
  233. package/dist/web/assets/families-DYlN5v0i.js +0 -1
  234. package/dist/web/assets/filters-faaSnoIq.js +0 -1
  235. package/dist/web/assets/fold-CUjwWAK3.js +0 -1
  236. package/dist/web/assets/frame-BLPdAXUq.js +0 -13
  237. package/dist/web/assets/head-CsTxBsO0.js +0 -1
  238. package/dist/web/assets/index-CxiCvGZq.js +0 -78
  239. package/dist/web/assets/index-dOIsrzhD.css +0 -2
  240. package/dist/web/assets/line-icons-CwZWt93L.js +0 -1
  241. package/dist/web/assets/logos-dGuc1jIM.js +0 -1
  242. package/dist/web/assets/markdown-BI3F-SJ1.js +0 -10
  243. package/dist/web/assets/paletteCommands-QJiCuUEr.js +0 -1
  244. package/dist/web/assets/parts-CdF1f7yS.js +0 -1
  245. package/dist/web/assets/productParts-hNLD9fN0.js +0 -1
  246. package/dist/web/assets/qualityParts-CT25lBWU.js +0 -1
  247. package/dist/web/assets/recordTest-P792aBUt.js +0 -1
@@ -0,0 +1,631 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>Mobile apps · ForgeQE docs</title>
7
+ <meta name="description" content="How to use ForgeQE: set it up, configure it, and every feature in detail, with what it needs and how to ask for it.">
8
+ <meta name="theme-color" content="#ffffff">
9
+ <link rel="canonical" href="https://forgeqe.qualityai.co.uk/docs/">
10
+ <link rel="icon" type="image/png" href="../../img/favicon.png">
11
+ <link rel="stylesheet" href="../docs.css">
12
+ <script src="../search.js" defer></script>
13
+ <script src="../docs.js" defer></script>
14
+ <link rel="stylesheet" href="../../app-look.css">
15
+ <link rel="stylesheet" href="../app-theme.css">
16
+ </head>
17
+ <body class="docs">
18
+ <svg aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden" xmlns="http://www.w3.org/2000/svg"><!-- Phosphor Duotone (MIT), from web/src/flatIcons.ts --><symbol id="ph-context-engine" viewBox="0 0 256 256"><g fill="currentColor"><path d="m195.88 195.88l-39.6-39.6a40 40 0 0 0 0-56.56l39.6-39.6a96 96 0 0 1 0 135.76M60.12 60.12a96 96 0 0 0 0 135.76l39.6-39.6a40 40 0 0 1 0-56.56Z" opacity=".2"/><path d="M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m39.1 131.79a47.84 47.84 0 0 0 0-55.58l28.5-28.49a87.83 87.83 0 0 1 0 112.56ZM96 128a32 32 0 1 1 32 32a32 32 0 0 1-32-32m88.28-67.6l-28.49 28.5a47.84 47.84 0 0 0-55.58 0L71.72 60.4a87.83 87.83 0 0 1 112.56 0M60.4 71.72l28.5 28.49a47.84 47.84 0 0 0 0 55.58l-28.5 28.49a87.83 87.83 0 0 1 0-112.56M71.72 195.6l28.49-28.5a47.84 47.84 0 0 0 55.58 0l28.49 28.5a87.83 87.83 0 0 1-112.56 0"/></g></symbol><symbol id="ph-wikis" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96" opacity=".2"/><path d="M140 180a12 12 0 1 1-12-12a12 12 0 0 1 12 12M128 72c-22.06 0-40 16.15-40 36v4a8 8 0 0 0 16 0v-4c0-11 10.77-20 24-20s24 9 24 20s-10.77 20-24 20a8 8 0 0 0-8 8v8a8 8 0 0 0 16 0v-.72c18.24-3.35 32-17.9 32-35.28c0-19.85-17.94-36-40-36m104 56A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88"/></g></symbol><symbol id="ph-shield" viewBox="0 0 256 256"><g fill="currentColor"><path d="M216 56v56c0 96-88 120-88 120s-88-24-88-120V56a8 8 0 0 1 8-8h160a8 8 0 0 1 8 8" opacity=".2"/><path d="M208 40H48a16 16 0 0 0-16 16v56c0 52.72 25.52 84.67 46.93 102.19c23.06 18.86 46 25.26 47 25.53a8 8 0 0 0 4.2 0c1-.27 23.91-6.67 47-25.53C198.48 196.67 224 164.72 224 112V56a16 16 0 0 0-16-16m0 72c0 37.07-13.66 67.16-40.6 89.42a129.3 129.3 0 0 1-39.4 22.2a128.3 128.3 0 0 1-38.92-21.81C61.82 179.51 48 149.3 48 112V56h160ZM82.34 141.66a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 11.32l-56 56a8 8 0 0 1-11.32 0Z"/></g></symbol><symbol id="ph-architecture" viewBox="0 0 256 256"><g fill="currentColor"><path d="m224 80l-96 56l-96-56l96-56Z" opacity=".2"/><path d="M230.91 172a8 8 0 0 1-2.91 10.91l-96 56a8 8 0 0 1-8.06 0l-96-56A8 8 0 0 1 36 169.09l92 53.65l92-53.65a8 8 0 0 1 10.91 2.91M220 121.09l-92 53.65l-92-53.65a8 8 0 0 0-8 13.82l96 56a8 8 0 0 0 8.06 0l96-56a8 8 0 1 0-8.06-13.82M24 80a8 8 0 0 1 4-6.91l96-56a8 8 0 0 1 8.06 0l96 56a8 8 0 0 1 0 13.82l-96 56a8 8 0 0 1-8.06 0l-96-56A8 8 0 0 1 24 80m23.88 0L128 126.74L208.12 80L128 33.26Z"/></g></symbol><symbol id="ph-mail" viewBox="0 0 256 256"><g fill="currentColor"><path d="m224 56l-96 88l-96-88Z" opacity=".2"/><path d="M224 48H32a8 8 0 0 0-8 8v136a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a8 8 0 0 0-8-8m-20.57 16L128 133.15L52.57 64ZM216 192H40V74.19l82.59 75.71a8 8 0 0 0 10.82 0L216 74.19z"/></g></symbol><symbol id="ph-mobile" viewBox="0 0 256 256"><g fill="currentColor"><path d="M192 56v144H64V56Z" opacity=".2"/><path d="M176 16H80a24 24 0 0 0-24 24v176a24 24 0 0 0 24 24h96a24 24 0 0 0 24-24V40a24 24 0 0 0-24-24M72 64h112v128H72Zm8-32h96a8 8 0 0 1 8 8v8H72v-8a8 8 0 0 1 8-8m96 192H80a8 8 0 0 1-8-8v-8h112v8a8 8 0 0 1-8 8"/></g></symbol></svg>
19
+ <svg aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden" xmlns="http://www.w3.org/2000/svg"><!-- Lucide icons v0.454.0, ISC licence (https://lucide.dev) -->
20
+ <symbol id="i-monitor" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="14" x="2" y="3" rx="2" />
21
+ <line x1="8" x2="16" y1="21" y2="21" />
22
+ <line x1="12" x2="12" y1="17" y2="21" /></symbol>
23
+ <symbol id="i-smartphone" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="20" x="5" y="2" rx="2" ry="2" />
24
+ <path d="M12 18h.01" /></symbol>
25
+ <symbol id="i-braces" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1" />
26
+ <path d="M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1" /></symbol>
27
+ <symbol id="i-container" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z" />
28
+ <path d="M10 21.9V14L2.1 9.1" />
29
+ <path d="m10 14 11.9-6.9" />
30
+ <path d="M14 19.8v-8.1" />
31
+ <path d="M18 17.5V9.4" /></symbol>
32
+ <symbol id="i-shield-check" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" />
33
+ <path d="m9 12 2 2 4-4" /></symbol>
34
+ <symbol id="i-file-text" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" />
35
+ <path d="M14 2v4a2 2 0 0 0 2 2h4" />
36
+ <path d="M10 9H8" />
37
+ <path d="M16 13H8" />
38
+ <path d="M16 17H8" /></symbol>
39
+ <symbol id="i-terminal" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5" />
40
+ <line x1="12" x2="20" y1="19" y2="19" /></symbol>
41
+ <symbol id="i-brain" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z" />
42
+ <path d="M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z" />
43
+ <path d="M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4" />
44
+ <path d="M17.599 6.5a3 3 0 0 0 .399-1.375" />
45
+ <path d="M6.003 5.125A3 3 0 0 0 6.401 6.5" />
46
+ <path d="M3.477 10.896a4 4 0 0 1 .585-.396" />
47
+ <path d="M19.938 10.5a4 4 0 0 1 .585.396" />
48
+ <path d="M6 18a4 4 0 0 1-1.967-.516" />
49
+ <path d="M19.967 17.484A4 4 0 0 1 18 18" /></symbol>
50
+ <symbol id="i-git-branch" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><line x1="6" x2="6" y1="3" y2="15" />
51
+ <circle cx="18" cy="6" r="3" />
52
+ <circle cx="6" cy="18" r="3" />
53
+ <path d="M18 9a9 9 0 0 1-9 9" /></symbol>
54
+ <symbol id="i-database" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><ellipse cx="12" cy="5" rx="9" ry="3" />
55
+ <path d="M3 5V19A9 3 0 0 0 21 19V5" />
56
+ <path d="M3 12A9 3 0 0 0 21 12" /></symbol>
57
+ <symbol id="i-zap" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z" /></symbol>
58
+ <symbol id="i-scan-search" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7V5a2 2 0 0 1 2-2h2" />
59
+ <path d="M17 3h2a2 2 0 0 1 2 2v2" />
60
+ <path d="M21 17v2a2 2 0 0 1-2 2h-2" />
61
+ <path d="M7 21H5a2 2 0 0 1-2-2v-2" />
62
+ <circle cx="12" cy="12" r="3" />
63
+ <path d="m16 16-1.9-1.9" /></symbol>
64
+ <symbol id="i-bug" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m8 2 1.88 1.88" />
65
+ <path d="M14.12 3.88 16 2" />
66
+ <path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1" />
67
+ <path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6" />
68
+ <path d="M12 20v-9" />
69
+ <path d="M6.53 9C4.6 8.8 3 7.1 3 5" />
70
+ <path d="M6 13H2" />
71
+ <path d="M3 21c0-2.1 1.7-3.9 3.8-4" />
72
+ <path d="M20.97 5c0 2.1-1.6 3.8-3.5 4" />
73
+ <path d="M22 13h-4" />
74
+ <path d="M17.2 17c2.1.1 3.8 1.9 3.8 4" /></symbol>
75
+ <symbol id="i-repeat" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m17 2 4 4-4 4" />
76
+ <path d="M3 11v-1a4 4 0 0 1 4-4h14" />
77
+ <path d="m7 22-4-4 4-4" />
78
+ <path d="M21 13v1a4 4 0 0 1-4 4H3" /></symbol>
79
+ <symbol id="i-code" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6" />
80
+ <polyline points="8 6 2 12 8 18" /></symbol>
81
+ <symbol id="i-lock" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" />
82
+ <path d="M7 11V7a5 5 0 0 1 10 0v4" /></symbol>
83
+ <symbol id="i-plug" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22v-5" />
84
+ <path d="M9 8V2" />
85
+ <path d="M15 8V2" />
86
+ <path d="M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z" /></symbol>
87
+ <symbol id="i-layers" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z" />
88
+ <path d="m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" />
89
+ <path d="m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" /></symbol>
90
+ <symbol id="i-chevron-right" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6" /></symbol>
91
+ <symbol id="i-copy" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
92
+ <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></symbol>
93
+ <symbol id="i-play" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polygon points="6 3 20 12 6 21 6 3" /></symbol>
94
+ <symbol id="i-maximize" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 3 21 3 21 9" /><polyline points="9 21 3 21 3 15" /><line x1="21" x2="14" y1="3" y2="10" /><line x1="3" x2="10" y1="21" y2="14" /></symbol>
95
+ <symbol id="i-x" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18" /><path d="m6 6 12 12" /></symbol>
96
+ <symbol id="i-mail" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="16" x="2" y="4" rx="2" /><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" /></symbol>
97
+ <symbol id="i-message-square" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" /></symbol>
98
+ </svg>
99
+
100
+ <a class="skip" href="#main">Skip to content</a>
101
+ <header class="nav" id="navigation">
102
+ <div class="nav__bar">
103
+ <a class="nav__logo" href="https://forgeqe.github.io/" aria-label="ForgeQE by Capgemini, home"><picture><source srcset="../../img/wordmark-white.webp" media="(prefers-color-scheme: dark)"><img src="../../img/wordmark.webp" alt="" width="160" height="76"></picture><span class="nav__by">by <img src="../../img/capgemini-color.svg" alt="" width="92" height="21"></span></a>
104
+ <nav aria-label="Main"><ul class="nav__links"><li><a href="https://forgeqe.github.io/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li><li><a href="../index.html" aria-current="page"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li><li><a href="../../security/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg>Security</a></li><li><a href="../../architecture-map/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg>Architecture</a></li><li><a href="https://forgeqe.github.io/contact/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-mail"/></svg>Contact us</a></li></ul></nav>
105
+ <div class="nav__end">
106
+ <button class="search-open" type="button" aria-haspopup="dialog"><svg class="icon" aria-hidden="true"><use href="#i-scan-search"></use></svg><span>Search</span><kbd>/</kbd></button>
107
+ <button class="nav__menu" type="button" aria-expanded="false" aria-controls="menu"><span class="sr-only">Open the menu</span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 8h16M4 16h16"/></svg></button>
108
+ </div>
109
+ </div>
110
+ <div class="menu" id="menu" hidden><ul><li><a href="https://forgeqe.github.io/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li><li><a href="../index.html" aria-current="page"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li><li><a href="../../security/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg>Security</a></li><li><a href="../../architecture-map/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg>Architecture</a></li><li><a href="https://forgeqe.github.io/contact/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-mail"/></svg>Contact us</a></li></ul></div>
111
+ </header>
112
+ <div class="container docs-layout">
113
+ <nav class="docs-side" aria-label="Docs">
114
+ <a class="side-home" href="../index.html" aria-current="page"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs home</a>
115
+ <div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="index.html" aria-current="page"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>Architecture</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div>
116
+ </nav>
117
+ <main id="main" class="docs-main guide chapter-page">
118
+ <p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Desktop and mobile</p>
119
+ <div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="index.html" aria-current="page"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>Architecture</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-mobile-apps">Automate Android and iOS apps</a></li><li><a href="#doc-how_to_use-mobile-apps-android-ios">Mobile apps (Android, iOS)</a></li><li><a href="#doc-docs-mobile-forgeqe-mobile-android-and-ios-apps">ForgeQE mobile: Android and iOS apps</a></li><li><a href="#doc-docs-mobile-use">Use</a></li><li><a href="#doc-docs-mobile-apps-and-settings">Apps and settings</a></li><li><a href="#doc-docs-mobile-devices">Devices</a></li><li><a href="#doc-docs-mobile-workflow-yaml-forgeqe-mobile-v1">Workflow YAML (forgeqe-mobile-v1)</a></li><li><a href="#doc-docs-mobile-appium-on-this-computer">Appium on this computer</a></li><li><a href="#doc-docs-mobile-record-by-hand">Record by hand</a></li><li><a href="#doc-docs-mobile-explore">Explore</a></li><li><a href="#doc-docs-mobile-maestro">Maestro</a></li><li><a href="#doc-docs-mobile-testmu-ai-formerly-lambdatest">TestMu AI (formerly LambdaTest)</a></li><li><a href="#doc-docs-mobile-security">Security</a></li></ul></nav></details></div>
120
+ <h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-mobile"/></svg>Mobile apps</h1>
121
+ <p class="guide-lead">Android and iOS apps through Appium or Maestro: explore a goal, replay, run the team's flows</p>
122
+ <article class="spec feat" id="cap-mobile-apps">
123
+ <div class="hd"><span class="mono">Mobile</span><h3>Automate Android and iOS apps</h3></div>
124
+ <p class="ds">Carries out a plain-language goal in an Android or iOS app through Appium and saves it as a mobile workflow with checks of the outcome, or records one by hand on the Record page (the device's screen shown there, here or on TestMu AI or BrowserStack, each tap, entry and check done on the device and kept as a step, no model); replays workflows with no model on Appium (healing a moved control) or Maestro; runs the team's own Maestro flows after checking them against an allowlist; uploads an app build to TestMu AI and saves its lt:// id as the app's build. Apps come from env.yaml (kind: mobile) or forgeqe.yaml mobile:.</p>
125
+ <div class="facts">
126
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Sign in to the courier app and accept the first delivery, and save it as a test</li><li>Replay the courier login on Maestro</li><li>Run our Maestro flows in .maestro/</li><li>Upload builds/courier.apk to TestMu for the courier app</li></ul></div>
127
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>A live model profile in llms.json (an API key or Microsoft Entra ID sign-in)</span></li><li><span class="need req">Required</span><span>Mobile apps: env.yaml (kind: mobile) or mobile.apps in forgeqe.yaml</span></li><li><span class="need input">You give</span><span>an Appium server with a device or emulator (or a device cloud), or Maestro installed; the app in env.yaml or forgeqe.yaml mobile.apps</span></li></ul></div>
128
+ <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Explore runs on Appium only</li><li>Maestro replays do not heal moved controls or compare images (expect_image)</li><li>On TestMu AI, Maestro (through HyperExecute) refuses workflows that type secrets; replay those there with --driver appium</li></ul></div>
129
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>mobile_explore</code> <code>mobile_replay</code> <code>mobile_maestro</code> <code>mobile_upload</code></p></div>
130
+ </div>
131
+ <div class="detail"><span class="mono">In detail</span>
132
+ <section class="doc" id="doc-how_to_use-mobile-apps-android-ios">
133
+ <h4>Mobile apps (Android, iOS)</h4>
134
+ <div class="prose"><p>ForgeQE drives Android and iOS apps two ways: through <strong>Appium</strong>, step by step (it can explore a goal with the model,
135
+ and heals a control that moved), and through <strong>Maestro</strong> (fast replays, and your team's own Maestro flows). In the shell,
136
+ ask for a goal in the app (&quot;sign in to the courier app and accept the first delivery&quot;) and ForgeQE's agent explores it
137
+ on your device or emulator and saves a workflow with checks of the outcome. The same from the command line:</p>
138
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe mobile setup</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Appium and its drivers here, pinned (once); runs start it themselves
139
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile doctor</span><span class="pad"> </span><span class="cm"><span class="h">#</span> does the Appium server answer, is maestro installed?
140
+ </span></span><span class="ln"><span class="cmd">forgeqe mobile explore &quot;Sign in and accept the first delivery&quot; --app courier
141
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile replay &lt;run folder&gt;/workflow.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> on Appium (mobile.driver), healing moved controls
142
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile replay workflow.yaml --driver maestro</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the same workflow as a Maestro flow
143
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile replay mobile-tests/ --junit results.xml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> every workflow in a folder, results for CI
144
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile maestro .maestro/</span><span class="pad"> </span><span class="cm"><span class="h">#</span> your team's Maestro flows, checked first
145
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile flow workflow.yaml &gt; login.flow.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a workflow as a Maestro flow, to keep
146
+ </span></span></code></pre></div>
147
+ <p>To show the steps instead, use Record → <strong>Mobile app</strong> in <code>forgeqe web</code>: pick the app and a device (here, TestMu AI
148
+ or BrowserStack), and the device's screen appears on the page. Each tap, entry, check and gesture is done on the
149
+ device through the locator ForgeQE keeps for it, so a step a replay could not find is never kept. No model is used.
150
+ Stop opens the workflow's review. Details: <a href="#doc-docs-mobile-record-by-hand">docs/MOBILE.md</a>.</p>
151
+ <p>Apps come from env.yaml (<code>kind: mobile</code>, <code>platform: android</code> or <code>ios</code>, <code>app_id</code>, and optionally <code>activity</code> and an
152
+ <code>app</code> build to install) or <code>mobile.apps</code> in forgeqe.yaml. <code>mobile.appium</code> names the Appium server (default
153
+ <code>http://127.0.0.1:4723</code>, or a device cloud's hub with its user and key in environment variables), and <code>{{secret:NAME}}</code>
154
+ reads only <code>mobile.secrets</code> (and the environment's secrets). A flow kept with <code>forgeqe mobile flow</code> reads each secret
155
+ as <code>${MAESTRO_&lt;NAME&gt;}</code>, never its value, so set <code>MAESTRO_&lt;NAME&gt;</code> when you run it outside ForgeQE; a workflow that types a
156
+ secret not listed there is refused. Team Maestro flows run only with UI commands: scripts,
157
+ JavaScript in <code>${…}</code>, Maestro's AI commands and file writes are refused. Details: <a href="#doc-docs-mobile-forgeqe-mobile-android-and-ios-apps">docs/MOBILE.md</a>.</p>
158
+ <h5>On TestMu AI (formerly LambdaTest)</h5>
159
+ <p>Both drivers run on TestMu AI's devices. Upload the app build once, then use the <code>lt://</code> id it prints as the app's <code>app</code>
160
+ (in env.yaml or <code>mobile.apps</code>; ForgeQE adds it to Appium's <code>LT:Options</code> itself):</p>
161
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe mobile upload courier.apk</span><span class="pad"> </span><span class="cm"><span class="h">#</span> prints lt://APP…, for TestMu's real devices
162
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile upload courier.apk --virtual</span><span class="pad"> </span><span class="cm"><span class="h">#</span> for TestMu's emulators and simulators instead
163
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile upload courier.apk --name courier-nightly</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the name TestMu shows for the build
164
+ </span></span></code></pre></div>
165
+ <p>The user name and access key come from <code>LT_USERNAME</code> and <code>LT_ACCESS_KEY</code> (or the variables <code>username_env</code> and
166
+ <code>access_key_env</code> name), for example in a <code>.env</code> file in the project folder. They go only to the mobile engine, never to
167
+ a flow or a model, and a user or key in the hub URL is refused.</p>
168
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">mobile:
169
+ </span></span><span class="ln"><span class="cmd"> apps:
170
+ </span></span><span class="ln"><span class="cmd"> courier: { platform: android, app_id: com.contoso.courier, app: &quot;lt://APP1016…&quot; }
171
+ </span></span><span class="ln ln--pair"><span class="cmd"> appium:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Appium on TestMu's mobile hub
172
+ </span></span><span class="ln"><span class="cmd"> url: https://mobile-hub.lambdatest.com/wd/hub
173
+ </span></span><span class="ln"><span class="cmd"> username_env: LT_USERNAME
174
+ </span></span><span class="ln"><span class="cmd"> access_key_env: LT_ACCESS_KEY
175
+ </span></span><span class="ln"><span class="cmd"> capabilities:
176
+ </span></span><span class="ln"><span class="cmd"> &quot;LT:Options&quot;: { w3c: true, isRealMobile: true, deviceName: &quot;Pixel 6&quot;, platformVersion: &quot;14&quot; }
177
+ </span></span><span class="ln"><span class="cmd"> maestro:
178
+ </span></span><span class="ln ln--pair"><span class="cmd"> testmu:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Maestro on TestMu, through HyperExecute
179
+ </span></span><span class="ln ln--pair"><span class="cmd"> cli: ./hyperexecute</span><span class="pad"> </span><span class="cm"><span class="h">#</span> TestMu's hyperexecute CLI
180
+ </span></span><span class="ln ln--pair"><span class="cmd"> devices: [&quot;Pixel 6-14&quot;]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> name-version, or a pattern such as &quot;.*-.*&quot;
181
+ </span></span><span class="ln ln--pair"><span class="cmd"> real_device: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> false: TestMu's emulators
182
+ </span></span></code></pre></div>
183
+ <ul>
184
+ <li><strong>Appium</strong> needs nothing else: it talks to the hub with the user and key from the two variables.</li>
185
+ <li><strong>Maestro runs through HyperExecute.</strong> <code>mobile.maestro.testmu</code> names TestMu's <code>hyperexecute</code> CLI (<code>cli</code>), the devices
186
+ to run on (<code>devices</code>), and real devices or emulators (<code>real_device</code>). ForgeQE writes a HyperExecute project in the run
187
+ folder (the flows in their folder layout, so <code>runFlow</code> still works, the app, fixed setup and run scripts, and
188
+ <code>hyperexecute.yaml</code>) and starts the CLI. Team flows are checked against the allowlist first, as always. The access key
189
+ is removed from the CLI's output and from every file in the run folder; the run prints the HyperExecute job link.</li>
190
+ <li><strong>Secrets:</strong> a workflow that types a secret is refused on Maestro on TestMu (HyperExecute would need the value in its
191
+ own vault). Replay it on TestMu with <code>--driver appium</code> instead. Maestro on TestMu runs Android apps; run iOS apps
192
+ there through Appium.</li>
193
+ </ul>
194
+ <p>In the shell, ask in words: &quot;upload builds/courier.apk to TestMu for the courier app&quot;. After you agree, ForgeQE
195
+ uploads it and writes the <code>lt://</code> id into that app's <code>app:</code> in <code>forgeqe.yaml</code> (an app from <code>env.yaml</code> gets the id to
196
+ set there). The build must be inside the working folder; hidden folders and files named like credentials are refused.</p>
197
+ <p><span class="xref">samples/mobile-testmu</span> is a ready project with TestMu's Wikipedia sample app: copy
198
+ <code>.env.example</code> to <code>.env</code>, upload the app with <code>forgeqe mobile upload sample.apk</code>, put the id in its <code>forgeqe.yaml</code>,
199
+ download the <code>hyperexecute</code> CLI into the folder, then run <code>forgeqe mobile replay wiki.yaml --driver appium</code>,
200
+ <code>--driver maestro</code>, and <code>forgeqe mobile maestro .maestro</code>. Details: <a href="#doc-docs-mobile-testmu-ai-formerly-lambdatest">docs/MOBILE.md</a>.</p>
201
+ </div>
202
+ </section>
203
+ <section class="doc" id="doc-docs-mobile-forgeqe-mobile-android-and-ios-apps">
204
+ <h4>ForgeQE mobile: Android and iOS apps</h4>
205
+ <div class="prose"><p>Status: the engine and its tests run on any OS, against a fake Appium server and a stand-in for Maestro. On an
206
+ Android emulator the live tests go further: Appium explores and replays the emulator's Settings app, and Maestro
207
+ replays the same workflow. iOS runs the same code with the XCUITest driver, but is untested (it needs a macOS machine
208
+ with a simulator).</p>
209
+ <p>ForgeQE drives mobile apps two ways, and one workflow format runs on both:</p>
210
+ <div class="tbl tbl--cols-3"><table>
211
+ <thead>
212
+ <tr><th></th><th>Appium</th><th>Maestro</th></tr>
213
+ </thead>
214
+ <tbody>
215
+ <tr><td data-label="">Runs</td><td data-label="Appium">step by step, through an Appium server (yours or a device cloud's)</td><td data-label="Maestro">the whole workflow as one Maestro flow</td></tr>
216
+ <tr><td data-label="">Explore a goal with the model</td><td data-label="Appium">yes</td><td data-label="Maestro">no</td></tr>
217
+ <tr><td data-label="">Heal a control that moved</td><td data-label="Appium">yes, one model call, reported for review</td><td data-label="Maestro">no</td></tr>
218
+ <tr><td data-label="">Visual checks (<code>expect_image</code>)</td><td data-label="Appium">yes</td><td data-label="Maestro">no</td></tr>
219
+ <tr><td data-label="">Your team's own flows</td><td data-label="Appium">n/a</td><td data-label="Maestro"><code>forgeqe mobile maestro</code>, checked against an allowlist</td></tr>
220
+ <tr><td data-label="">Needs</td><td data-label="Appium"><code>appium</code> with UiAutomator2 (Android) or XCUITest (iOS), a device or emulator</td><td data-label="Maestro"><code>maestro</code> and a device or emulator</td></tr>
221
+ </tbody>
222
+ </table></div>
223
+ </div>
224
+ </section>
225
+ <section class="doc" id="doc-docs-mobile-use">
226
+ <h4>Use</h4>
227
+ <div class="prose"><div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe mobile setup</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Appium and its drivers, pinned, into ForgeQE's tools folder (once)
228
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile doctor</span><span class="pad"> </span><span class="cm"><span class="h">#</span> does the Appium server answer (the cloud's hub and sign-in when every
229
+ </span></span><span class="ln ln--more"><span class="pad"> </span><span class="cm"><span class="h">#</span> device in use is on TestMu or BrowserStack), is maestro installed? (or, with
230
+ </span></span><span class="ln ln--more"><span class="pad"> </span><span class="cm"><span class="h">#</span> mobile.maestro.testmu: is the hyperexecute CLI there, are the user and key set?)
231
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile apps</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the mobile apps of the active environment
232
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile devices --like &quot;Pixel 8-14&quot;</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the devices TestMu or BrowserStack has, most like one first
233
+ </span></span><span class="ln"><span class="cmd">forgeqe mobile explore &quot;Sign in as the courier and accept the first delivery&quot; --app courier
234
+ </span></span><span class="ln"><span class="cmd">forgeqe mobile replay .forgeqe/reports/mobile-explore-…/workflow.yaml
235
+ </span></span><span class="ln"><span class="cmd">forgeqe mobile replay workflow.yaml --driver maestro
236
+ </span></span><span class="ln"><span class="cmd">forgeqe mobile replay mobile-tests/ --data couriers.csv --junit results.xml
237
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile maestro .maestro/</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the team's flows
238
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile flow workflow.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> print a workflow as a Maestro flow
239
+ </span></span><span class="ln"><span class="cmd">forgeqe mobile validate workflow.yaml
240
+ </span></span></code></pre></div>
241
+ <p>Or ask ForgeQE's agent in the shell or <code>forgeqe run</code>: &quot;sign in to the courier app and save it as a test&quot;, &quot;replay the
242
+ courier login on Maestro&quot;, &quot;run our Maestro flows&quot;. Its tools are <code>mobile_explore</code>, <code>mobile_replay</code> and
243
+ <code>mobile_maestro</code>. It asks before each one starts, and <code>desktop_edit_workflow</code> fixes a mobile workflow after a failed
244
+ replay, the same way as a desktop one.</p>
245
+ </div>
246
+ </section>
247
+ <section class="doc" id="doc-docs-mobile-apps-and-settings">
248
+ <h4>Apps and settings</h4>
249
+ <div class="prose"><p>Mobile apps come from the active environment in env.yaml, or from <code>mobile.apps</code> in forgeqe.yaml:</p>
250
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> env.yaml
251
+ </span></span><span class="ln"><span class="cmd">environments:
252
+ </span></span><span class="ln"><span class="cmd"> qa:
253
+ </span></span><span class="ln"><span class="cmd"> apps:
254
+ </span></span><span class="ln"><span class="cmd"> courier:
255
+ </span></span><span class="ln"><span class="cmd"> kind: mobile
256
+ </span></span><span class="ln ln--pair"><span class="cmd"> platform: android</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or ios
257
+ </span></span><span class="ln ln--pair"><span class="cmd"> app_id: com.contoso.courier</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Android package or iOS bundle id
258
+ </span></span><span class="ln ln--pair"><span class="cmd"> activity: .MainActivity</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Android only, optional
259
+ </span></span><span class="ln ln--pair"><span class="cmd"> app: /builds/courier-qa.apk</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: install this build (.apk/.aab/.ipa/.app/.zip, https URL, bs://…)
260
+ </span></span><span class="ln"><span class="cmd"> description: Driver app that confirms delivery
261
+ </span></span><span class="ln"><span class="cmd"> secrets: [COURIER_PASSWORD_QA]
262
+ </span></span></code></pre></div>
263
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> forgeqe.yaml
264
+ </span></span><span class="ln"><span class="cmd">mobile:
265
+ </span></span><span class="ln ln--pair"><span class="cmd"> driver: appium</span><span class="pad"> </span><span class="cm"><span class="h">#</span> appium | maestro: the default for replays
266
+ </span></span><span class="ln"><span class="cmd"> appium:
267
+ </span></span><span class="ln"><span class="cmd"> url: http://127.0.0.1:4723
268
+ </span></span><span class="ln ln--pair"><span class="cmd"> capabilities:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> added to every session
269
+ </span></span><span class="ln"><span class="cmd"> appium:udid: emulator-5554
270
+ </span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> username_env: BROWSERSTACK_USERNAME
271
+ </span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> access_key_env: BROWSERSTACK_ACCESS_KEY
272
+ </span></span><span class="ln"><span class="cmd"> maestro:
273
+ </span></span><span class="ln"><span class="cmd"> command: [maestro]
274
+ </span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> device: emulator-5554
275
+ </span></span><span class="ln"><span class="cmd"> secrets: [COURIER_PASSWORD]
276
+ </span></span><span class="ln"><span class="cmd"> heal: true
277
+ </span></span><span class="ln"><span class="cmd"> screenshots: true
278
+ </span></span></code></pre></div>
279
+ <p>Each run writes a folder under the reports folder (<code>mobile-explore-…</code>, <code>mobile-replay-…</code>, <code>mobile-maestro-…</code>) with
280
+ <code>run.json</code>, <code>report.html</code>, step screenshots, and for Maestro runs the flow, <code>maestro.log</code> and Maestro's JUnit report.</p>
281
+ </div>
282
+ </section>
283
+ <section class="doc" id="doc-docs-mobile-devices">
284
+ <h4>Devices</h4>
285
+ <div class="prose"><p>Say what each device is and where it runs; Settings → Mobile edits all of it. ForgeQE builds what Appium, Maestro and
286
+ the cloud need from that and the app: the W3C capabilities (<code>platformName</code>, <code>appium:udid</code>, <code>bstack:options</code>,
287
+ <code>LT:Options</code>, …), the cloud's hub address, Maestro's <code>--device</code>, and TestMu's HyperExecute YAML. Nobody types
288
+ capabilities.</p>
289
+ <p>Devices on this computer are in forgeqe.yaml:</p>
290
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">mobile:
291
+ </span></span><span class="ln ln--pair"><span class="cmd"> parallel: 3</span><span class="pad"> </span><span class="cm"><span class="h">#</span> devices at once, here and on the clouds; default: all of them
292
+ </span></span><span class="ln"><span class="cmd"> devices:
293
+ </span></span><span class="ln ln--pair"><span class="cmd"> pixel8:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> an emulator
294
+ </span></span><span class="ln"><span class="cmd"> type: virtual
295
+ </span></span><span class="ln"><span class="cmd"> platform: android
296
+ </span></span><span class="ln"><span class="cmd"> udid: emulator-5554
297
+ </span></span><span class="ln ln--pair"><span class="cmd"> pixel-headless:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> an emulator Appium starts for the run (emulator -list-avds)
298
+ </span></span><span class="ln"><span class="cmd"> type: virtual
299
+ </span></span><span class="ln"><span class="cmd"> platform: android
300
+ </span></span><span class="ln"><span class="cmd"> avd: Pixel_8_API_35
301
+ </span></span><span class="ln ln--pair"><span class="cmd"> iphone-sim:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> an iOS simulator (XCUITest boots it)
302
+ </span></span><span class="ln"><span class="cmd"> type: virtual
303
+ </span></span><span class="ln"><span class="cmd"> platform: ios
304
+ </span></span><span class="ln"><span class="cmd"> model: iPhone 15
305
+ </span></span><span class="ln"><span class="cmd"> os_version: &quot;17.2&quot;
306
+ </span></span></code></pre></div>
307
+ <p><code>avd</code> names an Android emulator for Appium to start for the run, instead of one already running. With
308
+ <code>mobile.headless: true</code> (Settings → Mobile, Emulators without a window) Appium starts those emulators, and iOS
309
+ simulators, without a window (<code>appium:isHeadless</code>); a real device and a cloud's devices are never affected.</p>
310
+ <p>Devices on TestMu AI or BrowserStack are in that cloud's own file, the one <code>browser.providers</code> links
311
+ (<code>.forgeqe/testmu.yaml</code>, <code>.forgeqe/browserstack.yaml</code>), beside its browsers and with the same sign-in. Settings →
312
+ Mobile shows each file's devices and edits them; Integrations edits the file's browsers and its browser devices.
313
+ A file with only mobile devices sets up no browser on that cloud.</p>
314
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> .forgeqe/testmu.yaml
315
+ </span></span><span class="ln"><span class="cmd">provider: testmu
316
+ </span></span><span class="ln"><span class="cmd">remote:
317
+ </span></span><span class="ln ln--pair"><span class="cmd"> username_env: LT_USERNAME</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the sign-in, as variable names; values in the credential store
318
+ </span></span><span class="ln"><span class="cmd"> access_key_env: LT_ACCESS_KEY
319
+ </span></span><span class="ln"><span class="cmd">mobile:
320
+ </span></span><span class="ln"><span class="cmd"> region: us
321
+ </span></span><span class="ln"><span class="cmd"> devices:
322
+ </span></span><span class="ln"><span class="cmd"> galaxy-s23:
323
+ </span></span><span class="ln ln--pair"><span class="cmd"> type: real</span><span class="pad"> </span><span class="cm"><span class="h">#</span> real | virtual (TestMu's emulators and simulators)
324
+ </span></span><span class="ln"><span class="cmd"> platform: android
325
+ </span></span><span class="ln"><span class="cmd"> model: Galaxy S23
326
+ </span></span><span class="ln"><span class="cmd"> os_version: &quot;13&quot;
327
+ </span></span></code></pre></div>
328
+ <ul>
329
+ <li><strong>Which devices run.</strong> Every device with <code>enabled</code> on (the default), of the app's platform: an Android workflow
330
+ skips the iOS devices. <code>--devices pixel8,galaxy</code> (or the agent's <code>devices</code>) names some for one run.</li>
331
+ <li><strong>At once.</strong> <code>mobile.parallel</code> of them at a time. Devices on this computer running at once get their own driver
332
+ ports (<code>appium:systemPort</code> 8200+, <code>appium:wdaLocalPort</code> 8100+, <code>appium:mjpegServerPort</code> 9100+) on the one Appium
333
+ server. On TestMu, <code>mobile.parallel</code> also caps HyperExecute's concurrency.</li>
334
+ <li><strong>Maestro</strong> runs on each device on this computer, and as one HyperExecute job for TestMu's real devices (and one
335
+ for its emulators). It does not run on BrowserStack here: replay those with Appium.</li>
336
+ <li><strong>Results.</strong> Each device's run is in a folder of its own inside the run's folder, with <code>devices.json</code> listing each
337
+ one's result and report, and a failed device's first failed step. The run passes only when every device passes;
338
+ <code>--junit</code> has one case per device. Each step line and log line names its device (<code>[pixel8] ✓ 3 tap Sign in</code>).</li>
339
+ <li><strong>The cloud check.</strong> Before a run, ForgeQE asks each cloud whether it has the real devices the run goes on (those of
340
+ the app's platform; for explore, the first); for one it does not, it offers the most similar (in a terminal) and
341
+ swaps only that device, this run only. TestMu's list changes through the day (a model's OS versions come and go),
342
+ so a pipeline that must not stop can list a pattern (<code>os_version: &quot;1[345]&quot;</code>) or a second device.</li>
343
+ <li><code>explore</code> works through a goal once, on the first device in use.</li>
344
+ <li><strong>TestMu's emulators and simulators</strong> are a list of their own, which no API gives: <code>type: virtual</code> devices are not
345
+ checked, and one TestMu does not have is refused at once with where to look (its capabilities generator). An iOS
346
+ simulator's <code>os_version: &quot;17&quot;</code> is sent as <code>17.0</code>, which TestMu needs. Every TestMu session says <code>w3c: true</code>.</li>
347
+ <li><strong>iOS alerts</strong> stay until a step closes them: TestMu accepts every iOS alert by default, which closes a success or
348
+ error alert before a check can read it. A config that sets <code>appium:autoAcceptAlerts</code> or <code>autoDismissAlerts</code> keeps it.
349
+ iOS's own permission prompts (notifications, location, tracking) are saved under <code>dismiss</code>, like Android's system
350
+ dialogs, and a replay closes a <code>dismiss</code> dialog that shows as the app starts; where it never shows, nothing fails.</li>
351
+ <li><strong>iOS real devices</strong> need a device build (<code>.ipa</code> built for iphoneos); a simulator build (<code>.app</code> in a <code>.zip</code>) runs
352
+ on TestMu's simulators only. TestMu signs an uploaded <code>.ipa</code> for its devices. iOS lists only the controls on screen
353
+ to the model and to steps (XCUITest also lists ones scrolled out of view).</li>
354
+ <li><strong>Secrets</strong> a workflow types are checked before a device is taken: one that is not set, or not listed, stops the
355
+ replay at once.</li>
356
+ <li><strong>A control re-drawn under a step</strong> (an alert animating in: Appium's &quot;stale element reference&quot;) is looked up again,
357
+ twice at most, besides the step's own <code>retries</code>.</li>
358
+ <li><code>mobile.appium.capabilities</code> is still added to every session, for the rare setting ForgeQE does not make.</li>
359
+ </ul>
360
+ <p>Without <code>mobile.devices</code>, the device is the one <code>mobile.appium</code> (its URL and capabilities) and <code>mobile.maestro</code>
361
+ (<code>device</code>, <code>testmu</code>) name, as before.</p>
362
+ </div>
363
+ </section>
364
+ <section class="doc" id="doc-docs-mobile-workflow-yaml-forgeqe-mobile-v1">
365
+ <h4>Workflow YAML (<code>forgeqe-mobile-v1</code>)</h4>
366
+ <div class="prose"><div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">format: forgeqe-mobile-v1
367
+ </span></span><span class="ln"><span class="cmd">name: Courier signs in
368
+ </span></span><span class="ln"><span class="cmd">app: courier
369
+ </span></span><span class="ln"><span class="cmd">timeout: 20
370
+ </span></span><span class="ln"><span class="cmd">dismiss:
371
+ </span></span><span class="ln ln--pair"><span class="cmd"> - {name: Allow, control_type: android.widget.Button}</span><span class="pad"> </span><span class="cm"><span class="h">#</span> permission dialogs, when they are in the way
372
+ </span></span><span class="ln"><span class="cmd">steps:
373
+ </span></span><span class="ln"><span class="cmd"> - op: launch
374
+ </span></span><span class="ln"><span class="cmd"> - op: type
375
+ </span></span><span class="ln"><span class="cmd"> target: {automation_id: username}
376
+ </span></span><span class="ln"><span class="cmd"> text: &quot;{{courier}}&quot;
377
+ </span></span><span class="ln"><span class="cmd"> - op: type
378
+ </span></span><span class="ln"><span class="cmd"> target: {automation_id: password}
379
+ </span></span><span class="ln"><span class="cmd"> text: &quot;{{secret:COURIER_PASSWORD}}&quot;
380
+ </span></span><span class="ln"><span class="cmd"> - op: tap
381
+ </span></span><span class="ln"><span class="cmd"> target: {name: Sign in}
382
+ </span></span><span class="ln"><span class="cmd"> - op: wait_for
383
+ </span></span><span class="ln"><span class="cmd"> target: {automation_id: progress}
384
+ </span></span><span class="ln"><span class="cmd"> gone: true
385
+ </span></span><span class="ln"><span class="cmd"> - op: scroll_to
386
+ </span></span><span class="ln"><span class="cmd"> target: {name: Deliveries}
387
+ </span></span><span class="ln"><span class="cmd"> - op: expect
388
+ </span></span><span class="ln"><span class="cmd"> target: {automation_id: status}
389
+ </span></span><span class="ln"><span class="cmd"> text: Welcome
390
+ </span></span></code></pre></div>
391
+ <ul>
392
+ <li><strong>Ops:</strong> <code>launch</code>, <code>tap</code>, <code>double_tap</code>, <code>long_press</code>, <code>type</code>, <code>expect</code>, <code>expect_image</code>, <code>swipe</code> (<code>direction</code> up,
393
+ down, left or right, optionally on a <code>target</code>: a finger moving that way, as on a carousel), <code>scroll</code> (<code>direction</code>:
394
+ which way the content moves, down to show what is further down; on the screen's scrolling view or a <code>target</code>),
395
+ <code>scroll_to</code> (scrolls until the target is on screen), <code>open_link</code> (<code>login: NAME</code>: the newest magic link that login's
396
+ site sent to its mailbox, opened on the device; Appium only), <code>set_checked</code> (<code>checked: true|false</code>: a checkbox, switch or
397
+ radio button left on or off, tapped only when it is not so already, then confirmed; <code>expect</code> takes <code>checked</code> too),
398
+ <code>drag</code> (picks up the <code>target</code> and drops it on the control
399
+ <code>to</code> names, such as a puzzle piece on its slot; Appium only, as Maestro has no drag onto a control), <code>back</code>,
400
+ <code>hide_keyboard</code>, <code>keys</code> (<code>enter</code>, <code>back</code>, <code>tab</code>, <code>delete</code>, <code>search</code>), <code>wait</code>, <code>wait_for</code>, <code>close</code>. Timeouts,
401
+ retries and <code>dismiss</code> work as in desktop workflows. Explore saves a tap on a system dialog (another package's
402
+ control, such as Android's notification prompt) under <code>dismiss</code>, not as a step, so the workflow still runs where the
403
+ dialog never shows; on Maestro, each <code>dismiss</code> target is tapped after a launch if it is there.</li>
404
+ <li><strong>Targets</strong> use the desktop keys, mapped per platform: <code>automation_id</code> is the Android resource-id (with or without the
405
+ <code>package:id/</code> prefix) or the iOS accessibility identifier; <code>name</code> is the Android text or content-desc, or the iOS
406
+ label; <code>control_type</code> is the Android class (<code>android.widget.Button</code>) or the iOS type (<code>XCUIElementTypeButton</code>);
407
+ <code>index</code> picks one of several matches. Mobile targets may also have <code>fallbacks</code> (up to 4 more targets a replay tries in
408
+ order when the first finds nothing), <code>within</code> (<code>{automation_id}</code> or <code>{name}</code>: the uniquely named parent the control
409
+ is found inside), and <code>web</code> (an element of a web page inside the app, by <code>test_id</code> with its <code>attr</code>, <code>id</code>, <code>name</code>
410
+ with its <code>tag</code>, <code>label</code>, <code>placeholder</code>, <code>tag</code> with <code>text</code>, or <code>text</code>). None of them is a query: the replay builds each
411
+ (an accessibility id, a UiSelector, an iOS predicate, CSS or XPath) from the plain values, quoting every one.
412
+ <code>tap</code>, <code>double_tap</code> and <code>long_press</code> take <code>at: [x, y]</code>, a point inside the target in thousandths of its size.</li>
413
+ </ul>
414
+ </div>
415
+ </section>
416
+ <section class="doc" id="doc-docs-mobile-appium-on-this-computer">
417
+ <h4>Appium on this computer</h4>
418
+ <div class="prose"><p>For an emulator or a phone on this computer, <code>forgeqe mobile setup</code> (or Settings › Set up › Install what's missing,
419
+ when a device in use is on this computer) installs Appium 3.9.0 with the UiAutomator2 driver (and XCUITest on a Mac)
420
+ into ForgeQE's tools folder, pinned, with no install script run. A run on a device here then starts that Appium by
421
+ itself when nothing answers at <code>mobile.appium.url</code>, on 127.0.0.1, and stops it when ForgeQE exits; an Appium already
422
+ running there (your own) is used as it is. It finds the Android SDK (<code>ANDROID_HOME</code>, else Android Studio's folder) and
423
+ Java (<code>JAVA_HOME</code>, else the one Android Studio ships), and needs Node.js 20 or later on PATH. <code>forgeqe mobile doctor</code>
424
+ says what is missing. A device cloud (TestMu AI, BrowserStack) needs none of it: its own Appium runs there.</p>
425
+ </div>
426
+ </section>
427
+ <section class="doc" id="doc-docs-mobile-record-by-hand">
428
+ <h4>Record by hand</h4>
429
+ <div class="prose"><p>Record → <strong>Mobile app</strong> in <code>forgeqe web</code> records a test with no model: pick the app and a device (one of this
430
+ computer's, or TestMu AI's or BrowserStack's), and the device's screen appears on the page with its controls outlined.</p>
431
+ <ul>
432
+ <li><strong>Tap</strong> a control on the screen and it is tapped on the device; a field opens a box to type into it (plain text, or a
433
+ saved secret by its name). <strong>Check</strong> adds a check of what a control shows now, <strong>Hold</strong> (a long press) and <strong>Wait for</strong> do
434
+ what they say (pick what a click on the screen does above it). Under the screen: scroll, swipe, Back, Enter, hide the keyboard, wait.</li>
435
+ <li>Each action is done on the device through the locator ForgeQE records for it, so a step a replay could not find is
436
+ never kept. Locators come from the app's own tree (UiAutomator2 on Android, XCUITest on iOS), ranked as Playwright
437
+ ranks a web page's: the resource id or accessibility identifier, the accessibility label, what the control is and
438
+ says, its text (a field's text and text that reads as data last). Only one that matches that control alone on the
439
+ screen is kept; alike rows are found inside their uniquely named parent, a position among them only as the last
440
+ resort; up to three more become fallbacks. Android's own ids (<code>android:id/button1</code>) come after the text. The Steps
441
+ list shows each step's locators, the one a replay uses first. A control with neither an id nor a text is not
442
+ offered; <strong>Point</strong> taps a spot where the app draws something with no control (a canvas, a chart), kept as a place inside
443
+ the smallest control there that can be found; where none can be, the tap is refused.</li>
444
+ <li>Scrolls made just before acting on a control become one <code>scroll_to</code> it. A tap on a checkbox, switch or radio button
445
+ is a <code>set_checked</code>; <strong>Check</strong> on one checks whether it is on.</li>
446
+ <li><strong>Open magic link</strong> (under the screen, for a login whose one-time codes come by email: <code>code: email</code> with its
447
+ mailbox and its <code>domains</code>) reads the newest message since the step before it (the tap that asked for the link) and
448
+ opens its link on the device, as a tap in a mail would: Android's App Link for the app's package, iOS's deep link for
449
+ its bundle. Only an https link to one of the login's sites is taken, never one with a user name. The workflow keeps
450
+ <code>open_link: {login: NAME}</code> and a replay reads the mailbox again; the link is never logged, shown or kept, and one
451
+ opened already in the run is not opened again. The app must take its site's links (an App Link or Universal Link);
452
+ the page it opens is often a web page inside the app, read as the next point says. Replay such a workflow on one
453
+ device at a time: devices replaying it together read the same mailbox and would open the same link. Only an https
454
+ link to one of the login's <code>domains</code> is taken: an exact host only, or any subdomain of a <code>https://*.</code> pattern.</li>
455
+ <li>A web page inside the app (a WebView: a sign-in, a payment, a verification page) is read as a web page when the
456
+ build lets Appium debug it (Android: <code>WebView.setWebContentsDebuggingEnabled(true)</code>; iOS: a debuggable
457
+ <code>WKWebView</code>, and on a local Android device Appium's Chromedriver for that WebView): a control there is kept by the
458
+ page's own locators (a test id, an id, a field's name, a label…), with what the screen shows as fallbacks. When the
459
+ page cannot be read, its controls are kept by what the screen shows, and the log says so once.</li>
460
+ <li>A permission prompt's answer (Android's permission controller, iOS's own alerts) goes to the workflow's <code>dismiss</code>
461
+ list, so a replay answers it only when asked.</li>
462
+ <li>A password field takes only a saved secret (<code>mobile.secrets</code>), typed from the environment; the workflow keeps
463
+ <code>{{secret:NAME}}</code>, and the value never reaches the page. Text equal to a secret is saved as its placeholder.</li>
464
+ <li>A tap on a drop-down and then on one of its items is one <code>select</code> step: the drop-down by its id and the item by the
465
+ text it shows (<code>value</code>), which a replay picks again, and Maestro does as two taps. A native <code>Spinner</code> or iOS pop-up
466
+ button is known by its kind, a custom one by the list it opens (an item of a list in a floating window on Android, of
467
+ a menu on iOS); an iOS picker wheel is chosen by its value (&quot;Choose in&quot;).</li>
468
+ <li>Stop saves <code>workflow.yaml</code>, a picture of each step with the controls it shows, and a report in
469
+ <code>.forgeqe/reports/mobile-record-…/</code>, and opens the workflow's review, as a desktop recording does: change a step's
470
+ control, add a check by clicking a control on a step's picture, make a typed value test data or a secret
471
+ (<code>mobile.secrets</code>), and replay it there (<code>forgeqe mobile replay</code>, rows from a data file).</li>
472
+ </ul>
473
+ <p>It runs through Appium on every device, so a cloud device is recorded the same way as an emulator. An Android app that
474
+ hands its first screen over at once (a splash, then a sign-in) starts fine: sessions wait for any of the app's
475
+ screens (<code>appium:appWaitActivity: &quot;*&quot;</code>, which <code>mobile.appium.capabilities</code> can change).</p>
476
+ </div>
477
+ </section>
478
+ <section class="doc" id="doc-docs-mobile-explore">
479
+ <h4>Explore</h4>
480
+ <div class="prose"><p>The model sees the goal, its steps so far, the numbered controls on screen with the text each shows, and a screenshot
481
+ when the profile takes images. It answers with one action on a control by its number (tap, long press, type), a swipe
482
+ (across the screen or on a control, such as a carousel), a drag of one control onto another, a scroll, back, a check,
483
+ or done. So it can only act on a
484
+ control that is on screen. The app's text is passed as data.</p>
485
+ <ul>
486
+ <li><strong>Checks while it works.</strong> A check records what a control shows now, as an <code>expect</code> step, so a message that proves
487
+ a step (a success dialog) is checked before it is closed. It is kept only for something the last action made appear:
488
+ a heading that was there before proves nothing, and a replay may not see it (Android lists only a dialog's controls
489
+ while the dialog is open). When the model says done, it also picks checks of the outcome from the controls' current
490
+ text, kept only when that text is really there, as on the desktop.</li>
491
+ <li><strong>Actions that change nothing.</strong> After each action the screen is compared with the one before. An action that left
492
+ it as it was is told to the model as such, is not counted as progress, and a swipe or scroll that moved nothing is
493
+ not saved. After 4 such actions in a row (or the same check again) the run stops and says why, instead of spending
494
+ the step budget.</li>
495
+ <li><strong>Gestures.</strong> On Android a swipe is a finger drag (W3C actions), kept clear of the screen's edges, where a swipe is
496
+ the system's. A scroll is a drag inside the screen's scrolling view, checked: when the content did not move (the
497
+ drag started on a carousel, which took it), it is tried again from another point. iOS uses XCUITest's own <code>swipe</code> and
498
+ <code>scroll</code>.</li>
499
+ <li><strong>Memory.</strong> A failed explore of a goal is resumed from its last action (a tap, a type), never through the swipes
500
+ and backs after it, which are the search that failed.</li>
501
+ </ul>
502
+ </div>
503
+ </section>
504
+ <section class="doc" id="doc-docs-mobile-maestro">
505
+ <h4>Maestro</h4>
506
+ <div class="prose"><p><strong>ForgeQE workflows on Maestro.</strong> <code>--driver maestro</code> writes the workflow as a Maestro flow (<code>flow.yaml</code> in the run
507
+ folder) and runs <code>maestro test</code>. Maestro's debug output gives each workflow step its result. Variables are filled in
508
+ first. Values are matched literally, so Maestro's regular expressions never see them as patterns. A secret becomes
509
+ <code>${MAESTRO_NAME}</code>, which Maestro reads from the environment ForgeQE gives it, so a secret's value never lands in the flow
510
+ file or on a command line. A value holding <code>${…}</code> is refused, because Maestro would run it as JavaScript.</p>
511
+ <p><strong>Your team's flows.</strong> <code>forgeqe mobile maestro &lt;files or folders&gt;</code> checks each flow, and every flow it runs, before
512
+ Maestro gets it:</p>
513
+ <ul>
514
+ <li>Only UI commands pass: <code>launchApp</code>, <code>tapOn</code>, <code>inputText</code>, <code>assertVisible</code>, <code>scrollUntilVisible</code>, <code>swipe</code>,
515
+ <code>extendedWaitUntil</code>, <code>runFlow</code>, <code>repeat</code>, <code>retry</code> and the like.</li>
516
+ <li>These are refused:
517
+ <ul>
518
+ <li><code>runScript</code>, <code>evalScript</code> and <code>assertTrue</code>, which run JavaScript.</li>
519
+ <li>Maestro's AI commands, which send screenshots to a service.</li>
520
+ <li><code>takeScreenshot</code>, recordings and <code>addMedia</code>, which read or write files.</li>
521
+ </ul>
522
+ </li>
523
+ <li><code>${…}</code> may only name a variable (<code>${USERNAME}</code>), never an expression.</li>
524
+ <li><code>when: {true: …}</code> is refused, because it is JavaScript.</li>
525
+ <li><code>openLink</code> takes http(s) or the app's own deep links, never <code>javascript:</code>, <code>file:</code> or <code>intent:</code>.</li>
526
+ <li><code>runFlow</code> files must be <code>.yaml</code> inside the working folder; links out of it are refused too. Nesting stops at 5 levels.</li>
527
+ </ul>
528
+ <p>A refused flow does not run, and the error names the command.</p>
529
+ </div>
530
+ </section>
531
+ <section class="doc" id="doc-docs-mobile-testmu-ai-formerly-lambdatest">
532
+ <h4>TestMu AI (formerly LambdaTest)</h4>
533
+ <div class="prose"><p>Both drivers run on TestMu's devices. Upload the app once, then use the <code>lt://</code> id it returns as the app's <code>app</code>:</p>
534
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe mobile upload courier.apk</span><span class="pad"> </span><span class="cm"><span class="h">#</span> → lt://APP… (--virtual for TestMu's emulators)
535
+ </span></span></code></pre></div>
536
+ <p>From the shell, ask in words (&quot;upload builds/courier.apk to TestMu for courier&quot;): <code>mobile_upload</code> asks first, uploads
537
+ the build (it must be inside the working folder), and saves the <code>lt://</code> id as that app's <code>app:</code> in forgeqe.yaml.</p>
538
+ <p>The user and key come from <code>LT_USERNAME</code> and <code>LT_ACCESS_KEY</code> (or the variables the config names), for example in a
539
+ <code>.env</code> file in the project folder. <code>samples/mobile-testmu/</code> is a ready project with TestMu's Wikipedia sample app.</p>
540
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">mobile:
541
+ </span></span><span class="ln"><span class="cmd"> apps:
542
+ </span></span><span class="ln"><span class="cmd"> courier: { platform: android, app_id: com.contoso.courier, app: &quot;lt://APP1016…&quot; }
543
+ </span></span><span class="ln ln--pair"><span class="cmd"> appium:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Appium on TestMu's mobile hub
544
+ </span></span><span class="ln"><span class="cmd"> url: https://mobile-hub.lambdatest.com/wd/hub
545
+ </span></span><span class="ln"><span class="cmd"> username_env: LT_USERNAME
546
+ </span></span><span class="ln"><span class="cmd"> access_key_env: LT_ACCESS_KEY
547
+ </span></span><span class="ln"><span class="cmd"> capabilities:
548
+ </span></span><span class="ln ln--pair"><span class="cmd"> &quot;LT:Options&quot;: { w3c: true, isRealMobile: true, deviceName: &quot;Pixel 8&quot;, platformVersion: &quot;14&quot;, build: nightly }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> app: added from the app's own
549
+ </span></span><span class="ln"><span class="cmd"> maestro:
550
+ </span></span><span class="ln ln--pair"><span class="cmd"> testmu:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Maestro on TestMu, through HyperExecute
551
+ </span></span><span class="ln ln--pair"><span class="cmd"> cli: /opt/hyperexecute</span><span class="pad"> </span><span class="cm"><span class="h">#</span> TestMu's hyperexecute CLI
552
+ </span></span><span class="ln ln--pair"><span class="cmd"> devices: [&quot;Pixel 8-14&quot;]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> name-version, or a pattern such as &quot;.*-.*&quot;
553
+ </span></span><span class="ln ln--pair"><span class="cmd"> real_device: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> false: TestMu's emulators
554
+ </span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> username_env: LT_USERNAME # the defaults
555
+ </span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> access_key_env: LT_ACCESS_KEY
556
+ </span></span></code></pre></div>
557
+ <ul>
558
+ <li><strong>Appium</strong> needs nothing else: the Appium driver talks to the hub with the user and key from the two variables.</li>
559
+ <li><strong>Maestro</strong> runs through HyperExecute. ForgeQE writes a HyperExecute project in the run folder and starts the CLI.
560
+ The project holds the flows in their folder layout (so <code>runFlow</code> still works), the app (an <code>lt://</code> id is passed as
561
+ the device's <code>appId</code>; a build file is uploaded with the project), a fixed setup script (Android platform tools 35.0.2
562
+ and Maestro 2.6.1 from its release, both checked against their SHA-256) and a fixed run script, and
563
+ <code>hyperexecute.yaml</code>. Team flows are checked against the allowlist first, as always. Flow file names may only use
564
+ letters, digits and <code>_ . - /</code>, because HyperExecute's shell reads them, and no folder or file may be hidden except
565
+ a top-level <code>.maestro/</code> (hidden files of the working folder never leave the machine). After the job, ForgeQE
566
+ downloads its artifacts (Maestro's command results and JUnit reports), so each step gets its own result in the
567
+ report. A job on several devices (more than one entry in <code>devices</code>, or a pattern) brings back one run per device:
568
+ the steps show the first device that failed, or the first device when all passed, and the job's page has each one.
569
+ The job's link is printed from either <code>hyperexecute.lambdatest.com</code> or <code>hyperexecute.testmu.ai</code>.</li>
570
+ <li><strong>Devices are checked first.</strong> On TestMu (Appium or Maestro) and BrowserStack (Appium), <code>replay</code>, <code>maestro</code> and
571
+ <code>explore</code> read the cloud's device list before they start (TestMu's list for the region, BrowserStack's
572
+ <code>devices.json</code>) and check each configured device, exact or a pattern. A device the cloud does not have would wait
573
+ in its queue and time out (<code>QUEUE_TIMEOUT_DEVICE_UNAVAILABLE</code>), so ForgeQE offers the devices most like it instead:
574
+ the same model on other OS versions, then the same family. In a terminal you pick one for this run; without one it
575
+ stops and names them. <code>--device &quot;Pixel 8-13&quot;</code> runs on another device this time (several, comma-separated, for
576
+ Maestro), <code>--no-device-check</code> skips the check, and <code>forgeqe mobile devices</code> lists what the cloud has. The list
577
+ says what a cloud offers in the region, not whether a device is free this minute. TestMu's emulators
578
+ (<code>real_device: false</code>, <code>isRealMobile: false</code>) are not in it and are not checked.</li>
579
+ <li><strong>Videos.</strong> TestMu records each Maestro flow as an App Automation session (its dashboard, not the HyperExecute job
580
+ page, shows the video). Each run is its own build there, and after the job ForgeQE saves each flow's recording as
581
+ <code>videos/&lt;flow&gt;.mp4</code> in the run folder, plays it in the report's Artifacts tab, and prints it with the session's
582
+ TestMu page. A video TestMu has not finished is waited for briefly; a run never fails for want of one.</li>
583
+ <li><strong>Secrets on Maestro on TestMu:</strong> a workflow that types a secret is refused there for now (HyperExecute would need
584
+ the value in its own vault). Replay it on TestMu with <code>--driver appium</code>. For the same reason, a team flow that reads
585
+ a <code>${NAME}</code> variable its own <code>env:</code> blocks do not set is refused on TestMu (locally it could come from the
586
+ environment); run it with a local <code>maestro</code>.</li>
587
+ <li>The access key is passed to the CLI as an argument. It is removed from the CLI's output and from every file in the
588
+ run folder. Neither the user name nor the key is passed to the flows' environment.</li>
589
+ <li><code>maestro</code> and the <code>hyperexecute</code> CLI are started without ForgeQE's own secrets (the model's key, service tokens) in
590
+ their environment; only the mobile engine itself holds them.</li>
591
+ <li><code>samples/mobile-testmu</code> runs all three on TestMu (Appium, Maestro with a workflow, a team flow) with TestMu's
592
+ Wikipedia sample app, once <code>LT_USERNAME</code> and <code>LT_ACCESS_KEY</code> are set.</li>
593
+ </ul>
594
+ </div>
595
+ </section>
596
+ <section class="doc" id="doc-docs-mobile-security">
597
+ <h4>Security</h4>
598
+ <div class="prose"><ul>
599
+ <li><strong>No commands from the workflow or the model.</strong> <code>app:</code> names a configured app (a platform and an id). Appium is
600
+ spoken to over HTTP, and <code>maestro</code> is started with an argument list, never a shell.</li>
601
+ <li><strong>Locators</strong> go into XPath as quoted literals, so a target cannot change the query.</li>
602
+ <li><strong>Secrets:</strong> <code>{{secret:NAME}}</code> reads only <code>mobile.secrets</code> and the environment's secrets, and ForgeQE's own keys are
603
+ refused there. Explore types a secret from its placeholder, so the model never sees the value.</li>
604
+ <li><strong>The engine's environment</strong> holds system settings, the profile's key, the listed secrets, the cloud's user and key,
605
+ and <code>JAVA_HOME</code> / <code>ANDROID_HOME</code>, nothing else.</li>
606
+ <li><strong>Cloud credentials</strong> come from the variables <code>mobile.appium.username_env</code> and <code>access_key_env</code> name; a user or key in
607
+ the URL is refused. TLS is verified as usual.</li>
608
+ <li><strong>App builds</strong> are absolute paths to an app file, https URLs, or a device cloud's own upload ids (<code>bs://</code>, <code>lt://</code>,
609
+ <code>storage:filename=</code>); <code>file://</code> and other schemes are refused.</li>
610
+ </ul>
611
+ </div>
612
+ </section>
613
+ </div>
614
+ </article>
615
+
616
+ <nav class="pager" aria-label="Previous and next">
617
+ <a class="prev" href="../area-desktop/index.html"><small>Previous</small><span>Desktop apps</span></a>
618
+ <a class="next" href="../area-setup/index.html"><small>Next</small><span>Setup and configuration</span></a>
619
+ </nav>
620
+ </main>
621
+ <aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-mobile-apps">Automate Android and iOS apps</a></li><li><a href="#doc-how_to_use-mobile-apps-android-ios">Mobile apps (Android, iOS)</a></li><li><a href="#doc-docs-mobile-forgeqe-mobile-android-and-ios-apps">ForgeQE mobile: Android and iOS apps</a></li><li><a href="#doc-docs-mobile-use">Use</a></li><li><a href="#doc-docs-mobile-apps-and-settings">Apps and settings</a></li><li><a href="#doc-docs-mobile-devices">Devices</a></li><li><a href="#doc-docs-mobile-workflow-yaml-forgeqe-mobile-v1">Workflow YAML (forgeqe-mobile-v1)</a></li><li><a href="#doc-docs-mobile-appium-on-this-computer">Appium on this computer</a></li><li><a href="#doc-docs-mobile-record-by-hand">Record by hand</a></li><li><a href="#doc-docs-mobile-explore">Explore</a></li><li><a href="#doc-docs-mobile-maestro">Maestro</a></li><li><a href="#doc-docs-mobile-testmu-ai-formerly-lambdatest">TestMu AI (formerly LambdaTest)</a></li><li><a href="#doc-docs-mobile-security">Security</a></li></ul></aside>
622
+ </div>
623
+ <footer class="foot">
624
+ <div class="container foot__row">
625
+ <a class="foot__brand" href="https://forgeqe.github.io/"><picture><source srcset="../../img/wordmark-white.webp" media="(prefers-color-scheme: dark)"><img src="../../img/wordmark.webp" alt="ForgeQE" width="160" height="76"></picture><span>AI writes the code. <em>ForgeQE proves it works.</em></span></a>
626
+ <nav aria-label="Footer"><ul><li><a href="https://forgeqe.github.io/">Product</a></li><li><a href="../index.html">Docs</a></li><li><a href="../../security/index.html">Security</a></li><li><a href="../../architecture-map/index.html">Architecture</a></li><li><a href="https://forgeqe.github.io/contact/">Contact us</a></li><li><a href="https://forgeqe.github.io/sample-report/">Sample report</a></li></ul></nav>
627
+ </div>
628
+ <p class="container foot__legal">© 2026 Capgemini · forgeqe.qualityai.co.uk · Built from ForgeQE's own docs</p>
629
+ </footer>
630
+ </body>
631
+ </html>