Skip to content

Commit

Permalink
Merge branch 'feature/Improve' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr-Mex committed Jun 30, 2023
2 parents 6edd2db + 4801527 commit f646384
Show file tree
Hide file tree
Showing 17 changed files with 348 additions and 246 deletions.
2 changes: 1 addition & 1 deletion VanessaAutomation/Ext/ObjectModule.bsl
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@
КонецФункции

Функция ПолучитьВерсиюОбработки(ДобавлятьНазвание = Истина, ТолькоЦифры = Ложь) Экспорт
Версия = "1.2.040.22";
Версия = "1.2.040.24";

Если ТолькоЦифры Тогда
Возврат Версия;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@
<CommandName>Form.Command.СформироватьФайлы</CommandName>
<ExtendedTooltip name="ФормаСформироватьФайлыРасширеннаяПодсказка" id="8"/>
</Button>
<Button name="ФормаЗакрыть" id="9">
<Button name="ФормаЗакрытьФорму" id="90">
<Type>CommandBarButton</Type>
<Representation>PictureAndText</Representation>
<CommandName>Form.StandardCommand.Close</CommandName>
<ExtendedTooltip name="ФормаЗакрытьРасширеннаяПодсказка" id="10"/>
<CommandName>Form.Command.ЗакрытьФорму</CommandName>
<ExtendedTooltip name="ФормаЗакрытьФормуРасширеннаяПодсказка" id="91"/>
</Button>
<Button name="ФормаСправка" id="17">
<Type>CommandBarButton</Type>
Expand Down Expand Up @@ -982,5 +981,28 @@
</ToolTip>
<Action>ЗагрузитьНастройкиСценариевИзФайла</Action>
</Command>
<Command name="ЗакрытьФорму" id="4">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Закрыть</v8:content>
</v8:item>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Close</v8:content>
</v8:item>
</Title>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Закрыть форму</v8:content>
</v8:item>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Close form</v8:content>
</v8:item>
</ToolTip>
<Action>ЗакрытьФорму</Action>
</Command>
</Commands>
</Form>
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,11 @@

КонецПроцедуры

&НаКлиенте
Процедура ЗакрытьФорму(Команда)
Закрыть();
КонецПроцедуры

#КонецОбласти

#Область СлужебныеПроцедурыФункции
Expand Down Expand Up @@ -451,8 +456,6 @@

КонецФункции

#КонецОбласти

&НаКлиенте
Процедура СохранитьНастройкиСценариевВФайл(Команда)

Expand Down Expand Up @@ -883,6 +886,30 @@

КонецФункции

#КонецОбласти

#Область ИнтерактивнаяСправка

// Возвращает данные команды
&НаКлиенте
Функция ДанныеКомандыVanessaAutomation(ИмяКоманды) Экспорт
Возврат ДанныеКомандыVanessaAutomationСервер(ИмяКоманды);
КонецФункции

&НаСервере
Функция ДанныеКомандыVanessaAutomationСервер(ИмяКоманды)

Данные = Новый Структура;
Данные.Вставить("Заголовок", Команды[ИмяКоманды].Заголовок);
Данные.Вставить("Действие", Команды[ИмяКоманды].Действие);
Данные.Вставить("Подсказка", Команды[ИмяКоманды].Подсказка);

Возврат Данные;

КонецФункции

#КонецОбласти

#Область ГенерацияТекстовДымовыхТестов

