choose_from_menu
Selects a specified item from a native 1C TestClient popup menu, reusing a captured form setup and returning acceptance details for QA scenarios.
Instructions
Pick an item from a ПоказатьВыборИзМеню popup menu natively. The popup menu is the wire TWIN of the choice
list (choose_from_list): clicking base_command raises it, and the pick is the SAME e0 4b 53 choose
tag + the length-prefixed item VALUE NAME at the ManagedForm path (the popup reuses the form window — no new
SecondaryFrame). Only the value is re-targeted (captured_value -> value, e.g. PF_MENU_1 -> PF_MENU_2).
Opens the form by replaying the genuine setup from capture (which clicked base_command and picked
captured_value). The result is a user message Сообщить("PF_MENU=" + value), confirmed on the wire.
Returns {captured_value, value, accepted, committed, message}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | 127.0.0.1 | |
| port | No | ||
| value | Yes | ||
| capture | No | genuine-card96-menu-20260618/traffic | |
| base_command | No | PF_SHOW_CHOICE_MENU | |
| captured_value | No | PF_MENU_1 | |
| message_prefix | No | PF_MENU= |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||