Logo : 1c Qa Testing

1c Qa Testing

Communauté
comol
1c-qa-testing

UI checks in the 1C thin client through QA MCP (`1c-qa`, `qa_*` / `ui_*`): session, observe → act → assert, platform behaviour, unknown outcomes, journal and verdicts. Main UI route when connected and TOOL_QA allows it; the web client is the fallback.

Add to TypingMind

Présentation

Éditeurcomol
Dépôtai_rules_1c
Nom de la compétence1c-qa-testing
Étoiles
496
Forks
112
Fichiers inclus
4
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 4

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par comol sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA 1c Qa Testing dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/comol/ai_rules_1c/tree/main/content/skills/1c-qa-testing
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/comol/ai_rules_1c.git /tmp/ai_rules_1c
mkdir -p .claude/skills
cp -r /tmp/ai_rules_1c/content/skills/1c-qa-testing .claude/skills/1c-qa-testing
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez 1c Qa Testing dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement 1c Qa Testing dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence 1c Qa Testing n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

1c-qa-testing — UI checks through QA MCP

QA MCP (connection 1c-qa) is the 1C test manager: it connects to a 1C test client (/TestClient) and drives its forms through the platform testing model — windows, fields, tables, commands, messages. It reads structured state, not pixels, so it is the main route for checking behaviour in the 1C interface. The web client (content/rules/ui-testing-tools.md) is the fallback.

When this route applies

All of these hold:

  • UI_TESTING allows the check (content/rules/dev-standards-env.md → UI_TESTING): essential / auto after the change reached the dev/test infobase, manual on an explicit request, never under off.
  • TOOL_QA is not off (content/rules/mcp-policy.md → Tool availability).
  • The qa_* / ui_* tools are exposed in this session and qa_status answers. A config entry or /healthz proves nothing.
  • The target is an authorized dev/test infobase (INFOBASE_ROLE), the one in .dev.env.

Otherwise use the web fallback of ui-testing-tools.md, or report the check unrun with the reason. TOOL_QA=required with the server missing blocks the check; the web client does not replace it.

Before the first action load content/rules/qa-testclient.md. It owns what the server does not do: starting and stopping the test client, visible or hidden window, screenshots, Windows-MCP, and confirming data through 1c-data-mcp. Tool argument names come from the exposed schemas; qa_playbook returns the sequence for the current executor.

Other MCP servers in a check

When a check needs metadata, form structure, impact, error source or live data, load the matching entry in context-sources.md. Use indexes only when they cover the configuration loaded into the tested infobase; confirm element names in the live window.

Session

  1. qa_status — the executor decides who starts 1C:

    executorWhat it isTest client
    nativeThe container is the test manager and speaks the test-client protocol; no 1C platform insideThe agent starts it by qa-testclient.md; the server only connects
    platformWindows manager next to the platformqa_start starts it itself
  2. Start or find the test client (qa-testclient.md), then qa_start(connection="<session name>"); port= overrides the port of MCP_QA_TESTCLIENT. No Windows account is needed: the test client accepts the channel's Windows authentication from any identity (8.3.27.2130); the 1C sign-in happens when the client starts.

  3. qa_status again: executor, link, target. A test client is already connected to another manager answer means another agent owns the client — a conflict to resolve, not a client to close.

  4. At the end: qa_stop. In native it only disconnects; the client is closed by the tool that started it (qa-testclient.md). A new MCP session or a restarted client needs a new qa_start; save_as aliases and ui_here pins do not survive it.

After /update1cbase, /deploy-and-test or /restore-testbase the update ends the sessions of the infobase: a client started before it is stale. Start a fresh client, qa_start, and read the main window before the first step.

Observe → act → read the change → assert

  1. Read before acting: ui_active_window, then ui_window_tree(detail="lite") or ui_inspect. Use the names and paths they return; never invent element names.
  2. One purposeful action: ui_open, ui_click, ui_set / ui_input, ui_field, ui_table, ui_list, ui_command, ui_dialog, ui_form.
  3. Read the result: ui_window_changes, ui_wait (form, element or closing), ui_messages, ui_errors.
  4. Assert on read values: ui_get_text, ui_find, table rows from ui_table / ui_list. A command accepted is not an effect observed.
  5. Re-read the window after navigation, a closed form or anything that invalidates the tree; earlier snapshots and ui_here pins are stale then.

The first form may still be loading right after the client starts: repeat read-only reads within a bounded wait.