&НаСервереБезКонтекста
Expand Down
128 changes: 85 additions & 43 deletions VanessaAutomation/Forms/УправляемаяФорма/Ext/Form.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1448,63 +1448,78 @@
<CommandName>Form.Command.ИсследовательФормы</CommandName>
<ExtendedTooltip name="VanessaEditorИсследовательФормыРасширеннаяПодсказка" id="2888"/>
</Button>
<ButtonGroup name="ГруппаVanessaEditorСостояниеФормы" id="2893">
<ButtonGroup name="ГруппаVanessaEditorДымовыеТесты" id="3986">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Состояние формы</v8:content>
<v8:content>Группа vanessa editor дымовые тесты</v8:content>
</v8:item>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Form state</v8:content>
<v8:content>Group vanessa editor smoke tests</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ГруппаVanessaEditorСостояниеФормыРасширеннаяПодсказка" id="2894"/>
<ExtendedTooltip name="ГруппаVanessaEditorДымовыеТестыРасширеннаяПодсказка" id="3987"/>
<ChildItems>
<Button name="VanessaEditorЗапомнитьСостояниеФормыTestClient" id="2889">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.ЗапомнитьСостояниеФормыTestClient</CommandName>
<ExtendedTooltip name="VanessaEditorЗапомнитьСостояниеФормыTestClientРасширеннаяПодсказка" id="2890"/>
</Button>
<Button name="VanessaEditorЗабытьСостояниеФормыTestClient" id="2891">
<Button name="VanessaEditorОткрытьФормуГенератораСценариев" id="3988">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.ЗабытьСостояниеФормыTestClient</CommandName>
<ExtendedTooltip name="VanessaEditorЗабытьСостояниеФормыTestClientРасширеннаяПодсказка" id="2892"/>
<CommandName>Form.Command.ОткрытьФормуГенератораСценариев</CommandName>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Дымовые тесты</v8:content>
</v8:item>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Smoke tests</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="VanessaEditorОткрытьФормуГенератораСценариевРасширеннаяПодсказка" id="3989"/>
</Button>
</ChildItems>
</ButtonGroup>
<ButtonGroup name="ГруппаVanessaEditorСохранитьСостояниеФормы" id="3142">
<ButtonGroup name="ГруппаVanessaEditorПодготовкаИЗагрузкаДанных" id="2934">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Группа сохранить состояние формы</v8:content>
<v8:content>Группа vanessa editor подготовка и загрузка данных</v8:content>
</v8:item>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Group save form state</v8:content>
<v8:content>Test data generator</v8:content>
</v8:item>
</Title>
<ToolTip>
<ExtendedTooltip name="ГруппаVanessaEditorПодготовкаИЗагрузкаДанныхРасширеннаяПодсказка" id="2935"/>
<ChildItems>
<Button name="VanessaEditorОткрытьИнструментПодготовкаИЗагрузкаДанных" id="2932">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.ОткрытьИнструментПодготовкаИЗагрузкаДанных</CommandName>
<ExtendedTooltip name="VanessaEditorОткрытьИнструментПодготовкаИЗагрузкаДанныхРасширеннаяПодсказка" id="2933"/>
</Button>
</ChildItems>
</ButtonGroup>
<ButtonGroup name="ГруппаVanessaEditorСостояниеФормы" id="2893">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Группа сохранить состояние формы</v8:content>
<v8:content>Состояние формы</v8:content>
</v8:item>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Group save form state</v8:content>
<v8:content>Form state</v8:content>
</v8:item>
</ToolTip>
<ExtendedTooltip name="ГруппаVanessaEditorСохранитьСостояниеФормыРасширеннаяПодсказка" id="3143"/>
</Title>
<ExtendedTooltip name="ГруппаVanessaEditorСостояниеФормыРасширеннаяПодсказка" id="2894"/>
<ChildItems>
<Button name="VanessaEditorСохранитьСостояниеТекущейФормыКлиентаТестированияВФайл" id="3029">
<Button name="VanessaEditorЗапомнитьСостояниеФормыTestClient" id="2889">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.СохранитьСостояниеТекущейФормыКлиентаТестированияВФайл</CommandName>
<ExtendedTooltip name="VanessaEditorСохранитьСостояниеТекущейФормыКлиентаТестированияВФайлРасширеннаяПодсказка" id="3030"/>
<CommandName>Form.Command.ЗапомнитьСостояниеФормыTestClient</CommandName>
<ExtendedTooltip name="VanessaEditorЗапомнитьСостояниеФормыTestClientРасширеннаяПодсказка" id="2890"/>
</Button>
<Button name="VanessaEditorСохранитьСостояниеВсехФормКлиентаТестированияВФайл" id="3031">
<Button name="VanessaEditorЗабытьСостояниеФормыTestClient" id="2891">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.СохранитьСостояниеВсехФормКлиентаТестированияВФайл</CommandName>
<ExtendedTooltip name="VanessaEditorСохранитьСостояниеВсехФормКлиентаТестированияВФайлРасширеннаяПодсказка" id="3032"/>
<CommandName>Form.Command.ЗабытьСостояниеФормыTestClient</CommandName>
<ExtendedTooltip name="VanessaEditorЗабытьСостояниеФормыTestClientРасширеннаяПодсказка" id="2892"/>
</Button>
</ChildItems>
</ButtonGroup>
Expand Down Expand Up @@ -1563,43 +1578,58 @@
</Button>
</ChildItems>
</ButtonGroup>
<ButtonGroup name="ГруппаVanessaEditorТаблоПеременных" id="2928">
<ButtonGroup name="ГруппаVanessaEditorСохранитьСостояниеФормы" id="3142">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Группа vanessa editor табло переменных</v8:content>
<v8:content>Группа сохранить состояние формы</v8:content>
</v8:item>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Variables board</v8:content>
<v8:content>Group save form state</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ГруппаVanessaEditorТаблоПеременныхРасширеннаяПодсказка" id="2929"/>
<ToolTip>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Группа сохранить состояние формы</v8:content>
</v8:item>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Group save form state</v8:content>
</v8:item>
</ToolTip>
<ExtendedTooltip name="ГруппаVanessaEditorСохранитьСостояниеФормыРасширеннаяПодсказка" id="3143"/>
<ChildItems>
<Button name="VanessaEditorПоказатьСкрытьТаблоПеременных" id="2930">
<Button name="VanessaEditorСохранитьСостояниеТекущейФормыКлиентаТестированияВФайл" id="3029">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.ПоказатьСкрытьТаблоПеременных</CommandName>
<ExtendedTooltip name="VanessaEditorПоказатьСкрытьТаблоПеременныхРасширеннаяПодсказка" id="2931"/>
<CommandName>Form.Command.СохранитьСостояниеТекущейФормыКлиентаТестированияВФайл</CommandName>
<ExtendedTooltip name="VanessaEditorСохранитьСостояниеТекущейФормыКлиентаТестированияВФайлРасширеннаяПодсказка" id="3030"/>
</Button>
<Button name="VanessaEditorСохранитьСостояниеВсехФормКлиентаТестированияВФайл" id="3031">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.СохранитьСостояниеВсехФормКлиентаТестированияВФайл</CommandName>
<ExtendedTooltip name="VanessaEditorСохранитьСостояниеВсехФормКлиентаТестированияВФайлРасширеннаяПодсказка" id="3032"/>
</Button>
</ChildItems>
</ButtonGroup>
<ButtonGroup name="ГруппаVanessaEditorПодготовкаИЗагрузкаДанных" id="2934">
<ButtonGroup name="ГруппаVanessaEditorТаблоПеременных" id="2928">
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Группа vanessa editor подготовка и загрузка данных</v8:content>
<v8:content>Группа vanessa editor табло переменных</v8:content>
</v8:item>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Test data generator</v8:content>
<v8:content>Variables board</v8:content>
</v8:item>
</Title>
<ExtendedTooltip name="ГруппаVanessaEditorПодготовкаИЗагрузкаДанныхРасширеннаяПодсказка" id="2935"/>
<ExtendedTooltip name="ГруппаVanessaEditorТаблоПеременныхРасширеннаяПодсказка" id="2929"/>
<ChildItems>
<Button name="VanessaEditorОткрытьИнструментПодготовкаИЗагрузкаДанных" id="2932">
<Button name="VanessaEditorПоказатьСкрытьТаблоПеременных" id="2930">
<Type>CommandBarButton</Type>
<CommandName>Form.Command.ОткрытьИнструментПодготовкаИЗагрузкаДанных</CommandName>
<ExtendedTooltip name="VanessaEditorОткрытьИнструментПодготовкаИЗагрузкаДанныхРасширеннаяПодсказка" id="2933"/>
<CommandName>Form.Command.ПоказатьСкрытьТаблоПеременных</CommandName>
<ExtendedTooltip name="VanessaEditorПоказатьСкрытьТаблоПеременныхРасширеннаяПодсказка" id="2931"/>
</Button>
</ChildItems>
</ButtonGroup>
Expand Down Expand Up @@ -1704,6 +1734,7 @@
</ChildItems>
</ButtonGroup>
<ButtonGroup name="ГруппаVanessaEditorРаботаСБраузером" id="3748">
<Visible>false</Visible>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
Expand Down Expand Up @@ -13564,6 +13595,7 @@ When working with Vanessa Automation Single it is allowed to leave the field bla
<v8:content>Group smoke tests left column</v8:content>
</v8:item>
</ToolTip>
<Width>50</Width>
<Group>Vertical</Group>
<Representation>None</Representation>
<ShowTitle>false</ShowTitle>
Expand Down Expand Up @@ -13606,7 +13638,7 @@ When working with Vanessa Automation Single it is allowed to leave the field bla
<Title formatted="true">
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Каталог, в котором хранятся текстовые файлы с объектами-исключениям.</v8:content>
<v8:content>Каталог, в котором хранятся текстовые файлы с объектами-исключениями.</v8:content>
</v8:item>
<v8:item>
<v8:lang>en</v8:lang>
Expand All @@ -13631,11 +13663,11 @@ When working with Vanessa Automation Single it is allowed to leave the field bla
<Title formatted="true">
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>путь к файлу настройки сценариев (файл настройки можно сформировать на закладке "Настройка сценариев" в окне "Генератор дымовых тестов")</v8:content>
<v8:content>Путь к файлу настройки сценариев (файл настройки можно сформировать на закладке "Настройка сценариев" в окне "Генератор дымовых тестов")</v8:content>
</v8:item>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>path to the script setup file (the setup file can be created on the "Script Setup" tab of the "Smoke test generator" window)</v8:content>
<v8:content>Path to the script setup file (the setup file can be created on the "Script Setup" tab of the "Smoke test generator" window)</v8:content>
</v8:item>
</Title>
</ExtendedTooltip>
Expand Down Expand Up @@ -13692,6 +13724,16 @@ When working with Vanessa Automation Single it is allowed to leave the field bla
</InputField>
<RadioButtonField name="ЯзыкШаговДымовыхТестов" id="3980">
<DataPath>Объект.ЯзыкШаговДымовыхТестов</DataPath>
<Title>
<v8:item>
<v8:lang>ru</v8:lang>
<v8:content>Язык шагов дымовых тестов</v8:content>
</v8:item>
<v8:item>
<v8:lang>en</v8:lang>
<v8:content>Language of smoke test steps</v8:content>
</v8:item>
</Title>
<TitleLocation>Left</TitleLocation>
<RadioButtonType>Tumbler</RadioButtonType>
<ChoiceList>
Expand Down
4 changes: 3 additions & 1 deletion docs/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# История версий

## 1.2.040.22
## 1.2.040.24

### Новые возможности
* Быстрая остановка выполнения сценария. #1878 Спасибо @lintest
Expand Down Expand Up @@ -92,6 +92,8 @@
* Ошибка в шаге "я меняю значение переключателя" если значение многострочное #1965
* Шаг "и я сохраняю выпадающий список" всегда добавляет лишнее значение в массив #1967
* Не корректный пример использования шага в библиотеке шагов #1989 Спасибо @VO28
* Не хватает варианта асинхронного вызова кнопки открытия #1995 Спасибо @VO28
* Не открывается тестовый клиент (шаг на английском) #1997 Спасибо @hawk911

## 1.2.040.1

Expand Down
Loading

0 comments on commit f646384

Please sign in to comment.