@capagents/forgeqe 3.1.1 → 3.1.3
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.
- package/HOW_TO_USE.md +5152 -1869
- package/README.md +155 -434
- package/THIRD_PARTY_NOTICES.md +210 -1
- package/dist/docs-site/CREDITS.md +6 -0
- package/dist/docs-site/architecture-map/index.html +1 -1
- package/dist/docs-site/docs/app-theme.css +126 -13
- package/dist/docs-site/docs/architecture/index.html +56 -530
- package/dist/docs-site/docs/architecture-reference/index.html +1781 -0
- package/dist/docs-site/docs/area-api/index.html +491 -0
- package/dist/docs-site/docs/area-automated-tests/index.html +1777 -0
- package/dist/docs-site/docs/area-browser/index.html +472 -0
- package/dist/docs-site/docs/area-data/index.html +595 -0
- package/dist/docs-site/docs/area-desktop/index.html +802 -0
- package/dist/docs-site/docs/area-mobile/index.html +683 -0
- package/dist/docs-site/docs/area-operations/index.html +1243 -0
- package/dist/docs-site/docs/area-pull-requests/index.html +290 -0
- package/dist/docs-site/docs/area-quality/index.html +427 -0
- package/dist/docs-site/docs/area-release/index.html +435 -0
- package/dist/docs-site/docs/area-setup/index.html +1595 -0
- package/dist/docs-site/docs/area-systems/index.html +191 -0
- package/dist/docs-site/docs/area-test-cases/index.html +927 -0
- package/dist/docs-site/docs/containers/index.html +168 -189
- package/dist/docs-site/docs/cost-architecture/index.html +110 -113
- package/dist/docs-site/docs/custom-agents-first-run/index.html +121 -67
- package/dist/docs-site/docs/desktop/index.html +363 -373
- package/dist/docs-site/docs/desktop-ci/index.html +39 -36
- package/dist/docs-site/docs/docs-tabs.js +56 -0
- package/dist/docs-site/docs/evidence/index.html +297 -300
- package/dist/docs-site/docs/feature-test-prompts/index.html +79 -73
- package/dist/docs-site/docs/get-started/index.html +791 -0
- package/dist/docs-site/docs/graphify/index.html +45 -48
- package/dist/docs-site/docs/guardrails/index.html +35 -23
- package/dist/docs-site/docs/index.html +18 -6729
- package/dist/docs-site/docs/mobile/index.html +223 -210
- package/dist/docs-site/docs/model-routing/index.html +84 -65
- package/dist/docs-site/docs/overview/index.html +192 -0
- package/dist/docs-site/docs/product-graph/index.html +60 -62
- package/dist/docs-site/docs/product-knowledge/index.html +24 -17
- package/dist/docs-site/docs/product-views/index.html +57 -60
- package/dist/docs-site/docs/reference/index.html +409 -0
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/using/index.html +798 -0
- package/dist/docs-site/docs/web-app/index.html +168 -111
- package/dist/docs-site/security/index.html +930 -0
- package/dist/docs-site/security/security-theme.css +161 -0
- package/dist/docs-site/security/security.js +1465 -0
- package/dist/docs-site/vendor/react-18.3.1.production.min.js +31 -0
- package/dist/docs-site/vendor/react-dom-18.3.1.production.min.js +267 -0
- package/dist/docs-site/vendor/reactflow-11.11.4.umd.js +10 -0
- package/dist/forgeqe.js +1903 -1896
- package/dist/web/THIRD_PARTY_NOTICES.md +0 -136
- package/dist/web/assets/Agent-3pV8Rwap.js +8 -0
- package/dist/web/assets/AgentWork-DAnmH0My.js +2 -0
- package/dist/web/assets/ApiTests-DW4MRFzG.js +10 -0
- package/dist/web/assets/Browse-Bd0ZZfc2.js +1 -0
- package/dist/web/assets/Chat-DnBUm_97.js +3 -0
- package/dist/web/assets/CommandPalette-B1O9aDTk.js +1 -0
- package/dist/web/assets/Compare-1v7_ca7z.js +1 -0
- package/dist/web/assets/Cost-CWrc4McH.js +1 -0
- package/dist/web/assets/Data-rWSiG4Cq.js +6 -0
- package/dist/web/assets/Desktop-3x6EQqos.js +1 -0
- package/dist/web/assets/DesktopReview-cSA10Rm3.js +1 -0
- package/dist/web/assets/Evidence-CKy3o7cw.js +1 -0
- package/dist/web/assets/Explore-CMAxWE_8.js +2 -0
- package/dist/web/assets/Features-haQchkhA.js +1 -0
- package/dist/web/assets/Flags-BaQjYi_t.js +2 -0
- package/dist/web/assets/Flaky-DUuC0qTn.js +1 -0
- package/dist/web/assets/Impact-CP0H8ygo.js +3 -0
- package/dist/web/assets/Jobs-cYxoYd3i.js +5 -0
- package/dist/web/assets/KindPage-DWW8gN5_.js +6 -0
- package/dist/web/assets/Migration-Bsm7WU1d.js +2 -0
- package/dist/web/assets/PageAgent-c95zT2PJ.js +1 -0
- package/dist/web/assets/Product-BQSiR28a.js +7 -0
- package/dist/web/assets/Production-CAv0Vtoy.js +1 -0
- package/dist/web/assets/Quality-aQPaPYQc.js +1 -0
- package/dist/web/assets/Readiness-CkknP87n.js +1 -0
- package/dist/web/assets/Record-09IsC9U-.js +1 -0
- package/dist/web/assets/Regression-BL4MfN47.js +5 -0
- package/dist/web/assets/RelationGraph-Dg4fqt7l.js +1 -0
- package/dist/web/assets/Reports-CMV1l-iS.js +2 -0
- package/dist/web/assets/Response-DTBFBeKB.js +9 -0
- package/dist/web/assets/Responsive-DBRQ9FUO.js +3 -0
- package/dist/web/assets/RunDiff-CMDrnsA3.js +1 -0
- package/dist/web/assets/Runs-Dkeu6_vZ.js +2 -0
- package/dist/web/assets/Settings-KjKm8h-_.js +21 -0
- package/dist/web/assets/Steps-HYHK9psI.js +2 -0
- package/dist/web/assets/TestCases-Cv6-OSv0.js +1 -0
- package/dist/web/assets/TestData-DbEfNlUE.js +2 -0
- package/dist/web/assets/TestDebt-DzHQIU4X.js +1 -0
- package/dist/web/assets/TestManagement-BgRTGHMT.js +1 -0
- package/dist/web/assets/Tosca-DZpHAtnH.js +3 -0
- package/dist/web/assets/WhatsNew-jp0c4WSV.js +1 -0
- package/dist/web/assets/agents-C0Jg2pN8.js +1 -0
- package/dist/web/assets/coverage-BB9BLjGz.js +5 -0
- package/dist/web/assets/dataParts-DEPK4eQE.js +3 -0
- package/dist/web/assets/diff-CcNwLCX6.js +2 -0
- package/dist/web/assets/families-gkpkloLT.js +1 -0
- package/dist/web/assets/filters-C7phIFfd.js +1 -0
- package/dist/web/assets/fold-i73P-EDV.js +1 -0
- package/dist/web/assets/head-BtTqyLlj.js +1 -0
- package/dist/web/assets/highlight-DZI39CzZ.js +4 -0
- package/dist/web/assets/index-ClFOh63x.css +2 -0
- package/dist/web/assets/index-YGWJEkAT.js +64 -0
- package/dist/web/assets/input-C2vQ9O3a.js +1 -0
- package/dist/web/assets/jsx-runtime-LKYXHABd.js +1 -0
- package/dist/web/assets/logos-BmbNTDu2.js +1 -0
- package/dist/web/assets/palette-XFlqvgZl.js +1 -0
- package/dist/web/assets/paletteCommands-DsbD2ASU.js +1 -0
- package/dist/web/assets/parts-DEVx2Sea.js +1 -0
- package/dist/web/assets/productParts-Bi-XjszL.js +1 -0
- package/dist/web/assets/qualityParts-Dbu01g7G.js +1 -0
- package/dist/web/assets/recordTest--Wr40QdN.js +1 -0
- package/dist/web/assets/rolldown-runtime-XKyaHtl9.js +1 -0
- package/dist/web/assets/route-Dg53WdFu.js +1 -0
- package/dist/web/index.html +11 -6
- package/docs/ARCHITECTURE.md +50 -563
- package/docs/ARCHITECTURE_REFERENCE.md +1484 -0
- package/docs/BASAL.md +1 -1
- package/docs/CONTAINERS.md +87 -87
- package/docs/CUSTOM_AGENTS_FIRST_RUN.md +125 -43
- package/docs/DESKTOP-CI.md +18 -3
- package/docs/DESKTOP.md +306 -286
- package/docs/EVIDENCE.md +1 -1
- package/docs/MOBILE.md +107 -75
- package/docs/MODEL_ROUTING.md +48 -15
- package/docs/PRODUCT_KNOWLEDGE.md +2 -0
- package/docs/WEB_APP.md +143 -75
- package/docs/feature-test-prompts.md +29 -16
- package/docs/user-guide.html +5402 -2269
- package/forgeqe.example.yaml +3 -3
- package/guardrails/README.md +22 -2
- package/knowledge/README.md +15 -2
- package/package.json +1 -1
- package/prompts/brain.md +1 -0
- package/prompts/page-differs.md +1 -1
- package/prompts/requests-rule.md +1 -1
- package/prompts/test-reviewer.md +1 -1
- package/prompts/test-rules.md +3 -4
- package/py/forgeqe_engine/recordsession.py +100 -24
- package/skills/web-guidance/LICENSE +202 -0
- package/skills/web-guidance/SKILL.md +76 -0
- package/skills/web-guidance/UPSTREAM +67 -0
- package/skills/web-guidance/references/accessibility/accessibility.md +585 -0
- package/skills/web-guidance/references/accessibility/accessible-error-announcement.md +302 -0
- package/skills/web-guidance/references/accessibility/accessible-generated-content.md +41 -0
- package/skills/web-guidance/references/accessibility/respect-os-text-scale.md +127 -0
- package/skills/web-guidance/references/css/responsive-design.md +16 -0
- package/skills/web-guidance/references/forms/autofill-address-form.md +86 -0
- package/skills/web-guidance/references/forms/autofill-payment-form.md +142 -0
- package/skills/web-guidance/references/forms/autofill-sign-in-form.md +145 -0
- package/skills/web-guidance/references/forms/autofill-sign-up-form.md +155 -0
- package/skills/web-guidance/references/forms/forms.md +415 -0
- package/skills/web-guidance/references/forms/ime-safe-enter-submit.md +115 -0
- package/skills/web-guidance/references/forms/required-field-feedback.md +317 -0
- package/skills/web-guidance/references/forms/select-menu-interaction.md +310 -0
- package/skills/web-guidance/references/forms/slider.md +184 -0
- package/skills/web-guidance/references/forms/sms-otp-form.md +208 -0
- package/skills/web-guidance/references/forms/switch.md +60 -0
- package/skills/web-guidance/references/forms/validate-input-after-interaction.md +406 -0
- package/skills/web-guidance/references/performance/break-up-long-tasks.md +64 -0
- package/skills/web-guidance/references/performance/identify-heavy-scripts.md +69 -0
- package/skills/web-guidance/references/performance/identify-inp-causes.md +105 -0
- package/skills/web-guidance/references/performance/interaction-paint-timing.md +200 -0
- package/skills/web-guidance/references/performance/optimize-image-priority.md +73 -0
- package/skills/web-guidance/references/performance/performance.md +384 -0
- package/skills/web-guidance/references/privacy/privacy.md +247 -0
- package/skills/web-guidance/references/security/passkey-authentication.md +218 -0
- package/skills/web-guidance/references/security/passkey-management.md +310 -0
- package/skills/web-guidance/references/security/passkey-reauthentication.md +142 -0
- package/skills/web-guidance/references/security/passkey-registration.md +186 -0
- package/skills/web-guidance/references/security/passkeys.md +39 -0
- package/skills/web-guidance/references/security/sanitize-untrusted-html.md +105 -0
- package/skills/web-guidance/references/security/secure-external-subresources.md +202 -0
- package/skills/web-guidance/references/security/security.md +390 -0
- package/skills/web-guidance/references/security/trusted-types.md +141 -0
- package/skills/web-guidance/references/security/validate-origins.md +197 -0
- package/skills/web-guidance/references/security/verify-email-ownership.md +235 -0
- package/skills/web-guidance/references/ui-atoms/position-aware-tooltips.md +173 -0
- package/skills/web-guidance/references/ui-atoms/responsive-table.md +122 -0
- package/skills/web-guidance/references/ui-atoms/viewport-aware-dropdowns.md +178 -0
- package/skills/web-guidance/references/ui-behaviors/drag-and-drop.md +108 -0
- package/skills/web-guidance/references/ui-behaviors/light-dismiss-a-dialog.md +89 -0
- package/skills/web-guidance/references/ui-behaviors/motion.md +97 -0
- package/skills/web-guidance/references/ui-behaviors/platform-controls-dismiss-dialog.md +40 -0
- package/skills/web-guidance/references/ui-behaviors/prevent-page-scroll-under-modal-dialog.md +59 -0
- package/skills/web-guidance/references/ui-behaviors/search-hidden-content.md +141 -0
- package/skills/web-guidance/references/ui-behaviors/sortable-table.md +140 -0
- package/skills/web-guidance/references/ui-components/accordion.md +343 -0
- package/skills/web-guidance/references/ui-components/breadcrumbs.md +168 -0
- package/skills/web-guidance/references/ui-components/carousel.md +206 -0
- package/skills/web-guidance/references/ui-components/checkbox.md +144 -0
- package/skills/web-guidance/references/ui-components/dialog.md +218 -0
- package/skills/web-guidance/references/ui-components/hovercard.md +391 -0
- package/skills/web-guidance/references/ui-components/menu.md +415 -0
- package/skills/web-guidance/references/ui-components/navbar.md +281 -0
- package/skills/web-guidance/references/ui-components/navigation-drawer.md +429 -0
- package/skills/web-guidance/references/ui-components/persistent-toast-notifications.md +185 -0
- package/skills/web-guidance/references/ui-components/progress.md +181 -0
- package/skills/web-guidance/references/ui-components/spinner.md +179 -0
- package/skills/web-guidance/references/ui-components/tabs.md +371 -0
- package/skills/web-guidance/references/ui-components/toolbar.md +277 -0
- package/skills/web-guidance/references/user-experience/form-factor-adaptation.md +120 -0
- package/skills/web-guidance/references/user-experience/natural-interactions.md +155 -0
- package/skills/web-guidance/references/visual-design/color.md +43 -0
- package/skills/web-guidance/references/visual-design/dark-mode.md +350 -0
- package/dist/web/assets/AgentWork-DwAI0_Of.js +0 -2
- package/dist/web/assets/ApiTests-C0vFSHmM.js +0 -10
- package/dist/web/assets/Browse-5jfdtRc5.js +0 -2
- package/dist/web/assets/Chat-B3uhI94O.js +0 -3
- package/dist/web/assets/CommandPalette-D2J4nf5y.js +0 -1
- package/dist/web/assets/Compare-CN75w1p9.js +0 -1
- package/dist/web/assets/Cost-QoxyjR95.js +0 -1
- package/dist/web/assets/Data-BAvkcBVt.js +0 -6
- package/dist/web/assets/Desktop-BXdOIalN.js +0 -1
- package/dist/web/assets/DesktopReview-Bl2SrPP0.js +0 -1
- package/dist/web/assets/Evidence-BJ_I52CD.js +0 -1
- package/dist/web/assets/Explore-D9AuyTip.js +0 -2
- package/dist/web/assets/Features-CusGMDR9.js +0 -1
- package/dist/web/assets/Flags-CycGFuUP.js +0 -2
- package/dist/web/assets/Flaky-BcSzJogN.js +0 -1
- package/dist/web/assets/Impact-CJHnyZ21.js +0 -3
- package/dist/web/assets/Jobs-4xcFzEFo.js +0 -5
- package/dist/web/assets/KindPage-BielEIej.js +0 -6
- package/dist/web/assets/Migration-NwanKpJg.js +0 -2
- package/dist/web/assets/PageAgent-CNw4NXva.js +0 -1
- package/dist/web/assets/Product-DS3LJZ4P.js +0 -7
- package/dist/web/assets/Production-D3zsyNIS.js +0 -1
- package/dist/web/assets/Quality-Ctj2YpC4.js +0 -1
- package/dist/web/assets/Readiness-DGcRr_co.js +0 -1
- package/dist/web/assets/Record-Cc-wGe_Y.js +0 -1
- package/dist/web/assets/Regression-DcsbrRa1.js +0 -5
- package/dist/web/assets/Reports-BkCn0-Sf.js +0 -2
- package/dist/web/assets/Response-BP0UwQcW.js +0 -9
- package/dist/web/assets/Responsive-C8U7dumd.js +0 -3
- package/dist/web/assets/RunDiff-BhABuhF_.js +0 -1
- package/dist/web/assets/Runs-OwdWEYBv.js +0 -2
- package/dist/web/assets/Steps-BvzbQyoD.js +0 -2
- package/dist/web/assets/TestCases-CLq_6JA5.js +0 -1
- package/dist/web/assets/TestData-B0oKAhp6.js +0 -2
- package/dist/web/assets/TestDebt-8NLQ5YV_.js +0 -1
- package/dist/web/assets/TestManagement-2LYQ7vsN.js +0 -1
- package/dist/web/assets/Tosca-DfvMpPTG.js +0 -3
- package/dist/web/assets/WhatsNew-BGFNGwqN.js +0 -1
- package/dist/web/assets/families-DYlN5v0i.js +0 -1
- package/dist/web/assets/filters-faaSnoIq.js +0 -1
- package/dist/web/assets/fold-CUjwWAK3.js +0 -1
- package/dist/web/assets/frame-BLPdAXUq.js +0 -13
- package/dist/web/assets/head-CsTxBsO0.js +0 -1
- package/dist/web/assets/index-CxiCvGZq.js +0 -78
- package/dist/web/assets/index-dOIsrzhD.css +0 -2
- package/dist/web/assets/line-icons-CwZWt93L.js +0 -1
- package/dist/web/assets/logos-dGuc1jIM.js +0 -1
- package/dist/web/assets/markdown-BI3F-SJ1.js +0 -10
- package/dist/web/assets/paletteCommands-QJiCuUEr.js +0 -1
- package/dist/web/assets/parts-CdF1f7yS.js +0 -1
- package/dist/web/assets/productParts-hNLD9fN0.js +0 -1
- package/dist/web/assets/qualityParts-CT25lBWU.js +0 -1
- package/dist/web/assets/recordTest-P792aBUt.js +0 -1
|
@@ -4,18 +4,19 @@
|
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
6
|
<title>Desktop apps · ForgeQE docs</title>
|
|
7
|
-
<meta name="description" content="
|
|
7
|
+
<meta name="description" content="ForgeQE tests web apps in Chrome.">
|
|
8
8
|
<meta name="theme-color" content="#ffffff">
|
|
9
9
|
<link rel="canonical" href="https://forgeqe.qualityai.co.uk/docs/desktop/">
|
|
10
10
|
<link rel="icon" type="image/png" href="../../img/favicon.png">
|
|
11
11
|
<link rel="stylesheet" href="../docs.css">
|
|
12
12
|
<script src="../search.js" defer></script>
|
|
13
13
|
<script src="../docs.js" defer></script>
|
|
14
|
+
<script src="../docs-tabs.js" defer></script>
|
|
14
15
|
<link rel="stylesheet" href="../../app-look.css">
|
|
15
16
|
<link rel="stylesheet" href="../app-theme.css">
|
|
16
17
|
</head>
|
|
17
18
|
<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-download" viewBox="0 0 256 256"><g fill="currentColor"><path d="M216 48v160H40V48a16 16 0 0 1 16-16h144a16 16 0 0 1 16 16" opacity=".2"/><path d="M224 144v64a8 8 0 0 1-8 8H40a8 8 0 0 1-8-8v-64a8 8 0 0 1 16 0v56h160v-56a8 8 0 0 1 16 0m-101.66 5.66a8 8 0 0 0 11.32 0l40-40a8 8 0 0 0-11.32-11.32L136 124.69V32a8 8 0 0 0-16 0v92.69L93.66 98.34a8 8 0 0 0-11.32 11.32Z"/></g></symbol><symbol id="ph-orchestrator" viewBox="0 0 256 256"><g fill="currentColor"><path d="M64 112v32a8 8 0 0 1-8 8H24a8 8 0 0 1-8-8v-32a8 8 0 0 1 8-8h32a8 8 0 0 1 8 8m144-72h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8V48a8 8 0 0 0-8-8m0 112h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8" opacity=".2"/><path d="M160 112h48a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v16h-16a24 24 0 0 0-24 24v32H72v-8a16 16 0 0 0-16-16H24a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-8h32v32a24 24 0 0 0 24 24h16v16a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v16h-16a8 8 0 0 1-8-8V88a8 8 0 0 1 8-8h16v16a16 16 0 0 0 16 16M56 144H24v-32h32zm104 16h48v48h-48Zm0-112h48v48h-48Z"/></g></symbol><symbol id="ph-browser-agent" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 56v40H32V56a8 8 0 0 1 8-8h176a8 8 0 0 1 8 8" opacity=".2"/><path d="M216 40H40a16 16 0 0 0-16 16v144a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 16v32H40V56Zm0 144H40v-96h176z"/></g></symbol><symbol id="ph-case" viewBox="0 0 256 256"><g fill="currentColor"><path d="M80 40v176H48a8 8 0 0 1-8-8V48a8 8 0 0 1 8-8Z" opacity=".2"/><path d="M184 112a8 8 0 0 1-8 8h-64a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8m-8 24h-64a8 8 0 0 0 0 16h64a8 8 0 0 0 0-16m48-88v160a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16V48a16 16 0 0 1 16-16h160a16 16 0 0 1 16 16M48 208h24V48H48Zm160 0V48H88v160z"/></g></symbol><symbol id="ph-healer" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 72v128a8 8 0 0 1-8 8H40a8 8 0 0 1-8-8V72a8 8 0 0 1 8-8h176a8 8 0 0 1 8 8" opacity=".2"/><path d="M216 56h-40v-8a24 24 0 0 0-24-24h-48a24 24 0 0 0-24 24v8H40a16 16 0 0 0-16 16v128a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V72a16 16 0 0 0-16-16M96 48a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v8H96Zm120 152H40V72h176zm-56-64a8 8 0 0 1-8 8h-16v16a8 8 0 0 1-16 0v-16h-16a8 8 0 0 1 0-16h16v-16a8 8 0 0 1 16 0v16h16a8 8 0 0 1 8 8"/></g></symbol><symbol id="ph-desktop" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 64v88H32V64a16 16 0 0 1 16-16h160a16 16 0 0 1 16 16" opacity=".2"/><path d="M208 40H48a24 24 0 0 0-24 24v112a24 24 0 0 0 24 24h72v16H96a8 8 0 0 0 0 16h64a8 8 0 0 0 0-16h-24v-16h72a24 24 0 0 0 24-24V64a24 24 0 0 0-24-24M48 56h160a8 8 0 0 1 8 8v80H40V64a8 8 0 0 1 8-8m160 128H48a8 8 0 0 1-8-8v-16h176v16a8 8 0 0 1-8 8"/></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><symbol id="ph-network" viewBox="0 0 256 256"><g fill="currentColor"><path d="M152 128a24 24 0 1 1-24-24a24 24 0 0 1 24 24" opacity=".2"/><path d="M200 152a31.84 31.84 0 0 0-19.53 6.68l-23.11-18A31.65 31.65 0 0 0 160 128c0-.74 0-1.48-.08-2.21l13.23-4.41A32 32 0 1 0 168 104c0 .74 0 1.48.08 2.21l-13.23 4.41A32 32 0 0 0 128 96a32.6 32.6 0 0 0-5.27.44L115.89 81A32 32 0 1 0 96 88a32.6 32.6 0 0 0 5.27-.44l6.84 15.4a31.92 31.92 0 0 0-8.57 39.64l-25.71 22.84a32.06 32.06 0 1 0 10.63 12l25.71-22.84a31.91 31.91 0 0 0 37.36-1.24l23.11 18A31.65 31.65 0 0 0 168 184a32 32 0 1 0 32-32m0-64a16 16 0 1 1-16 16a16 16 0 0 1 16-16M80 56a16 16 0 1 1 16 16a16 16 0 0 1-16-16M56 208a16 16 0 1 1 16-16a16 16 0 0 1-16 16m56-80a16 16 0 1 1 16 16a16 16 0 0 1-16-16m88 72a16 16 0 1 1 16-16a16 16 0 0 1-16 16"/></g></symbol><symbol id="ph-knowledge-base" viewBox="0 0 256 256"><g fill="currentColor"><path d="M48 72h64v112H48Zm142.64-33.61a8 8 0 0 0-9.5-6.21l-46.81 10a8.07 8.07 0 0 0-6.15 9.57L139.79 107l62.46-13.42Z" opacity=".2"/><path d="m231.65 194.55l-33.19-157.8a16 16 0 0 0-19-12.39l-46.81 10.06a16.08 16.08 0 0 0-12.3 19l33.19 157.8A16 16 0 0 0 169.16 224a16.3 16.3 0 0 0 3.38-.36l46.81-10.06a16.09 16.09 0 0 0 12.3-19.03M136 50.15v-.09l46.8-10l3.33 15.87L139.33 66Zm6.62 31.47l46.82-10.05l3.34 15.9L146 97.53Zm6.64 31.57l46.82-10.06l13.3 63.24l-46.82 10.06ZM216 197.94l-46.8 10l-3.33-15.87l46.8-10.07l3.33 15.85zM104 32H56a16 16 0 0 0-16 16v160a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16M56 48h48v16H56Zm0 32h48v96H56Zm48 128H56v-16h48z"/></g></symbol><symbol id="ph-scribe" viewBox="0 0 256 256"><g fill="currentColor"><path d="M208 88h-56V32Z" opacity=".2"/><path d="M181.66 146.34a8 8 0 0 1 0 11.32l-24 24a8 8 0 0 1-11.32-11.32L164.69 152l-18.35-18.34a8 8 0 0 1 11.32-11.32Zm-72-24a8 8 0 0 0-11.32 0l-24 24a8 8 0 0 0 0 11.32l24 24a8 8 0 0 0 11.32-11.32L91.31 152l18.35-18.34a8 8 0 0 0 0-11.32M216 88v128a16 16 0 0 1-16 16H56a16 16 0 0 1-16-16V40a16 16 0 0 1 16-16h96a8 8 0 0 1 5.66 2.34l56 56A8 8 0 0 1 216 88m-56-8h28.69L160 51.31Zm40 136V96h-48a8 8 0 0 1-8-8V40H56v176z"/></g></symbol><symbol id="ph-pr-reviewer" viewBox="0 0 256 256"><g fill="currentColor"><path d="M96 64a24 24 0 1 1-24-24a24 24 0 0 1 24 24m104 104a24 24 0 1 0 24 24a24 24 0 0 0-24-24" opacity=".2"/><path d="M104 64a32 32 0 1 0-40 31v66a32 32 0 1 0 16 0V95a32.06 32.06 0 0 0 24-31m-48 0a16 16 0 1 1 16 16a16 16 0 0 1-16-16m32 128a16 16 0 1 1-16-16a16 16 0 0 1 16 16m120-31v-50.37a23.85 23.85 0 0 0-7-17L163.31 56H192a8 8 0 0 0 0-16h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 16 0V67.31L189.66 105a8 8 0 0 1 2.34 5.66V161a32 32 0 1 0 16 0m-8 47a16 16 0 1 1 16-16a16 16 0 0 1-16 16"/></g></symbol><symbol id="ph-api" viewBox="0 0 256 256"><g fill="currentColor"><path d="M240 128c-64 0 0 88-64 88H80c-64 0 0-88-64-88c64 0 0-88 64-88h96c64 0 0 88 64 88" opacity=".2"/><path d="M43.18 128a29.8 29.8 0 0 1 8 10.26c4.8 9.9 4.8 22 4.8 33.74c0 24.31 1 36 24 36a8 8 0 0 1 0 16c-17.48 0-29.32-6.14-35.2-18.26c-4.8-9.9-4.8-22-4.8-33.74c0-24.31-1-36-24-36a8 8 0 0 1 0-16c23 0 24-11.69 24-36c0-11.72 0-23.84 4.8-33.74C50.68 38.14 62.52 32 80 32a8 8 0 0 1 0 16c-23 0-24 11.69-24 36c0 11.72 0 23.84-4.8 33.74A29.8 29.8 0 0 1 43.18 128M240 120c-23 0-24-11.69-24-36c0-11.72 0-23.84-4.8-33.74C205.32 38.14 193.48 32 176 32a8 8 0 0 0 0 16c23 0 24 11.69 24 36c0 11.72 0 23.84 4.8 33.74a29.8 29.8 0 0 0 8 10.26a29.8 29.8 0 0 0-8 10.26c-4.8 9.9-4.8 22-4.8 33.74c0 24.31-1 36-24 36a8 8 0 0 0 0 16c17.48 0 29.32-6.14 35.2-18.26c4.8-9.9 4.8-22 4.8-33.74c0-24.31 1-36 24-36a8 8 0 0 0 0-16"/></g></symbol><symbol id="ph-result" viewBox="0 0 256 256"><g fill="currentColor"><path d="M232 128c0 12.51-17.82 21.95-22.68 33.69c-4.68 11.32 1.42 30.65-7.78 39.85s-28.53 3.1-39.85 7.78C150 214.18 140.5 232 128 232s-22-17.82-33.69-22.68c-11.32-4.68-30.65 1.42-39.85-7.78s-3.1-28.53-7.78-39.85C41.82 150 24 140.5 24 128s17.82-22 22.68-33.69c4.68-11.31-1.42-30.65 7.78-39.85s28.54-3.1 39.85-7.78C106.05 41.82 115.5 24 128 24s22 17.82 33.69 22.68c11.32 4.68 30.65-1.42 39.85 7.78s3.1 28.53 7.78 39.85C214.18 106.05 232 115.5 232 128" opacity=".2"/><path d="M225.86 102.82c-3.77-3.94-7.67-8-9.14-11.57c-1.36-3.27-1.44-8.69-1.52-13.94c-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52c-3.56-1.47-7.63-5.37-11.57-9.14C146.28 23.51 138.44 16 128 16s-18.27 7.51-25.18 14.14c-3.94 3.77-8 7.67-11.57 9.14c-3.25 1.36-8.69 1.44-13.94 1.52c-9.76.15-20.82.31-28.51 8s-7.8 18.75-8 28.51c-.08 5.25-.16 10.67-1.52 13.94c-1.47 3.56-5.37 7.63-9.14 11.57C23.51 109.72 16 117.56 16 128s7.51 18.27 14.14 25.18c3.77 3.94 7.67 8 9.14 11.57c1.36 3.27 1.44 8.69 1.52 13.94c.15 9.76.31 20.82 8 28.51s18.75 7.85 28.51 8c5.25.08 10.67.16 13.94 1.52c3.56 1.47 7.63 5.37 11.57 9.14c6.9 6.63 14.74 14.14 25.18 14.14s18.27-7.51 25.18-14.14c3.94-3.77 8-7.67 11.57-9.14c3.27-1.36 8.69-1.44 13.94-1.52c9.76-.15 20.82-.31 28.51-8s7.85-18.75 8-28.51c.08-5.25.16-10.67 1.52-13.94c1.47-3.56 5.37-7.63 9.14-11.57c6.63-6.9 14.14-14.74 14.14-25.18s-7.51-18.27-14.14-25.18m-11.55 39.29c-4.79 5-9.75 10.17-12.38 16.52c-2.52 6.1-2.63 13.07-2.73 19.82c-.1 7-.21 14.33-3.32 17.43s-10.39 3.22-17.43 3.32c-6.75.1-13.72.21-19.82 2.73c-6.35 2.63-11.52 7.59-16.52 12.38S132 224 128 224s-9.15-4.92-14.11-9.69s-10.17-9.75-16.52-12.38c-6.1-2.52-13.07-2.63-19.82-2.73c-7-.1-14.33-.21-17.43-3.32s-3.22-10.39-3.32-17.43c-.1-6.75-.21-13.72-2.73-19.82c-2.63-6.35-7.59-11.52-12.38-16.52S32 132 32 128s4.92-9.15 9.69-14.11s9.75-10.17 12.38-16.52c2.52-6.1 2.63-13.07 2.73-19.82c.1-7 .21-14.33 3.32-17.43s10.39-3.22 17.43-3.32c6.75-.1 13.72-.21 19.82-2.73c6.35-2.63 11.52-7.59 16.52-12.38S124 32 128 32s9.15 4.92 14.11 9.69s10.17 9.75 16.52 12.38c6.1 2.52 13.07 2.63 19.82 2.73c7 .1 14.33.21 17.43 3.32s3.22 10.39 3.32 17.43c.1 6.75.21 13.72 2.73 19.82c2.63 6.35 7.59 11.52 12.38 16.52S224 124 224 128s-4.92 9.15-9.69 14.11m-40.65-43.77a8 8 0 0 1 0 11.32l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 0"/></g></symbol><symbol id="ph-speed" 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="M232 136.66A104.12 104.12 0 1 1 119.34 24a8 8 0 0 1 1.32 16A88.12 88.12 0 1 0 216 135.34a8 8 0 0 1 16 1.32M120 72v56a8 8 0 0 0 8 8h56a8 8 0 0 0 0-16h-48V72a8 8 0 0 0-16 0m40-24a12 12 0 1 0-12-12a12 12 0 0 0 12 12m36 24a12 12 0 1 0-12-12a12 12 0 0 0 12 12m24 36a12 12 0 1 0-12-12a12 12 0 0 0 12 12"/></g></symbol></svg>
|
|
19
|
+
<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-desktop" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 64v88H32V64a16 16 0 0 1 16-16h160a16 16 0 0 1 16 16" opacity=".2"/><path d="M208 40H48a24 24 0 0 0-24 24v112a24 24 0 0 0 24 24h72v16H96a8 8 0 0 0 0 16h64a8 8 0 0 0 0-16h-24v-16h72a24 24 0 0 0 24-24V64a24 24 0 0 0-24-24M48 56h160a8 8 0 0 1 8 8v80H40V64a8 8 0 0 1 8-8m160 128H48a8 8 0 0 1-8-8v-16h176v16a8 8 0 0 1-8 8"/></g></symbol></svg>
|
|
19
20
|
<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
21
|
<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
22
|
<line x1="8" x2="16" y1="21" y2="21" />
|
|
@@ -101,274 +102,336 @@
|
|
|
101
102
|
<header class="nav" id="navigation">
|
|
102
103
|
<div class="nav__bar">
|
|
103
104
|
<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="
|
|
105
|
+
<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
106
|
<div class="nav__end">
|
|
106
107
|
<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
108
|
<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
109
|
</div>
|
|
109
110
|
</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="
|
|
111
|
+
<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
112
|
</header>
|
|
112
113
|
<div class="container docs-layout">
|
|
113
114
|
<nav class="docs-side" aria-label="Docs">
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
<div class="side-group"><p class="side-head">Pages of their own</p><ul>
|
|
118
|
-
<li><a href="https://forgeqe.github.io/security/"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg><span>Security and data flows</span></a></li>
|
|
119
|
-
<li><a href="../../architecture-map/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg><span>Architecture map</span></a></li>
|
|
120
|
-
</ul></div>
|
|
121
|
-
</nav>
|
|
115
|
+
<a class="side-home" href="../index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs home</a>
|
|
116
|
+
<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" aria-current="page"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><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></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>How ForgeQE works</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="../architecture-reference/index.html"><span>Architecture reference</span></a></li><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="../graphify/index.html"><span>Reading product code</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>
|
|
117
|
+
</nav>
|
|
122
118
|
<main id="main" class="docs-main">
|
|
123
|
-
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>
|
|
119
|
+
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Desktop and mobile</p>
|
|
120
|
+
<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" aria-current="page"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><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></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>How ForgeQE works</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="../architecture-reference/index.html"><span>Architecture reference</span></a></li><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="../graphify/index.html"><span>Reading product code</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></div>
|
|
124
121
|
<h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-desktop"/></svg>Desktop apps</h1>
|
|
125
122
|
<article class="prose">
|
|
126
|
-
<p>
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
<a href="#before-first-use-on-windows">Before first use on Windows</a>.</p>
|
|
131
|
-
<p>ForgeQE drives web apps through Chrome. The desktop engine does the same for Windows thick clients (Win32, WinForms,
|
|
132
|
-
WPF, and the native parts of Electron and WebView2 apps): say what you want in plain language, UFO² does it on the live
|
|
133
|
-
app, and the run is saved as a YAML workflow that replays later without a model.</p>
|
|
134
|
-
<p>Workflows also replay on <strong>macOS and Linux</strong>, and headless on Windows, on Vercel Labs' agent-desktop. See
|
|
135
|
-
<a href="#replay-on-agent-desktop-macos-linux-and-headless-windows">Replay on agent-desktop</a>. Exploring and recording by hand
|
|
136
|
-
still need Windows.</p>
|
|
137
|
-
<h2 id="use"><a href="#use" class="hash">#</a>Use</h2>
|
|
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><code>forgeqe desktop setup --ufo # once, on Windows: the engine, pywinauto, and the pinned UFO²
|
|
139
|
-
forgeqe desktop apps # what forgeqe.yaml allows
|
|
140
|
-
forgeqe desktop explore "Create an invoice for Contoso, net 30" --app billing
|
|
141
|
-
forgeqe desktop record --app billing # or do the steps yourself: no model, no UFO
|
|
142
|
-
forgeqe desktop replay .forgeqe/reports/desktop-explore-…/workflow.yaml customer=Fabrikam
|
|
143
|
-
forgeqe desktop replay workflow.yaml --data customers.csv # once per row; the header names the variables
|
|
144
|
-
forgeqe desktop replay desktop-tests/ --junit results.xml # every workflow in a folder, results for CI
|
|
145
|
-
forgeqe desktop replay workflow.yaml --update-baselines # save new baselines for its expect_image steps
|
|
146
|
-
forgeqe desktop doctor # can this machine run replay unattended?
|
|
147
|
-
forgeqe desktop validate workflow.yaml # any OS
|
|
148
|
-
</code></pre></div>
|
|
149
|
-
<p>Or ask ForgeQE's agent in the shell or <code>forgeqe run</code>: "create an invoice for Contoso in Billing and save it as a test",
|
|
150
|
-
or "I'll show you the steps in Billing, record them". Its tools are <code>test_apps</code>, <code>desktop_explore</code>, <code>desktop_record</code>,
|
|
151
|
-
<code>desktop_replay</code> and <code>desktop_edit_workflow</code>. It asks before it starts the app or takes over the desktop, and before it
|
|
152
|
-
changes a workflow. Where it cannot ask (an MCP client), the call answers <code>needs_confirmation</code> until the user agrees.</p>
|
|
153
|
-
<p>Desktop apps come from the active environment in <code>env.yaml</code> (see HOW_TO_USE.md, "Environments and apps"), or from
|
|
154
|
-
<code>desktop.apps</code> in <code>forgeqe.yaml</code>, which works without environments:</p>
|
|
155
|
-
<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><code>desktop:
|
|
156
|
-
apps:
|
|
157
|
-
billing:
|
|
158
|
-
path: C:\Program Files\Contoso\Billing\Billing.exe
|
|
159
|
-
args: ["--profile", "test"]
|
|
160
|
-
# window: "Billing.*" # for a launcher that starts the real app and exits: connect by title
|
|
161
|
-
secrets: [BILLING_PASSWORD] # the only environment variables {{secret:…}} may read
|
|
162
|
-
heal: true # replay asks the model to re-find a control that moved (default on)
|
|
163
|
-
screenshots: true # one screenshot per replayed step (default on)
|
|
164
|
-
</code></pre></div>
|
|
165
|
-
<p>Each run writes a folder under the reports folder (<code>desktop-explore-…</code> or <code>desktop-replay-…</code>): <code>run.json</code>,
|
|
166
|
-
<code>report.html</code>, <code>steps/NNN.png</code>, and for explore <code>workflow.yaml</code>, <code>trace.json</code> and UFO's own logs in <code>ufo/</code>. A replay
|
|
167
|
-
whose steps were healed also writes <code>heals.json</code> and asks whether to write the new locators into the workflow
|
|
168
|
-
(<code>--accept-heals</code> writes them without asking; with no terminal they are never written).</p>
|
|
169
|
-
<h2 id="decisions"><a href="#decisions" class="hash">#</a>Decisions</h2>
|
|
170
|
-
<div class="tbl"><table>
|
|
123
|
+
<p>ForgeQE tests web apps in Chrome. It tests desktop thick clients the same way: Win32, WinForms, WPF, and the native parts
|
|
124
|
+
of Electron and WebView2 apps. Say what you want in plain language, ForgeQE's agent does it in the live app, and the run
|
|
125
|
+
is saved as a YAML workflow that replays later with no model.</p>
|
|
126
|
+
<div class="tbl tbl--cols-4"><table>
|
|
171
127
|
<thead>
|
|
172
|
-
<tr><th>
|
|
128
|
+
<tr><th>Task</th><th>Windows</th><th>macOS</th><th>Linux</th></tr>
|
|
173
129
|
</thead>
|
|
174
130
|
<tbody>
|
|
175
|
-
<tr><td>
|
|
176
|
-
<tr><td>
|
|
177
|
-
<tr><td>
|
|
178
|
-
<tr><td
|
|
179
|
-
<tr><td>Replay off Windows, and headless</td><td>Vercel Labs' agent-desktop (Apache-2.0), pinned to 1.2.0, as a second replay driver (<code>desktop.driver</code>) behind the same workflow, heal and memory</td><td>It reads the OS accessibility tree on macOS, Windows and Linux, acts without the mouse, and re-identifies every element before it acts, refusing a stale or ambiguous one. It has no model and no tests of its own, so ForgeQE keeps the workflow, the locator, healing and the reports.</td></tr>
|
|
180
|
-
<tr><td>Not chosen: <code>windowsagent</code></td><td>Reference only</td><td>Very early (v0.1.0), replay not built, and it exposes a model-driven <code>/shell</code> endpoint.</td></tr>
|
|
131
|
+
<tr><td data-label="Task">Explore a goal with the agent</td><td data-label="Windows">yes</td><td data-label="macOS">no</td><td data-label="Linux">no</td></tr>
|
|
132
|
+
<tr><td data-label="Task">Record your own steps</td><td data-label="Windows">yes</td><td data-label="macOS">no</td><td data-label="Linux">no</td></tr>
|
|
133
|
+
<tr><td data-label="Task">Replay a workflow</td><td data-label="Windows">yes (also headless)</td><td data-label="macOS">yes, macOS 13+</td><td data-label="Linux">yes, Ubuntu 24.04+ (X11 or Wayland)</td></tr>
|
|
134
|
+
<tr><td data-label="Task">Check a workflow without running it</td><td data-label="Windows">yes</td><td data-label="macOS">yes</td><td data-label="Linux">yes</td></tr>
|
|
181
135
|
</tbody>
|
|
182
136
|
</table></div>
|
|
137
|
+
<p>Status: the Windows runs are tested end to end (setup, replay, healing a moved control, and a whole explore with a
|
|
138
|
+
scripted model). Not yet run by the ForgeQE team: explore with a real model, and your own apps. See
|
|
139
|
+
<a href="#before-first-use-on-windows">Before first use on Windows</a>.</p>
|
|
140
|
+
<h2 id="use"><a href="#use" class="hash">#</a>Use</h2>
|
|
141
|
+
<p><strong>Setting up.</strong> Once per computer, ForgeQE downloads and sets up what desktop testing needs. On Windows, include the
|
|
142
|
+
part for exploring a goal. Off Windows, setup always includes the replay part for macOS and Linux.</p>
|
|
143
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
144
|
+
<ol>
|
|
145
|
+
<li>Open <strong>Desktop apps</strong> and the <strong>Machine and apps</strong> tab.</li>
|
|
146
|
+
<li>Press <strong>Set up</strong>.</li>
|
|
147
|
+
<li>On Windows, turn on the switch for exploring a goal if you will explore. Turn on <strong>Set it up again from scratch</strong> to
|
|
148
|
+
start over.</li>
|
|
149
|
+
<li>Press <strong>Set up</strong>.</li>
|
|
150
|
+
</ol>
|
|
151
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
152
|
+
<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 desktop setup --ufo</span><span class="pad"> </span><span class="cm"><span class="h">#</span> on Windows: replay, recording, and exploring a goal
|
|
153
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop setup</span><span class="pad"> </span><span class="cm"><span class="h">#</span> off Windows: replay for macOS and Linux
|
|
154
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop setup --agent-desktop</span><span class="pad"> </span><span class="cm"><span class="h">#</span> on Windows, to also replay headless (no mouse)
|
|
155
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop setup --force</span><span class="pad"> </span><span class="cm"><span class="h">#</span> set it up again from scratch
|
|
156
|
+
</span></span></code></pre></div>
|
|
157
|
+
</div></div><p><strong>Adding an app.</strong> Desktop apps come from the active environment in <code>env.yaml</code> (see HOW_TO_USE.md, "Environments and
|
|
158
|
+
apps"), or from <code>desktop.apps</code> in <code>forgeqe.yaml</code>, which works without environments. A workflow names an app only by its
|
|
159
|
+
name, never by a path or a command.</p>
|
|
160
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
161
|
+
<ol>
|
|
162
|
+
<li>Open <strong>Desktop apps</strong> and the <strong>Machine and apps</strong> tab.</li>
|
|
163
|
+
<li>Press <strong>Add an app</strong>.</li>
|
|
164
|
+
<li>Fill in <strong>Program</strong> (type its path, or press <strong>Browse…</strong>), <strong>Arguments</strong> (optional), <strong>Name</strong>, and <strong>What it is for</strong>
|
|
165
|
+
(optional: one line the agent reads to pick the app).</li>
|
|
166
|
+
<li>Press <strong>Add the app</strong>.</li>
|
|
167
|
+
</ol>
|
|
168
|
+
<p>Each app in the list has <strong>Change</strong> and <strong>Remove</strong> buttons. You can also add apps in <strong>Settings › Environments</strong>.</p>
|
|
169
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
170
|
+
<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 desktop apps</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the apps and secrets of the active environment and desktop:
|
|
171
|
+
</span></span></code></pre></div>
|
|
172
|
+
<p>Edit <code>forgeqe.yaml</code> (or <code>env.yaml</code>) to add one:</p>
|
|
173
|
+
<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">desktop:
|
|
174
|
+
</span></span><span class="ln"><span class="cmd"> apps:
|
|
175
|
+
</span></span><span class="ln"><span class="cmd"> billing:
|
|
176
|
+
</span></span><span class="ln"><span class="cmd"> path: C:\Program Files\Contoso\Billing\Billing.exe
|
|
177
|
+
</span></span><span class="ln"><span class="cmd"> args: ["--profile", "test"]
|
|
178
|
+
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> window: "Billing.*" # for a launcher that starts the real app and exits: connect by title
|
|
179
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> secrets: [BILLING_PASSWORD]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the only environment variables {{secret:…}} may read
|
|
180
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> heal: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> replay asks the model to re-find a control that moved (default on)
|
|
181
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> screenshots: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> one screenshot per replayed step (default on)
|
|
182
|
+
</span></span></code></pre></div>
|
|
183
|
+
<p>An app is an absolute <code>.exe</code> on Windows, an <code>.app</code> bundle on macOS (<code>/Applications/Notes.app</code>), or an executable on
|
|
184
|
+
Linux (<code>/usr/bin/gnome-calculator</code>, with <code>kind: desktop</code>).</p>
|
|
185
|
+
</div></div><p><strong>Exploring a goal.</strong> ForgeQE's agent does the goal in the app with the real mouse and keyboard, and saves the run as a
|
|
186
|
+
workflow with checks of the outcome. Windows only. Use a test machine or VM and a test account.</p>
|
|
187
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
188
|
+
<ol>
|
|
189
|
+
<li>Open <strong>Desktop apps</strong> and the <strong>Workflows</strong> tab.</li>
|
|
190
|
+
<li>Press <strong>Explore a goal</strong>.</li>
|
|
191
|
+
<li>Pick the <strong>App</strong>, type the <strong>Goal</strong> (one line, as you would ask a tester) and, optionally, a <strong>Name</strong>.</li>
|
|
192
|
+
<li>Press <strong>Start exploring</strong>.</li>
|
|
193
|
+
</ol>
|
|
194
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
195
|
+
<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"><span class="cmd">forgeqe desktop explore "Create an invoice for Contoso, net 30" --app billing
|
|
196
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop explore "…" --app billing --name "Create an invoice" --yes</span><span class="pad"> </span><span class="cm"><span class="h">#</span> --yes: start without asking
|
|
197
|
+
</span></span></code></pre></div>
|
|
198
|
+
</div></div><p><strong>Recording your own steps.</strong> When you know the steps, do them yourself: no model is used, so it costs nothing and does
|
|
199
|
+
exactly what you did. Windows only. See <a href="#recording-by-hand">Recording by hand</a>.</p>
|
|
200
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
201
|
+
<ol>
|
|
202
|
+
<li>Open <strong>Desktop apps</strong> and the <strong>Workflows</strong> tab.</li>
|
|
203
|
+
<li>Pick the app (when there are several) and press <strong>Record by hand</strong>.</li>
|
|
204
|
+
</ol>
|
|
205
|
+
<p>Or open <strong>Record</strong>, pick <strong>Desktop app</strong>, pick the app and press <strong>Record</strong>. Press <strong>Stop</strong> when done.</p>
|
|
206
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
207
|
+
<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"><span class="cmd">forgeqe desktop record --app billing --name "Create an invoice"
|
|
208
|
+
</span></span></code></pre></div>
|
|
209
|
+
</div></div><p><strong>Replaying a workflow.</strong> Replay runs the steps with no model and checks its <code>expect</code> steps. On Windows it takes over the
|
|
210
|
+
mouse and keyboard while it runs.</p>
|
|
211
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
212
|
+
<ol>
|
|
213
|
+
<li>Open <strong>Desktop apps</strong> and the <strong>Workflows</strong> tab.</li>
|
|
214
|
+
<li>Press the replay button on the workflow's row.</li>
|
|
215
|
+
<li>Fill in its <strong>Values</strong>, or pick <strong>Rows</strong> under <strong>Test data</strong> to replay once per row of a data file or kept request.</li>
|
|
216
|
+
<li>Under <strong>While it runs</strong>, choose <strong>Heal a step whose control moved</strong> and <strong>Take new image baselines</strong>.</li>
|
|
217
|
+
<li>Press <strong>Replay</strong>.</li>
|
|
218
|
+
</ol>
|
|
219
|
+
<p>The <strong>Runs</strong> tab lists each run with its <strong>Report</strong>. Its <strong>Failed</strong> filter shows failed runs, and a button on each asks
|
|
220
|
+
the agent why it failed.</p>
|
|
221
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
222
|
+
<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"><span class="cmd">forgeqe desktop replay .forgeqe/reports/desktop-explore-…/workflow.yaml customer=Fabrikam
|
|
223
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop replay workflow.yaml --data customers.csv</span><span class="pad"> </span><span class="cm"><span class="h">#</span> once per row; the header names the variables
|
|
224
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop replay desktop-tests/ --junit results.xml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> every workflow in a folder, results for CI
|
|
225
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop replay workflow.yaml --update-baselines</span><span class="pad"> </span><span class="cm"><span class="h">#</span> save new baselines for its expect_image steps
|
|
226
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop replay workflow.yaml --no-heal</span><span class="pad"> </span><span class="cm"><span class="h">#</span> do not heal a moved control
|
|
227
|
+
</span></span></code></pre></div>
|
|
228
|
+
<p><code>--data</code> takes a <code>.csv</code>, <code>.xlsx</code> or <code>.json</code> file; <code>--each-query q.sql --each-db NAME</code> takes the rows from a database
|
|
229
|
+
read instead.</p>
|
|
230
|
+
</div></div><p><strong>Accepting heals.</strong> When a control moved and replay found it again, the replay asks whether to write the new locator
|
|
231
|
+
into the workflow. Heals are offered only from a replay that passed.</p>
|
|
232
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
233
|
+
<ol>
|
|
234
|
+
<li>Open <strong>Desktop apps</strong> and the <strong>Runs</strong> tab (the <strong>Heals to accept</strong> filter lists them).</li>
|
|
235
|
+
<li>Press <strong>Accept</strong> on the run.</li>
|
|
236
|
+
</ol>
|
|
237
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
238
|
+
<p>At the end of the replay, answer the question. <code>--accept-heals</code> writes them without asking. With no terminal they are
|
|
239
|
+
never written.</p>
|
|
240
|
+
</div></div><p><strong>Checking a workflow or a machine.</strong> A workflow can be checked without running it, on any system. The machine check
|
|
241
|
+
says whether replay can run here unattended.</p>
|
|
242
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
243
|
+
<ol>
|
|
244
|
+
<li>To check a workflow: on the <strong>Workflows</strong> tab, press the check button on its row.</li>
|
|
245
|
+
<li>To check the machine: on the <strong>Machine and apps</strong> tab, press <strong>Check</strong>.</li>
|
|
246
|
+
</ol>
|
|
247
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
248
|
+
<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 desktop validate workflow.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> any system
|
|
249
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop doctor</span><span class="pad"> </span><span class="cm"><span class="h">#</span> can this machine replay unattended?
|
|
250
|
+
</span></span></code></pre></div>
|
|
251
|
+
</div></div><p><strong>Asking the agent.</strong> In a chat (the web app's <strong>New chat</strong>, <code>forgeqe start</code> or <code>forgeqe run</code>), ask: "create an invoice
|
|
252
|
+
for Contoso in Billing and save it as a test", or "I'll show you the steps in Billing, record them". The agent asks
|
|
253
|
+
before it starts the app or takes over the desktop, and before it changes a workflow. Where it cannot ask (an MCP
|
|
254
|
+
client), the call answers <code>needs_confirmation</code> until you agree.</p>
|
|
255
|
+
<p><strong>What a run keeps.</strong> Each run writes a folder under the reports folder (<code>desktop-explore-…</code> or <code>desktop-replay-…</code>):
|
|
256
|
+
<code>run.json</code>, <code>report.html</code>, <code>steps/NNN.png</code>, and for an explore <code>workflow.yaml</code> and <code>trace.json</code>. A replay whose steps
|
|
257
|
+
were healed also writes <code>heals.json</code>.</p>
|
|
183
258
|
<h2 id="how-a-run-flows"><a href="#how-a-run-flows" class="hash">#</a>How a run flows</h2>
|
|
184
|
-
<
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
▼
|
|
195
|
-
proposed locator → heals.json, written into the workflow only when accepted
|
|
196
|
-
</code></pre></div>
|
|
197
|
-
<h2 id="replay-on-agent-desktop-macos-linux-and-headless-windows"><a href="#replay-on-agent-desktop-macos-linux-and-headless-windows" class="hash">#</a>Replay on agent-desktop (macOS, Linux, and headless Windows)</h2>
|
|
198
|
-
<p><code>desktop.driver</code> picks what a workflow replays on:</p>
|
|
199
|
-
<div class="tbl"><table>
|
|
259
|
+
<ol>
|
|
260
|
+
<li><strong>Explore:</strong> ForgeQE starts the app from its entry in your settings (never through a shell). The agent does the goal
|
|
261
|
+
with the app's controls only, and every action is kept with the control's properties. The result is <code>workflow.yaml</code>.</li>
|
|
262
|
+
<li><strong>Replay:</strong> ForgeQE plays the workflow's steps with no model.</li>
|
|
263
|
+
<li><strong>Healing:</strong> when a step's control is not found, one model call picks one of the window's real controls, by number.
|
|
264
|
+
The proposed locator goes to <code>heals.json</code> and is written into the workflow only when you accept it.</li>
|
|
265
|
+
</ol>
|
|
266
|
+
<h2 id="replay-on-macos-linux-and-headless-windows"><a href="#replay-on-macos-linux-and-headless-windows" class="hash">#</a>Replay on macOS, Linux, and headless Windows</h2>
|
|
267
|
+
<p><code>desktop.driver</code> sets how a workflow replays. In the web app it is <strong>Replay on</strong>, in <strong>Settings › Desktop</strong>.</p>
|
|
268
|
+
<div class="tbl tbl--cols-3"><table>
|
|
200
269
|
<thead>
|
|
201
|
-
<tr><th><code>desktop.driver</code></th><th>
|
|
270
|
+
<tr><th><code>desktop.driver</code></th><th>How it replays</th><th>Where</th></tr>
|
|
202
271
|
</thead>
|
|
203
272
|
<tbody>
|
|
204
|
-
<tr><td><code>auto</code> (default)</td><td>
|
|
205
|
-
<tr><td><code>pywinauto</code></td><td
|
|
206
|
-
<tr><td><code>agent-desktop</code></td><td
|
|
273
|
+
<tr><td data-label="desktop.driver"><code>auto</code> (default)</td><td data-label="How it replays">the mouse and keyboard on Windows, accessibility calls elsewhere</td><td data-label="Where">any</td></tr>
|
|
274
|
+
<tr><td data-label="desktop.driver"><code>pywinauto</code></td><td data-label="How it replays">the mouse and keyboard, like a person</td><td data-label="Where">Windows</td></tr>
|
|
275
|
+
<tr><td data-label="desktop.driver"><code>agent-desktop</code></td><td data-label="How it replays">accessibility calls, with no mouse and no focus</td><td data-label="Where">macOS 13+, Windows 10 1809+, Ubuntu 24.04+ (X11 or Wayland)</td></tr>
|
|
207
276
|
</tbody>
|
|
208
277
|
</table></div>
|
|
209
|
-
<
|
|
210
|
-
|
|
211
|
-
forgeqe desktop
|
|
212
|
-
|
|
213
|
-
</code
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
An action that may have landed (a click whose result agent-desktop could not confirm) is never sent again, so a replay
|
|
223
|
-
never submits twice.</p>
|
|
278
|
+
<p>In <strong>Settings › Desktop</strong> › <strong>Replay on</strong> the same choices read <strong>Automatic</strong>, <strong>The mouse and keyboard</strong> and
|
|
279
|
+
<strong>Accessibility calls, no mouse</strong>.</p>
|
|
280
|
+
<p>Set up and check the machine as in <a href="#use">Use</a> (<code>forgeqe desktop setup</code>, then <code>forgeqe desktop doctor</code>, or <strong>Set up</strong>
|
|
281
|
+
and <strong>Check</strong> in the web app). Off Windows, the check also shows the platform and its permissions.</p>
|
|
282
|
+
<p>The workflow, its variables, secrets, checks, healing, app memory, reports and <code>--junit</code> are the same either way. A
|
|
283
|
+
workflow recorded on Windows replays with accessibility calls as it is: its <code>control_type</code> is matched to the roles the
|
|
284
|
+
system gives that control (a <code>Button</code> with a toggle is a <code>switch</code>), and <code>automation_id</code> to the control's developer id
|
|
285
|
+
(AutomationId, AXIdentifier, or the DOM id). A workflow written for macOS or Linux can name those roles (<code>textfield</code>,
|
|
286
|
+
<code>checkbox</code>) as its <code>control_type</code>.</p>
|
|
287
|
+
<p>How a step runs with accessibility calls: the locator finds the control in a fresh snapshot of the app's own windows,
|
|
288
|
+
and refuses when several match. The control is checked again against the live window before the action: one that
|
|
289
|
+
changed in between is refused, never guessed. An action that may have landed (a click whose result could not be
|
|
290
|
+
confirmed) is never sent again, so a replay never submits twice.</p>
|
|
224
291
|
<p>What it does not do:</p>
|
|
225
292
|
<ul>
|
|
226
|
-
<li><code>double_click</code> moves the mouse: it replays only with <code>desktop.headed: true</code
|
|
227
|
-
|
|
228
|
-
<code>
|
|
229
|
-
<li>
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
<p>Apps in env.yaml or <code>desktop.apps</code>: an absolute <code>.exe</code> on Windows, an <code>.app</code> bundle on macOS (<code>/Applications/Notes.app</code>;
|
|
236
|
-
its <code>CFBundleExecutable</code> is started, and only when it is a file inside the bundle), or an executable on Linux
|
|
237
|
-
(<code>/usr/bin/gnome-calculator</code>, with <code>kind: desktop</code>).</p>
|
|
238
|
-
<p>What reaches agent-desktop (<code>py/forgeqe_desktop/agentdesktop_driver.py</code>):</p>
|
|
239
|
-
<ul>
|
|
240
|
-
<li>Only its own native executable, set up by ForgeQE at exactly 1.2.0 from npm (whose install step checks the release's
|
|
241
|
-
SHA-256), started with an argument array: never its Node launcher, never a shell. The driver checks the version and
|
|
242
|
-
refuses another.</li>
|
|
243
|
-
<li>Its environment is system settings only: no model key, no <code>desktop.secrets</code>, no ForgeQE variable.</li>
|
|
244
|
-
<li>Typed text, secrets included, goes on stdin (<code>set-value --stdin</code>), never in the command line other programs can see.</li>
|
|
245
|
-
<li>Refs and window ids only in their own shapes; a <code>select</code> value after <code>--</code>, so it is never read as a flag.</li>
|
|
246
|
-
<li>Its state (snapshots hold the app's text) is in a private folder for the run (mode 0700), removed when the run ends.</li>
|
|
247
|
-
<li>Its replies are read as untrusted: anything but its JSON envelope, or over 64 MB, is refused, and its error text is
|
|
248
|
-
cut to one plain line before it reaches a report or the heal prompt.</li>
|
|
249
|
-
</ul>
|
|
250
|
-
<h2 id="one-model-config-llmsjson--ufo"><a href="#one-model-config-llmsjson--ufo" class="hash">#</a>One model config: <code>llms.json</code> → UFO</h2>
|
|
251
|
-
<p>UFO picks its model client by <code>API_TYPE</code> through <code>ufo.llm.base.BaseService.get_service</code>, which every model call goes
|
|
252
|
-
through (<code>ufo/llm/llm_call.py</code>). The adapter adds the type <code>forgeqe</code>:</p>
|
|
253
|
-
<ul>
|
|
254
|
-
<li><code>write_ufo_config</code> writes UFO's <code>config/ufo/agents.yaml</code> from its template, with <code>API_TYPE: forgeqe</code>, the model's name,
|
|
255
|
-
and no endpoint and no key, for <code>HOST_AGENT</code>, <code>APP_AGENT</code>, <code>BACKUP_AGENT</code> and <code>EVALUATION_AGENT</code>.</li>
|
|
256
|
-
<li><code>ufo_bridge.install</code> makes <code>get_service("forgeqe", …)</code> return <code>ForgeQEService</code>, which calls the profile through the
|
|
257
|
-
<code>openai</code> SDK (<code>models.py</code>): <code>azure</code> (key or <code>auth: entra</code>), <code>openai</code>, <code>openai_compatible</code> (key or Entra), and <code>ollama</code>
|
|
258
|
-
through its OpenAI-compatible <code>/v1</code>. Keys, Azure endpoints and Entra use the browser engine's own helpers
|
|
259
|
-
(<code>forgeqe_engine.llm</code>), so a profile means the same thing in both. Keys stay in environment variables.</li>
|
|
260
|
-
<li>Each call's time and tokens go to ForgeQE's usage ledger as the "desktop agent" (counts only, never the prompt).</li>
|
|
293
|
+
<li><code>double_click</code> moves the mouse: it replays only with <code>desktop.headed: true</code> (<strong>Let replay use the mouse and
|
|
294
|
+
keyboard</strong> in <strong>Settings › Desktop</strong>).</li>
|
|
295
|
+
<li><code>keys</code> are real key presses sent to the app's window. A workflow recorded on Windows says <code>ctrl+s</code>; on macOS write
|
|
296
|
+
<code>cmd+s</code> instead.</li>
|
|
297
|
+
<li>Identical controls (two buttons named OK in one window) cannot be told apart on Windows and Linux. Give the step a
|
|
298
|
+
control that is unique in its window.</li>
|
|
299
|
+
<li>On macOS, grant Accessibility (System Settings › Privacy & Security › Accessibility) to the app that runs forgeqe
|
|
300
|
+
(Terminal, iTerm2, VS Code). <code>forgeqe desktop doctor</code> shows the state. On Linux, Chromium and Qt apps need their
|
|
301
|
+
accessibility switched on to be seen.</li>
|
|
261
302
|
</ul>
|
|
303
|
+
<p>What ForgeQE keeps safe: typed text, secrets included, never appears on a command line other programs can see; no
|
|
304
|
+
model key or secret reaches the replay's helper; the app's text from each run is kept in a private folder that is
|
|
305
|
+
removed when the run ends.</p>
|
|
306
|
+
<h2 id="the-model-explore-and-healing-use"><a href="#the-model-explore-and-healing-use" class="hash">#</a>The model explore and healing use</h2>
|
|
307
|
+
<p>Explore and healing use the same model profiles as the browser agent, from <code>llms.json</code> (Settings › Models): Azure
|
|
308
|
+
OpenAI (key or Microsoft Entra ID), OpenAI, an OpenAI-compatible server, or Ollama. There is no separate model setting
|
|
309
|
+
for desktop. Keys stay in environment variables. Each call's time and tokens are counted in ForgeQE's usage (counts
|
|
310
|
+
only, never the prompt).</p>
|
|
262
311
|
<p>Explore sends screenshots, so its profile must take images: <code>"vision": true</code> or <code>false</code> on the profile says so; without
|
|
263
312
|
it, <code>ollama</code> profiles are refused and others accepted. Healing sends a screenshot only to a profile that takes images.</p>
|
|
264
|
-
<p>
|
|
265
|
-
<code>deployment</code> name, or <code>"reasoning": true</code> on the profile) gets
|
|
266
|
-
|
|
267
|
-
call is sent again without it, and later calls to that model leave it out (<code>py/forgeqe_engine/model_params.py</code>). The
|
|
268
|
-
browser agent does the same.</p>
|
|
313
|
+
<p>Request parameters suit the model by themselves: a reasoning model (o1, o3, o4, gpt-5, by the profile's <code>model</code> or
|
|
314
|
+
<code>deployment</code> name, or <code>"reasoning": true</code> on the profile) gets no temperature from the first call, and when the API
|
|
315
|
+
refuses a parameter the call is sent again without it, and later calls to that model leave it out.</p>
|
|
269
316
|
<h2 id="workflow-yaml-forgeqe-desktop-v1"><a href="#workflow-yaml-forgeqe-desktop-v1" class="hash">#</a>Workflow YAML (<code>forgeqe-desktop-v1</code>)</h2>
|
|
270
|
-
<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><code>format: forgeqe-desktop-v1
|
|
271
|
-
name: Create an invoice
|
|
272
|
-
app: billing
|
|
273
|
-
variables:
|
|
274
|
-
customer: Contoso
|
|
275
|
-
steps:
|
|
276
|
-
- op: launch
|
|
277
|
-
- op: click
|
|
278
|
-
target: {automation_id: btnNewInvoice, control_type: Button, name: New invoice}
|
|
279
|
-
- op: type
|
|
280
|
-
target: {automation_id: txtCustomer, control_type: Edit}
|
|
281
|
-
text: "{{customer}}"
|
|
282
|
-
- op: type
|
|
283
|
-
target: {automation_id: txtPassword, control_type: Edit}
|
|
284
|
-
text: "{{secret:BILLING_PASSWORD}}"
|
|
285
|
-
- op: select
|
|
286
|
-
target: {automation_id: cmbTerms, control_type: ComboBox}
|
|
287
|
-
value: Net 30
|
|
288
|
-
- op: keys
|
|
289
|
-
keys: ctrl+s
|
|
290
|
-
- op: expect
|
|
291
|
-
target: {automation_id: lblStatus}
|
|
292
|
-
text: Saved
|
|
293
|
-
- op: close
|
|
294
|
-
</code></pre></div>
|
|
317
|
+
<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-desktop-v1
|
|
318
|
+
</span></span><span class="ln"><span class="cmd">name: Create an invoice
|
|
319
|
+
</span></span><span class="ln ln--pair"><span class="cmd">app: billing</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a name from desktop.apps, never a path or a command
|
|
320
|
+
</span></span><span class="ln"><span class="cmd">variables:
|
|
321
|
+
</span></span><span class="ln"><span class="cmd"> customer: Contoso
|
|
322
|
+
</span></span><span class="ln"><span class="cmd">steps:
|
|
323
|
+
</span></span><span class="ln"><span class="cmd"> - op: launch
|
|
324
|
+
</span></span><span class="ln"><span class="cmd"> - op: click
|
|
325
|
+
</span></span><span class="ln"><span class="cmd"> target: {automation_id: btnNewInvoice, control_type: Button, name: New invoice}
|
|
326
|
+
</span></span><span class="ln"><span class="cmd"> - op: type
|
|
327
|
+
</span></span><span class="ln"><span class="cmd"> target: {automation_id: txtCustomer, control_type: Edit}
|
|
328
|
+
</span></span><span class="ln"><span class="cmd"> text: "{{customer}}"
|
|
329
|
+
</span></span><span class="ln"><span class="cmd"> - op: type
|
|
330
|
+
</span></span><span class="ln"><span class="cmd"> target: {automation_id: txtPassword, control_type: Edit}
|
|
331
|
+
</span></span><span class="ln"><span class="cmd"> text: "{{secret:BILLING_PASSWORD}}"
|
|
332
|
+
</span></span><span class="ln"><span class="cmd"> - op: select
|
|
333
|
+
</span></span><span class="ln"><span class="cmd"> target: {automation_id: cmbTerms, control_type: ComboBox}
|
|
334
|
+
</span></span><span class="ln"><span class="cmd"> value: Net 30
|
|
335
|
+
</span></span><span class="ln"><span class="cmd"> - op: keys
|
|
336
|
+
</span></span><span class="ln"><span class="cmd"> keys: ctrl+s
|
|
337
|
+
</span></span><span class="ln"><span class="cmd"> - op: expect
|
|
338
|
+
</span></span><span class="ln"><span class="cmd"> target: {automation_id: lblStatus}
|
|
339
|
+
</span></span><span class="ln"><span class="cmd"> text: Saved
|
|
340
|
+
</span></span><span class="ln"><span class="cmd"> - op: close
|
|
341
|
+
</span></span></code></pre></div>
|
|
295
342
|
<ul>
|
|
296
343
|
<li><strong>Ops:</strong> <code>launch</code>, <code>click</code>, <code>double_click</code>, <code>type</code>, <code>select</code>, <code>keys</code>, <code>expect</code>, <code>expect_image</code>, <code>wait</code> (at most
|
|
297
344
|
60 s), <code>wait_for</code>, <code>close</code>.</li>
|
|
298
|
-
<li><strong>Locators</strong> use
|
|
299
|
-
<code>index</code> (when several match), and <code>path</code> (the ancestors' <code>control_type</code> and <code>name</code>). A target needs an
|
|
345
|
+
<li><strong>Locators</strong> use the control's properties, never screen coordinates: <code>automation_id</code>, <code>name</code>, <code>control_type</code>,
|
|
346
|
+
<code>class_name</code>, <code>index</code> (when several match), and <code>path</code> (the ancestors' <code>control_type</code> and <code>name</code>). A target needs an
|
|
300
347
|
<code>automation_id</code> or a <code>name</code>. Replay looks in the launched app's own windows only.</li>
|
|
301
348
|
<li><strong>Variables:</strong> <code>{{name}}</code> from the workflow's <code>variables</code> or <code>name=value</code> on the command line; <code>{{secret:NAME}}</code> from
|
|
302
349
|
the environment, only for names in <code>desktop.secrets</code>. A secret ForgeQE itself uses (a model key, a tracker token) is
|
|
303
|
-
refused there. Values are
|
|
350
|
+
refused there. Values are filled in once and never expanded again. Targets take <code>{{name}}</code> too (a CSV row's
|
|
304
351
|
<code>{{customer}}</code> as the control to click), never a secret.</li>
|
|
305
352
|
<li><strong>Keys:</strong> <code>ctrl</code>, <code>shift</code> and <code>alt</code> with one named key or character (<code>ctrl+s</code>, <code>alt+f4</code>, <code>enter</code>, <code>f5</code>). The Windows
|
|
306
353
|
and context-menu keys are refused: Win+R followed by typing runs any command.</li>
|
|
307
|
-
<li><strong>Typing</strong> is literal:
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
line
|
|
311
|
-
<li><strong>Only the app gets the input.</strong>
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
354
|
+
<li><strong>Typing</strong> is literal: special key characters in the text are typed as they are. On Windows a <code>type</code> step clears the
|
|
355
|
+
field and types the text key by key, like a person: some controls show text set directly but act only on typed input
|
|
356
|
+
(the Windows Save and Open dialogs keep their default file name). Text with line breaks or tabs is set instead, so a
|
|
357
|
+
line break never presses Enter in a form.</li>
|
|
358
|
+
<li><strong>Only the app gets the input.</strong> Before a click, <code>type</code> or <code>keys</code>, the app's window is brought forward, and nothing is
|
|
359
|
+
sent while another program's window covers the point or keeps the keyboard: the step fails and says so. <code>keys</code> go to
|
|
360
|
+
the app's open dialog, not its main window behind it. A <code>dismiss</code> control that could not be clicked is named in the
|
|
361
|
+
step's error.</li>
|
|
315
362
|
</ul>
|
|
316
363
|
<h2 id="recording-by-hand"><a href="#recording-by-hand" class="hash">#</a>Recording by hand</h2>
|
|
317
|
-
<p>When you know the steps, do them yourself instead of describing a goal: no model
|
|
318
|
-
|
|
319
|
-
<
|
|
320
|
-
|
|
321
|
-
<p>ForgeQE starts the app and watches the mouse and keyboard (low-level Windows hooks), asking UI Automation which control
|
|
322
|
-
each click and key went to. Do the steps, then:</p>
|
|
364
|
+
<p>When you know the steps, do them yourself instead of describing a goal: no model is involved, so it costs nothing and
|
|
365
|
+
does exactly what you did. Start it as in <a href="#use">Use</a> ("Recording your own steps").</p>
|
|
366
|
+
<p>ForgeQE starts the app and watches the mouse and keyboard, asking Windows which control each click and key went to. Do
|
|
367
|
+
the steps, then:</p>
|
|
323
368
|
<ul>
|
|
324
369
|
<li><strong>Ctrl+Shift+F11</strong> with the mouse over a control adds a check: an <code>expect</code> step with the text it shows now (a
|
|
325
370
|
status message, a saved total). Add one at the end, so the replay tests the outcome, not only the steps.</li>
|
|
326
|
-
<li><strong>Ctrl+Shift+F12</strong>, or closing the app, finishes. The
|
|
371
|
+
<li><strong>Ctrl+Shift+F12</strong>, or closing the app, finishes (in the web app, <strong>Stop</strong> too). The terminal shows each step as it
|
|
372
|
+
is recorded.</li>
|
|
327
373
|
</ul>
|
|
328
374
|
<p>What becomes a step:</p>
|
|
329
|
-
<div class="tbl"><table>
|
|
375
|
+
<div class="tbl tbl--cols-2"><table>
|
|
330
376
|
<thead>
|
|
331
377
|
<tr><th>You do</th><th>Step</th></tr>
|
|
332
378
|
</thead>
|
|
333
379
|
<tbody>
|
|
334
|
-
<tr><td>Click a control (two quick clicks: <code>double_click</code>)</td><td><code>click</code> with its AutomationId, name and control type</td></tr>
|
|
335
|
-
<tr><td>Pick an item in a drop-down</td><td><code>select</code> on the drop-down, with the item's name</td></tr>
|
|
336
|
-
<tr><td>Type into a field (corrections and pastes included)</td><td>one <code>type</code> with the field's text when you move on, read from the field</td></tr>
|
|
337
|
-
<tr><td>A key chord outside a text field (<code>ctrl+s</code>, <code>enter</code>, <code>f5</code>)</td><td><code>keys</code></td></tr>
|
|
338
|
-
<tr><td>Ctrl+Shift+F11 over a control</td><td><code>expect</code> with its text</td></tr>
|
|
380
|
+
<tr><td data-label="You do">Click a control (two quick clicks: <code>double_click</code>)</td><td data-label="Step"><code>click</code> with its AutomationId, name and control type</td></tr>
|
|
381
|
+
<tr><td data-label="You do">Pick an item in a drop-down</td><td data-label="Step"><code>select</code> on the drop-down, with the item's name</td></tr>
|
|
382
|
+
<tr><td data-label="You do">Type into a field (corrections and pastes included)</td><td data-label="Step">one <code>type</code> with the field's text when you move on, read from the field</td></tr>
|
|
383
|
+
<tr><td data-label="You do">A key chord outside a text field (<code>ctrl+s</code>, <code>enter</code>, <code>f5</code>)</td><td data-label="Step"><code>keys</code></td></tr>
|
|
384
|
+
<tr><td data-label="You do">Ctrl+Shift+F11 over a control</td><td data-label="Step"><code>expect</code> with its text</td></tr>
|
|
339
385
|
</tbody>
|
|
340
386
|
</table></div>
|
|
341
387
|
<ul>
|
|
342
388
|
<li><strong>Passwords:</strong> a password field is never read; its step types <code>{{secret:NAME}}</code> (the one name in <code>desktop.secrets</code>,
|
|
343
|
-
or <code>&
|
|
389
|
+
or <code><APP>_PASSWORD</code>, which the result tells you to set). Text equal to a <code>desktop.secrets</code> value is written as its
|
|
344
390
|
placeholder. The typed characters themselves are never kept, only the field's text when you move on.</li>
|
|
345
|
-
<li><strong>Only the app:</strong> clicks and keys outside the app
|
|
346
|
-
|
|
347
|
-
<li><strong>A click that closes a dialog</strong> (OK after typing a password) is
|
|
348
|
-
under it and reads the field you typed in, so neither is lost when the dialog goes. Typed characters are looked up
|
|
349
|
-
once per run of typing, not once per key.</li>
|
|
391
|
+
<li><strong>Only the app:</strong> clicks and keys outside the app are not recorded; nor are the Windows and menu keys, or controls
|
|
392
|
+
with neither an AutomationId nor a name. The result lists what was left out.</li>
|
|
393
|
+
<li><strong>A click that closes a dialog</strong> (OK after typing a password) is still recorded, with the field you typed in.</li>
|
|
350
394
|
<li><strong>A cell in a list or grid row</strong> is recorded inside its row (<code>path</code>: the row's type and name), since every row has a
|
|
351
395
|
cell like it (a password column's <code>********</code>).</li>
|
|
352
|
-
<li>The run folder has <code>workflow.yaml</code>, <code>run.json</code
|
|
353
|
-
<code>
|
|
396
|
+
<li>The run folder has <code>workflow.yaml</code>, <code>run.json</code>, <code>report.html</code>, a picture of each step with the controls it shows
|
|
397
|
+
(<code>steps/NNN.png</code> and <code>.json</code>), and <code>video.mp4</code> with <code>desktop.video: true</code>.</li>
|
|
398
|
+
</ul>
|
|
399
|
+
<h2 id="reviewing-a-recording-web-app"><a href="#reviewing-a-recording-web-app" class="hash">#</a>Reviewing a recording (web app)</h2>
|
|
400
|
+
<p>In the web app only: a recording made from <strong>Record › Desktop app</strong> (Windows) opens in a review when you stop. Any other
|
|
401
|
+
workflow opens in the same review from the <strong>Workflows</strong> tab of <strong>Desktop apps</strong> (the open button on its row). It has
|
|
402
|
+
three tabs:</p>
|
|
403
|
+
<ul>
|
|
404
|
+
<li><strong>Steps</strong>: each step with its picture, as recorded or on the last replay. Click a control on a picture to add a
|
|
405
|
+
check that it shows its text (or that it is there). <strong>Change step N</strong> changes a step's control, text or seconds,
|
|
406
|
+
or removes it (never the first, which starts the app). <strong>+</strong> after a step adds: <strong>Check a control shows a text</strong>,
|
|
407
|
+
<strong>Check a control is there</strong>, <strong>Wait for a control</strong>, <strong>Wait until a control is gone</strong>, <strong>Wait some seconds</strong>, or
|
|
408
|
+
<strong>Press keys</strong>. Each change is shown first and written at the version shown.</li>
|
|
409
|
+
<li><strong>Test data</strong>: where each typed or chosen value comes from: <strong>As typed</strong>, <strong>Test data</strong> (a variable of the workflow),
|
|
410
|
+
or <strong>Secret</strong> (one of <code>desktop.secrets</code>; what was typed then leaves the workflow). Press <strong>Save</strong>.</li>
|
|
411
|
+
<li><strong>Last run</strong>: <strong>Replay</strong> with the values above or once for each row of a data file or kept request, with <strong>Heal a
|
|
412
|
+
step whose control moved</strong> and <strong>Take new image baselines</strong>; its result, report and heals to <strong>Accept</strong>.</li>
|
|
354
413
|
</ul>
|
|
414
|
+
<p><strong>Improve</strong> asks the agent what to fix or add; it changes the workflow only after showing you the change. A mobile
|
|
415
|
+
recording opens in the same review.</p>
|
|
416
|
+
<p>At a terminal, the same changes are made by editing the workflow file, or by asking the agent in a chat (see the next
|
|
417
|
+
section).</p>
|
|
355
418
|
<h2 id="fixing-a-workflow-from-chat"><a href="#fixing-a-workflow-from-chat" class="hash">#</a>Fixing a workflow from chat</h2>
|
|
356
|
-
<p>When a replayed step fails because the app was slow or a dialog was in the way, ForgeQE's agent
|
|
357
|
-
|
|
358
|
-
it, a dialog button in <code>dismiss</code>, a healed locator, a corrected text), shows you the diff,
|
|
359
|
-
when you agree. For example, after "step 4 timed out while the invoice list loaded":</p>
|
|
360
|
-
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre><code>Change invoice.yaml?
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
- op: click
|
|
364
|
-
+ target: {automation_id: btnPost}
|
|
365
|
-
+ retries: 2
|
|
366
|
-
</code></pre></div>
|
|
419
|
+
<p>When a replayed step fails because the app was slow or a dialog was in the way, ask ForgeQE's agent to fix it, in a web
|
|
420
|
+
chat (or <strong>Improve</strong> on the workflow) or in <code>forgeqe start</code>. It proposes the change (a longer <code>timeout</code> or <code>retries</code> on
|
|
421
|
+
the step, a <code>wait_for</code> before it, a dialog button in <code>dismiss</code>, a healed locator, a corrected text), shows you the diff,
|
|
422
|
+
and writes the file only when you agree. For example, after "step 4 timed out while the invoice list loaded":</p>
|
|
423
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">Change invoice.yaml?
|
|
424
|
+
</span></span><span class="ln"><span class="cmd">• new wait_for step before step 4
|
|
425
|
+
</span></span><span class="ln"><span class="cmd">• step 4: retries 2
|
|
426
|
+
</span></span><span class="ln"><span class="cmd"> - op: click
|
|
427
|
+
</span></span><span class="ln"><span class="cmd"> + target: {automation_id: btnPost}
|
|
428
|
+
</span></span><span class="ln"><span class="cmd"> + retries: 2
|
|
429
|
+
</span></span></code></pre></div>
|
|
367
430
|
<ul>
|
|
368
|
-
<li>Each change has a fixed shape (
|
|
369
|
-
|
|
370
|
-
<li>The changed workflow is checked
|
|
371
|
-
|
|
431
|
+
<li>Each change has a fixed shape (set or unset a setting, change, insert or remove a step, add a dialog to <code>dismiss</code>,
|
|
432
|
+
set a variable); step numbers are the replay report's. Anything else is refused.</li>
|
|
433
|
+
<li>The changed workflow is checked before it is shown; one that would not run is not offered. Comments and layout are
|
|
434
|
+
kept.</li>
|
|
372
435
|
<li>The old text is kept in the reports folder (<code>desktop-edits/</code>), and a file that changed since the edit was proposed is
|
|
373
436
|
not overwritten.</li>
|
|
374
437
|
<li>The workflow must be a <code>.yaml</code> inside the working folder or the reports folder.</li>
|
|
@@ -376,26 +439,26 @@ not overwritten.</li>
|
|
|
376
439
|
<h2 id="waits-retries-and-dialogs"><a href="#waits-retries-and-dialogs" class="hash">#</a>Waits, retries and dialogs</h2>
|
|
377
440
|
<p>Real apps are slow in places: a splash screen, a form that loads its data, a "Tip of the day" or "Save changes?"
|
|
378
441
|
dialog. A workflow says how to wait for them, without fixed <code>wait</code> steps:</p>
|
|
379
|
-
<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><code>timeout: 20
|
|
380
|
-
retries: 1
|
|
381
|
-
dismiss
|
|
382
|
-
- {name: OK, control_type: Button, automation_id: btnTipClose}
|
|
383
|
-
- {name: "Don't Save", control_type: Button}
|
|
384
|
-
steps:
|
|
385
|
-
- op: launch
|
|
386
|
-
timeout: 90
|
|
387
|
-
- op: wait_for
|
|
388
|
-
target: {automation_id: splashForm}
|
|
389
|
-
gone: true
|
|
390
|
-
timeout: 120
|
|
391
|
-
- op: wait_for
|
|
392
|
-
target: {automation_id: lblStatus}
|
|
393
|
-
text: Ready
|
|
394
|
-
- op: click
|
|
395
|
-
target: {automation_id: btnPost}
|
|
396
|
-
timeout: 60
|
|
397
|
-
retries: 3
|
|
398
|
-
</code></pre></div>
|
|
442
|
+
<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--pair"><span class="cmd">timeout: 20</span><span class="pad"> </span><span class="cm"><span class="h">#</span> seconds a step waits for its control (default 10, at most 300)
|
|
443
|
+
</span></span><span class="ln ln--pair"><span class="cmd">retries: 1</span><span class="pad"> </span><span class="cm"><span class="h">#</span> tries a failed action again, after a short pause (default 0, at most 5)
|
|
444
|
+
</span></span><span class="ln ln--pair"><span class="cmd">dismiss:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> clicked whenever one of them is in the way
|
|
445
|
+
</span></span><span class="ln"><span class="cmd"> - {name: OK, control_type: Button, automation_id: btnTipClose}
|
|
446
|
+
</span></span><span class="ln"><span class="cmd"> - {name: "Don't Save", control_type: Button}
|
|
447
|
+
</span></span><span class="ln"><span class="cmd">steps:
|
|
448
|
+
</span></span><span class="ln"><span class="cmd"> - op: launch
|
|
449
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> timeout: 90</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a slow start: how long to wait for the app's window
|
|
450
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> - op: wait_for</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the splash screen goes away
|
|
451
|
+
</span></span><span class="ln"><span class="cmd"> target: {automation_id: splashForm}
|
|
452
|
+
</span></span><span class="ln"><span class="cmd"> gone: true
|
|
453
|
+
</span></span><span class="ln"><span class="cmd"> timeout: 120
|
|
454
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> - op: wait_for</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the form has loaded its data
|
|
455
|
+
</span></span><span class="ln"><span class="cmd"> target: {automation_id: lblStatus}
|
|
456
|
+
</span></span><span class="ln"><span class="cmd"> text: Ready
|
|
457
|
+
</span></span><span class="ln"><span class="cmd"> - op: click
|
|
458
|
+
</span></span><span class="ln"><span class="cmd"> target: {automation_id: btnPost}
|
|
459
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> timeout: 60</span><span class="pad"> </span><span class="cm"><span class="h">#</span> per step, over the workflow's timeout
|
|
460
|
+
</span></span><span class="ln"><span class="cmd"> retries: 3
|
|
461
|
+
</span></span></code></pre></div>
|
|
399
462
|
<ul>
|
|
400
463
|
<li><strong>Each step waits</strong> for its control up to its <code>timeout</code>. <code>click</code>, <code>type</code> and <code>select</code> also wait until the control is
|
|
401
464
|
enabled and visible (a form that is still loading greys its buttons out).</li>
|
|
@@ -405,20 +468,23 @@ tries, replay pauses (1 s, 2 s, … up to 5 s) and closes any <code>dismiss</cod
|
|
|
405
468
|
missing variable) is not retried.</li>
|
|
406
469
|
<li><strong><code>dismiss</code></strong> lists at most 10 targets, checked like any target. When a control is not found, or something waits to
|
|
407
470
|
go away, replay clicks the <code>dismiss</code> controls that are on screen and looks again, up to 3 times per lookup. The
|
|
408
|
-
report and the
|
|
471
|
+
report and the terminal name every dialog closed, and how many tries a step took.</li>
|
|
409
472
|
</ul>
|
|
473
|
+
<p>In the web app, the review's <strong>+</strong> adds the waits; <code>timeout</code>, <code>retries</code> and <code>dismiss</code> are edited in the file or through
|
|
474
|
+
the agent.</p>
|
|
410
475
|
<h2 id="visual-checks-expect_image"><a href="#visual-checks-expect_image" class="hash">#</a>Visual checks (<code>expect_image</code>)</h2>
|
|
411
476
|
<p><code>expect</code> compares text. When what matters is drawn (a chart, a signature, a colour, a layout), <code>expect_image</code>
|
|
412
477
|
compares pixels with a baseline image:</p>
|
|
413
|
-
<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><code> - op: expect_image
|
|
414
|
-
target: {automation_id: chartRevenue}
|
|
415
|
-
image: revenue-chart.png
|
|
416
|
-
tolerance: 0.01
|
|
417
|
-
ignore: [[0, 0, 120, 24]]
|
|
418
|
-
</code></pre></div>
|
|
478
|
+
<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"> - op: expect_image
|
|
479
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> target: {automation_id: chartRevenue}</span><span class="pad"> </span><span class="cm"><span class="h">#</span> without a target: the app's top window
|
|
480
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> image: revenue-chart.png</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a file name in <workflow name>.baselines/ next to the workflow
|
|
481
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> tolerance: 0.01</span><span class="pad"> </span><span class="cm"><span class="h">#</span> share of pixels that may differ (default 0.01, i.e. 1%)
|
|
482
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> ignore: [[0, 0, 120, 24]]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> regions [x, y, width, height] that change every run (a date, a clock)
|
|
483
|
+
</span></span></code></pre></div>
|
|
419
484
|
<ul>
|
|
420
485
|
<li><strong>The first run</strong> with no baseline saves what it captured and passes; the report says so. Commit the baselines
|
|
421
|
-
folder with the workflow. <
|
|
486
|
+
folder with the workflow. After an intended change, replace them with <strong>Take new image baselines</strong> (web app) or
|
|
487
|
+
<code>--update-baselines</code> (terminal).</li>
|
|
422
488
|
<li><strong>A pixel counts as different</strong> when a colour channel differs by more than 32 of 255, so anti-aliasing and ClearType
|
|
423
489
|
do not fail a check. A different size (another screen scale or window size) fails with both sizes named.</li>
|
|
424
490
|
<li><strong>The report</strong> shows the baseline, what was captured, and the differences in red, with the share of pixels that
|
|
@@ -428,169 +494,93 @@ out of the baselines folder is refused.</li>
|
|
|
428
494
|
<li>Run visual checks on one machine with a fixed resolution and scale (see <a href="../desktop-ci/index.html">DESKTOP-CI.md</a>).</li>
|
|
429
495
|
</ul>
|
|
430
496
|
<h2 id="unattended-runs"><a href="#unattended-runs" class="hash">#</a>Unattended runs</h2>
|
|
431
|
-
<p>Replay needs a signed-in, unlocked Windows session. Before it starts the app, it
|
|
432
|
-
with the reason if it is a Windows service (session 0), a locked screen, or a
|
|
433
|
-
|
|
434
|
-
<a href="../desktop-ci/index.html">DESKTOP-CI.md</a>: a
|
|
435
|
-
|
|
436
|
-
<
|
|
437
|
-
<p>UFO² is pinned to one commit. Moving it is checked before it is pinned:</p>
|
|
438
|
-
<ol>
|
|
439
|
-
<li>Set up that UFO on Windows (<code>FORGEQE_UFO_COMMIT</code>, which takes a full 40-character commit id only), then run the
|
|
440
|
-
adapter tests against its real code and a scripted explore of Notepad.</li>
|
|
441
|
-
<li>When it passed: <code>bun scripts/ufo-bump.ts &lt;commit></code> writes the new pin into <code>src/desktop/setup.ts</code>,
|
|
442
|
-
<code>py/forgeqe_desktop/ufo_runner.py</code> and this page. Run the tests on Windows again before pushing.</li>
|
|
443
|
-
</ol>
|
|
444
|
-
<p>When it fails, the failing step names what changed in UFO (usually the action executor or the config layout that the
|
|
445
|
-
adapter wraps). Keep the pin until the adapter is updated for it.</p>
|
|
497
|
+
<p>Replay on Windows with the mouse and keyboard needs a signed-in, unlocked Windows session. Before it starts the app, it
|
|
498
|
+
checks the session and fails at once with the reason if it is a Windows service (session 0), a locked screen, or a
|
|
499
|
+
disconnected Remote Desktop session. The machine check (<strong>Check</strong> on <strong>Machine and apps</strong>, or <code>forgeqe desktop doctor</code>)
|
|
500
|
+
runs the same check. To run the suite every night on a machine of your own, see <a href="../desktop-ci/index.html">DESKTOP-CI.md</a>: a
|
|
501
|
+
runner set up in the user's session (<code>ci/desktop-runner/prepare-runner.ps1</code>), a nightly workflow
|
|
502
|
+
(<code>ci/desktop-runner/desktop-nightly.example.yml</code>), and <code>--junit</code> results.</p>
|
|
446
503
|
<h2 id="checks-of-the-outcome"><a href="#checks-of-the-outcome" class="hash">#</a>Checks of the outcome</h2>
|
|
447
|
-
<p>A recording of actions only proves the steps run. When
|
|
448
|
-
model the goal and the app's controls with the text each shows now, and the model picks up to three
|
|
449
|
-
the goal (a status message, a saved value),
|
|
450
|
-
that text really is in that control, so the model can choose among what is on screen but never invent it; text
|
|
451
|
-
a <code>desktop.secrets</code> value is never offered. The checks are saved as <code>expect</code> steps at the end of the workflow,
|
|
452
|
-
report says how many there are. With none, the report and the agent say so
|
|
453
|
-
|
|
454
|
-
<
|
|
455
|
-
<
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
504
|
+
<p>A recording of actions only proves the steps run. When the agent has finished exploring, and before the app closes,
|
|
505
|
+
ForgeQE shows the model the goal and the app's controls with the text each shows now, and the model picks up to three
|
|
506
|
+
whose text proves the goal (a status message, a saved value), with the part of the text to expect. A check is kept only
|
|
507
|
+
when that text really is in that control, so the model can choose among what is on screen but never invent it; text
|
|
508
|
+
holding a <code>desktop.secrets</code> value is never offered. The checks are saved as <code>expect</code> steps at the end of the workflow,
|
|
509
|
+
and the report says how many there are. With none, the report and the agent say so, and the web app marks the workflow
|
|
510
|
+
as having no checks of the outcome: add <code>expect</code> steps (in the review, or by hand).</p>
|
|
511
|
+
<h2 id="what-an-explore-records"><a href="#what-an-explore-records" class="hash">#</a>What an explore records</h2>
|
|
512
|
+
<p>Each action of the agent is recorded with the properties of the control it acted on, and becomes a step: a click (or
|
|
513
|
+
double-click), typing into a field, a key chord (<code>keys</code>, when it is one allowed chord, else <code>type</code>), and picking an
|
|
514
|
+
item (<code>select</code>). Clicks at screen positions, scrolls and anything else are listed as not recorded in the report. A
|
|
515
|
+
typed value equal to a <code>desktop.secrets</code> value is written as its placeholder; typed text that only looks like <code>{{…}}</code>
|
|
516
|
+
is kept literal, so a model told to type <code>{{secret:X}}</code> cannot make replay type the secret.</p>
|
|
460
517
|
<h2 id="security"><a href="#security" class="hash">#</a>Security</h2>
|
|
461
|
-
<p>The YAML, the
|
|
462
|
-
|
|
518
|
+
<p>The YAML, the app's screen text and the model's replies can all be written by someone else. ForgeQE treats them as
|
|
519
|
+
untrusted:</p>
|
|
463
520
|
<ul>
|
|
464
|
-
<li><strong>No command in the workflow.</strong> <code>app:</code> names
|
|
465
|
-
|
|
466
|
-
<li><strong>
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
<li><strong>
|
|
470
|
-
<li><strong>
|
|
471
|
-
|
|
472
|
-
<code>desktop.secrets</code>, nothing else (<code>desktopEnvNames</code>).</li>
|
|
521
|
+
<li><strong>No command in the workflow.</strong> <code>app:</code> names an app of your settings: an absolute <code>.exe</code> (never a <code>.bat</code> or <code>.cmd</code>)
|
|
522
|
+
and an argument list, started without a shell.</li>
|
|
523
|
+
<li><strong>The agent gets UI actions only.</strong> While exploring it can click, type and read controls in the app. It cannot run
|
|
524
|
+
shell commands or start programs; ForgeQE starts the app.</li>
|
|
525
|
+
<li><strong>Keys:</strong> the Windows and menu keys are refused during explore too, and the report lists what was refused.</li>
|
|
526
|
+
<li><strong>No one at the console:</strong> when the agent would ask before a sensitive action, explore answers no.</li>
|
|
527
|
+
<li><strong>Environment:</strong> the desktop process gets system settings, the model profile's key and <code>desktop.secrets</code>, nothing
|
|
528
|
+
else.</li>
|
|
473
529
|
<li><strong>Explore controls the real mouse and keyboard.</strong> It asks before starting (<code>--yes</code> to skip; required with no
|
|
474
530
|
terminal). Use a test machine or VM and a test account.</li>
|
|
475
|
-
<li><strong>Agent tools:</strong> a workflow path the agent gives must be a <code>.yaml</code> inside the working folder or the reports folder
|
|
476
|
-
|
|
531
|
+
<li><strong>Agent tools:</strong> a workflow path the agent gives must be a <code>.yaml</code> inside the working folder or the reports folder
|
|
532
|
+
(links out are refused); variables are names and text only; heals are reported, never written by the agent.</li>
|
|
477
533
|
<li><strong>Healing:</strong> the model picks one of the window's real controls by number; control text is passed as data, and any
|
|
478
534
|
other answer heals nothing. Heals are written into the workflow only when accepted.</li>
|
|
479
|
-
<li><strong>Report:</strong> every value is escaped; images are only the
|
|
480
|
-
<code>
|
|
481
|
-
|
|
482
|
-
folder, so a workflow cannot read or overwrite another file.</li>
|
|
535
|
+
<li><strong>Report:</strong> every value is escaped; images are only the run's own step pictures and image comparisons.</li>
|
|
536
|
+
<li><strong>Baselines:</strong> <code>expect_image</code> names are file names inside the workflow's baselines folder, so a workflow cannot read
|
|
537
|
+
or overwrite another file.</li>
|
|
483
538
|
<li><strong>Unattended machines:</strong> <code>prepare-runner.ps1</code> never handles a password; automatic sign-in uses Sysinternals
|
|
484
539
|
Autologon, which stores it encrypted.</li>
|
|
485
|
-
<li><strong>Install:</strong>
|
|
486
|
-
and the checkout's <code>HEAD</code> is verified; replay's packages are pinned to exact versions.</li>
|
|
540
|
+
<li><strong>Install:</strong> what setup downloads is pinned to exact versions and checked.</li>
|
|
487
541
|
</ul>
|
|
488
|
-
<h2 id="code"><a href="#code" class="hash">#</a>Code</h2>
|
|
489
|
-
<div class="tbl"><table>
|
|
490
|
-
<thead>
|
|
491
|
-
<tr><th>File</th><th>Contents</th></tr>
|
|
492
|
-
</thead>
|
|
493
|
-
<tbody>
|
|
494
|
-
<tr><td><code>src/desktop/command.ts</code></td><td><code>forgeqe desktop</code>: setup, apps, doctor, validate, explore, record, replay (folders, <code>--data</code>, <code>--junit</code>, <code>--update-baselines</code>); heal acceptance</td></tr>
|
|
495
|
-
<tr><td><code>src/desktop/junit.ts</code></td><td>JUnit XML for a suite</td></tr>
|
|
496
|
-
<tr><td><code>src/desktop/edit.ts</code></td><td>Changes to a workflow from chat: shapes, applied with comments kept, validated, diff, backup</td></tr>
|
|
497
|
-
<tr><td><code>src/desktop/run.ts</code></td><td>Explore and replay as the CLI and the agent's tools run them; variables, CSV rows, workflow paths</td></tr>
|
|
498
|
-
<tr><td><code>src/mcp/desktoptools.ts</code></td><td>ForgeQE's agent's <code>test_apps</code>, <code>desktop_explore</code>, <code>desktop_record</code>, <code>desktop_replay</code>, <code>desktop_edit_workflow</code></td></tr>
|
|
499
|
-
<tr><td><code>src/desktop/bridge.ts</code></td><td>Starts <code>python -m forgeqe_desktop serve</code>, passes events on, records model calls in the usage ledger</td></tr>
|
|
500
|
-
<tr><td><code>src/desktop/setup.ts</code></td><td>The desktop environment, the pinned UFO checkout (<code>ufoCommit</code>), <code>desktopDoctor</code></td></tr>
|
|
501
|
-
<tr><td><code>scripts/ufo-bump.ts</code></td><td>Pins a new UFO commit in every place that names it</td></tr>
|
|
502
|
-
<tr><td><code>ci/desktop-runner/</code></td><td><code>prepare-runner.ps1</code> and the nightly workflow example for unattended runs</td></tr>
|
|
503
|
-
<tr><td><code>src/desktop/report.ts</code></td><td><code>report.html</code> for a run</td></tr>
|
|
504
|
-
<tr><td><code>py/forgeqe_desktop/service.py</code></td><td><code>serve</code>: the JSON-lines protocol, replay and explore runs, <code>run.json</code></td></tr>
|
|
505
|
-
<tr><td><code>py/forgeqe_desktop/workflow.py</code></td><td>Load, validate and save workflows; variables and secrets; the key-chord grammar</td></tr>
|
|
506
|
-
<tr><td><code>py/forgeqe_desktop/apps.py</code></td><td><code>desktop.apps</code>: the app allowlist and the argument array a launch uses</td></tr>
|
|
507
|
-
<tr><td><code>py/forgeqe_desktop/models.py</code></td><td>The profile through the <code>openai</code> SDK; image checks</td></tr>
|
|
508
|
-
<tr><td><code>py/forgeqe_desktop/ufo_bridge.py</code></td><td>UFO's model blocks, and the <code>forgeqe</code> model service</td></tr>
|
|
509
|
-
<tr><td><code>py/forgeqe_desktop/ufo_runner.py</code></td><td>UFO's config, the action trace and key guard, running UFO in-process</td></tr>
|
|
510
|
-
<tr><td><code>py/forgeqe_desktop/record.py</code></td><td>Trace to workflow steps</td></tr>
|
|
511
|
-
<tr><td><code>py/forgeqe_desktop/replay.py</code></td><td>Runs a workflow on a <code>Driver</code>: timeouts, retries, <code>wait_for</code>, dismissing dialogs, heal and stop</td></tr>
|
|
512
|
-
<tr><td><code>py/forgeqe_desktop/handrecord.py</code></td><td>Recording by hand: clicks, typing, chords and checks as steps; secrets</td></tr>
|
|
513
|
-
<tr><td><code>py/forgeqe_desktop/handhooks.py</code></td><td>The Windows hooks and UI Automation lookups that feed it</td></tr>
|
|
514
|
-
<tr><td><code>py/forgeqe_desktop/visual.py</code></td><td><code>expect_image</code>: baselines, pixel comparison, diff images</td></tr>
|
|
515
|
-
<tr><td><code>py/forgeqe_desktop/session.py</code></td><td>Whether this Windows session can be driven (service, locked, no screen)</td></tr>
|
|
516
|
-
<tr><td><code>py/forgeqe_desktop/heal.py</code></td><td>One model call to re-find a moved control</td></tr>
|
|
517
|
-
<tr><td><code>py/forgeqe_desktop/memory.py</code></td><td>App memory: an explore replays what earlier ones did before calling the model, and a heal found once is reused (mobile too)</td></tr>
|
|
518
|
-
<tr><td><code>py/forgeqe_desktop/checks.py</code></td><td>One model call for checks of the outcome, kept only when on screen</td></tr>
|
|
519
|
-
<tr><td><code>py/forgeqe_desktop/pywinauto_driver.py</code></td><td>The Windows <code>Driver</code></td></tr>
|
|
520
|
-
</tbody>
|
|
521
|
-
</table></div>
|
|
522
|
-
<p>Tests: <code>bun test tests/desktop.test.ts</code>, and <code>&lt;engine-python> -m pytest tests/desktop -q</code> (needs <code>openai==1.66.2</code>
|
|
523
|
-
and PyYAML; they use a fake driver and a fake UFO, so they run on any OS).</p>
|
|
524
542
|
<h2 id="before-first-use-on-windows"><a href="#before-first-use-on-windows" class="hash">#</a>Before first use on Windows</h2>
|
|
525
|
-
<p>
|
|
526
|
-
|
|
527
|
-
machine with your apps:</p>
|
|
543
|
+
<p>Tested by the ForgeQE team: setup with and without the explore part, replay, healing, and recording. Still to check, on
|
|
544
|
+
a Windows test machine with your apps:</p>
|
|
528
545
|
<ol>
|
|
529
|
-
<li><strong>
|
|
530
|
-
(needs Java Access Bridge), Delphi, SAP GUI and Citrix
|
|
546
|
+
<li><strong>Control coverage:</strong> Windows' <code>Inspect.exe</code> shows the controls that matter with stable <code>AutomationId</code>s. Custom
|
|
547
|
+
grids, Java (needs Java Access Bridge), Delphi, SAP GUI and Citrix are where Windows' control information falls
|
|
548
|
+
short.</li>
|
|
531
549
|
<li><strong>Explore with your model:</strong> one goal with an Azure profile and one with <code>auth: entra</code>; <code>trace.json</code> has the
|
|
532
|
-
controls' AutomationIds
|
|
550
|
+
controls' AutomationIds.</li>
|
|
533
551
|
<li><strong>Replay:</strong> the recorded workflow passes 10 runs out of 10; a renamed control is healed.</li>
|
|
534
|
-
<li><strong>Cost and time</strong> of one explore, from
|
|
552
|
+
<li><strong>Cost and time</strong> of one explore, from ForgeQE's usage.</li>
|
|
535
553
|
</ol>
|
|
536
|
-
<p>
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
<
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
On agent-desktop there: npm 11.20 refuses <code>--allow-scripts</code> with <code>--prefix</code> (the install script is now allowed for the
|
|
547
|
-
pinned version in the folder's <code>package.json</code>); the state folder's Windows ACL (Administrators, OWNER RIGHTS) was
|
|
548
|
-
refused by agent-desktop (now this user and SYSTEM only); and a dialog listed as its own window and inside its main
|
|
549
|
-
window's snapshot matched twice (now one control). Still open: a button whose click opens a modal message box times out
|
|
550
|
-
in UI Automation's Invoke, and the step fails without sending it again, so such steps need the pywinauto driver.</p>
|
|
551
|
-
<p>Found by exploring and healing KeePass there with Azure OpenAI gpt-5.4 and fixed: a drop-down menu's items are listed
|
|
552
|
-
twice by UI Automation, so a recorded menu click was "several controls match" and could not replay (now one control
|
|
553
|
-
seen twice, the same runtime id, is that control); a check of the app's main window could never be found, as replay
|
|
554
|
-
searched only inside windows (now a target equal to the window is the window); the heal model, given only the old
|
|
555
|
-
target, replaced a renamed menu item by the menu itself (that step passed and the next one failed), and the heal was
|
|
556
|
-
remembered and offered for the workflow (now the model is told the step and the one before it, and a heal is
|
|
557
|
-
remembered, written or offered only from a replay that passed; a remembered heal used in a failed replay is
|
|
558
|
-
forgotten); and the offer to write heals waited for an answer with no terminal (now never asked without one). Explore
|
|
559
|
-
ran 4 steps for $0.12 when the app opened at its main window.</p>
|
|
560
|
-
<p>Also found there and fixed: an app that opens with a start-up dialog (KeePass's update question) left UFO on that
|
|
561
|
-
dialog's window after it closed, so every later click went to (0, 0) until the step limit ($1.22 for nothing); now a
|
|
562
|
-
closed window UFO chose is replaced by the app's live window (<code>follow_live_window</code>, <code>ufo_runner.py</code>), and the same
|
|
563
|
-
explore passes for $0.18. In recording by hand, the OK that closed a dialog right after typing was lost, since the
|
|
564
|
-
control under the click was looked up after a lookup per typed key (now the click is held while it is looked up, and
|
|
565
|
-
typing is one lookup). A click on a list row's <code>********</code> cell was recorded as that cell alone, which every row has (now
|
|
566
|
-
inside its row). App memory borrowed another goal's whole flow as a "shared start"; that flow ended where it began (a
|
|
567
|
-
dialog opened and closed again), so UFO, seeing the screen it started from, did it all again and the workflow held it
|
|
568
|
-
twice. Now the note lists the replayed steps and says to finish if they do the goal (UFO then made no click, $0.02),
|
|
569
|
-
and steps that exactly repeat the replayed block are kept once. A replay with <code>--no-heal</code>, or with a model whose key
|
|
570
|
-
is not set, stopped at "No model in llms.json can …" (now healing is off for that replay, and it runs).</p>
|
|
554
|
+
<p>Known limits:</p>
|
|
555
|
+
<ul>
|
|
556
|
+
<li>In a virtual machine, a synthetic double-click may not register; check <code>double_click</code> on real hardware.</li>
|
|
557
|
+
<li>On Windows on ARM, the x64 Visual C++ runtime must be installed.</li>
|
|
558
|
+
<li>With <code>desktop.driver: agent-desktop</code>, a button whose click opens a modal message box times out, and the step fails
|
|
559
|
+
without sending the click again. Replay such workflows with the mouse and keyboard (<code>pywinauto</code> or <code>auto</code> on
|
|
560
|
+
Windows).</li>
|
|
561
|
+
<li>An explore makes model calls, so it costs what your model charges; a replay makes none. Each run's report and Cost
|
|
562
|
+
show what it used.</li>
|
|
563
|
+
</ul>
|
|
571
564
|
<h2 id="next-steps"><a href="#next-steps" class="hash">#</a>Next steps</h2>
|
|
572
565
|
<ol>
|
|
573
566
|
<li>The checks above.</li>
|
|
574
567
|
<li><code>forgeqe suite</code> and test cases from Azure DevOps, Jira and Xray for desktop workflows, with results written back.</li>
|
|
575
|
-
<li>Quill: export a workflow as
|
|
576
|
-
<li>
|
|
568
|
+
<li>Quill: export a workflow as code in the user's repository.</li>
|
|
569
|
+
<li>Better support where Windows' control information falls short: Java, SAP GUI, and vision only for Citrix.</li>
|
|
577
570
|
<li>A pipeline template for a self-hosted Windows runner signed in to a desktop session.</li>
|
|
578
571
|
</ol>
|
|
579
572
|
|
|
580
573
|
</article>
|
|
581
|
-
|
|
582
|
-
<a class="prev" href="../web-app/index.html"><small>Previous</small><span>The web app</span></a>
|
|
583
|
-
<a class="next" href="../desktop-ci/index.html"><small>Next</small><span>Desktop in CI</span></a>
|
|
584
|
-
</nav>
|
|
574
|
+
|
|
585
575
|
</main>
|
|
586
576
|
<aside class="docs-toc" aria-label="On this page">
|
|
587
|
-
<p class="side-head">On this page</p><ul><li><a href="#use">Use</a></li><li><a href="#
|
|
577
|
+
<p class="side-head">On this page</p><ul><li><a href="#use">Use</a></li><li><a href="#how-a-run-flows">How a run flows</a></li><li><a href="#replay-on-macos-linux-and-headless-windows">Replay on macOS, Linux, and headless Windows</a></li><li><a href="#the-model-explore-and-healing-use">The model explore and healing use</a></li><li><a href="#workflow-yaml-forgeqe-desktop-v1">Workflow YAML (forgeqe-desktop-v1)</a></li><li><a href="#recording-by-hand">Recording by hand</a></li><li><a href="#reviewing-a-recording-web-app">Reviewing a recording (web app)</a></li><li><a href="#fixing-a-workflow-from-chat">Fixing a workflow from chat</a></li><li><a href="#waits-retries-and-dialogs">Waits, retries and dialogs</a></li><li><a href="#visual-checks-expect_image">Visual checks (expect_image)</a></li><li><a href="#unattended-runs">Unattended runs</a></li><li><a href="#checks-of-the-outcome">Checks of the outcome</a></li><li><a href="#what-an-explore-records">What an explore records</a></li><li><a href="#security">Security</a></li><li><a href="#before-first-use-on-windows">Before first use on Windows</a></li><li><a href="#next-steps">Next steps</a></li></ul>
|
|
588
578
|
</aside>
|
|
589
579
|
</div>
|
|
590
580
|
<footer class="foot">
|
|
591
581
|
<div class="container foot__row">
|
|
592
582
|
<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>
|
|
593
|
-
<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="
|
|
583
|
+
<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>
|
|
594
584
|
</div>
|
|
595
585
|
<p class="container foot__legal">© 2026 Capgemini · forgeqe.qualityai.co.uk · Built from ForgeQE's own docs</p>
|
|
596
586
|
</footer>
|