Forms

  • ui_open(kind=, metadata_name=) without form_name opens and recognises the default form, including one defined in the configuration (Вид.Объект.Форма.<Имя>). When the configuration opens another form instead (ZUP: the employee list is a data-processor form), the single new form is accepted and the answer carries substituted_for. A failed open lists the forms that did appear. ui_open(link="e1cib/…", target_title=…) opens by navigation link.
  • e1cib/data/<Type>.<Name> without ?ref opens a new object; the auto-generated object form is <Type>.<Name>.ФормаОбъекта, without .Форма..
  • ui_close_form closes the named form (form=, title=, name=, form_name=) or the active non-main window. It never closes the main window and closes nothing when the named form is not found.
  • The MCPQAClient extension enables ui_form_schema, qa_data_candidates and ui_open through ОткрытьФорму; without it ui_open opens forms by navigation link. Installing it is a change of the test infobase (qa-testclient.md → MCPQAClient extension).

Recipes

Before list navigation, field entry, table editing, save/post or dialog actions, read the matching recipe and its pitfalls in interaction-recipes.md. Read-only window inspection needs no recipe. Two failed attempts by one method require a fresh window read, then another method or an explicit unverified result; never vary arguments blindly.

Platform behaviour (8.3.27.2130, measured)

Before asserting changed field values, navigating table rows/tabs, writing/posting, deleting, or diagnosing a lost link/message, read the relevant behaviour in platform-behaviour.md. Command acceptance never proves the effect; the unknown-outcome rules below always apply.

Unknown outcome

  • A timed-out or interrupted action has an unknown outcome: it may have written data. Never repeat a save, post, delete or command blindly.
  • Call qa_command_status (channel="client" for the extension). In native a failed link blocks new calls until qa_command_status acknowledges it; then qa_reconnect(force=True) and read the window (ui_window_tree) before deciding.
  • A read that times out is not repeated in a loop either; follow the same path.

Test journal and verdicts

Keep a journal of every check so that another session can continue it after a crash, a lost link or a context reset. A one-off request to open or show something — no change under check, no data written — needs no journal and no screenshot: answer with what was read.

  • Where: the task's output directory; otherwise %TEMP%\qa-runs\<YYYY-MM-DD>-<short name>\journal.md. Screenshots go next to it. Give the path in the report.
  • Write it as you go, after each step:
    • header: scenario, infobase and its role, executor, test-client port, window mode (visible / hidden), start time;
    • per step: number, tool and key arguments, what was observed, verdict, evidence (tool answer or screenshot path);
    • test data the check created (object kind, number or code, key fields, why), written when created;
    • one state line: active window, open dialogs or unsaved changes, whether the client is alive.
  • To continue: read the journal, qa_status (qa_reconnect(force=True) if the link is gone), read the window, go on from the first step without a verdict. Repeat a data-changing step only when the journal and the data show it did not happen.
  • Verdict per step: passed / failed / not verified, each with evidence.
    • Evidence: a value read back, an error text from ui_errors, the form name of the window that opened, a message text, a data read through 1c-data-mcp, or a screenshot — whichever shows the result better.
    • An answer that only confirms the command was sent (clicked, added, deleted, ok) is not evidence of its effect. A step without evidence is not verified, never passed.
  • Quote messages and error texts verbatim, in the interface language.
  • An unplanned refusal that blocks the next steps: record the step failed with the text, mark the rest not verified, and stop.
  • Expected numbers belong in the scenario; a number the agent calculates goes into the journal with the calculation.
  • Reuse test data from earlier runs (see the journal) before creating new. Delete test data only when the person asks.

Not available in native

qa_setup and qa_install_client answer executor_capability. ui_eval / qa_run_script are replaced by 1c-data-mcp, ui_screenshot and the hidden desktop by the Windows side of qa-testclient.md. Do not emulate anything else; report the gap. A tool that is missing from the list is not replaced by ui_eval or another workaround.

Report

Use the scenario and report templates of content/agents/tester.md. Name the route (QA MCP, executor), the infobase, the journal path, the screenshots by step number, every step whose outcome was not confirmed, and data checks done or not done. Transport success, /healthz or a tool list is not a passing check.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA 1c Qa Testing ?

UI checks in the 1C thin client through QA MCP (`1c-qa`, `qa_*` / `ui_*`): session, observe → act → assert, platform behaviour, unknown outcomes, journal and verdicts. Main UI route when connected and TOOL_QA allows it; the web client is the fallback.

Pourquoi utiliser 1c Qa Testing sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. 1c Qa Testing se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer 1c Qa Testing dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/comol/ai_rules_1c/tree/main/content/skills/1c-qa-testing. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser 1c Qa Testing ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec 1c Qa Testing ?

Autant que vous le souhaitez. Vous pouvez utiliser 1c Qa Testing avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA 1c Qa Testing est-elle gratuite ?

Cette compétence est publiée sur GitHub par comol. Consultez le dépôt pour connaître les conditions de licence. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