Парус Корпорация
Автор Nikolay Ilin на 14 марта 2016 05:50 PM

Парус Корпорация

Версия 8.5.2.2
Язык: Русский
Разрядность ОС: x86

Шаблон Парус Корпорация 8.5.2.2 - Администратор.ru.ESSOv2.app работает только с  формой логона, матчинг - по именам классов и позиции контролов (т.к. ctrlid динамические).
Алгоритм заполнения: для пароля - эмуляция ввода, поля "Организация", "Приложение" не заполняются. Заполнение полей происходит путем ввода текста в них.

Шаблон Парус Корпорация 8.5.2.2 - Администратор.withModuleName.ru.ESSOv2.app заполняет форму логона не путем ввода текста, а путем выбора значений из комбо бокса.

<indeedIDSSOData>
  <templateDescription>
    Только форма логона, матчинг - по именам классов и позиции контролов (т.к. ctrlid динамические)
    (для пароля - эмуляцией ввода).  "Организация", "Приложение" не заполняются
  </templateDescription>     
  <applications>
    <application>
      <matchingDetails>
        <paths>
          <path>%ProgramFiles%\Парус Корпорация 8.5.2.2\p8application.exe</path>
        </paths>
      </matchingDetails>
      <fileDescription>Parus 8 Application</fileDescription>
      <userDescription>Парус Корпорация 8.5.2.2 - Администратор</userDescription>
      <ssoPermissions>spSsoOnly</ssoPermissions>
      <forceReauthentication>1</forceReauthentication>
    <opLogon>
    <forms>    

      <formData>
    <id>{A1A53AC5-7450-4f0c-8642-1DE27C9F33F0}</id>
        <matching>
      <className>TLoginForm</className>
          <caption>
            <value>Начать сеанс</value>
            <isRegex>0</isRegex>
          </caption>
        <ctrls>
            <ctrl>
                <className>TPOkButton</className>
                <ctrlId>1</ctrlId>
            </ctrl>
            <ctrl>
                <className>TPCancelButton</className>
                <ctrlId>2</ctrlId>
            </ctrl>
            <ctrl>
                <className>TPPanel</className>
            </ctrl>

            <ctrl>
                <depth>1</depth>
                <className>TPDictEdit</className>
                <position>
                    <x>146</x>
                    <y>110</y>
                </position>
            </ctrl>
            <ctrl>
                <depth>1</depth>
                <className>TPComboBox</className>
                <position>
                    <x>146</x>
                    <y>85</y>
                </position>
            </ctrl>
            <ctrl>
                <depth>1</depth>
                <className>TPComboBox</className>
                <position>
                    <x>146</x>
                    <y>60</y>
                </position>
            </ctrl>
            <ctrl>
                <depth>1</depth>
                <className>TPSelectComboBox</className>
                <position>
                    <x>146</x>
                    <y>35</y>
                </position>
            </ctrl>
            <ctrl>
                <depth>1</depth>
                <className>TPSelectComboBox</className>
                <position>
                    <x>10</x>
                    <y>10</y>
                </position>
            </ctrl>
        </ctrls>
        </matching>
        <fillingAlgorithm>

          <command>
            <type>ctPosition</type>
            <dataPosition>
          <waitIntervalMs>50</waitIntervalMs>
            <ctrl>
                <depth>1</depth>
                <className>TPSelectComboBox</className>
                <position>
                    <x>10</x>
                    <y>10</y>
                </position>
            </ctrl>
            </dataPosition>
          </command>

         <command>
            <type>ctFillCurrentCtrl</type>
            <dataFillCurrentCtrl>
              <fillingType>cftSetText</fillingType>
              <waitIntervalMs>50</waitIntervalMs>
        <fieldValueInfo>    
                      <field>ffCustom</field>
            <customFieldId>ModuleName</customFieldId>
        </fieldValueInfo>    

            </dataFillCurrentCtrl>
          </command>

          <command>
            <type>ctWait</type>
            <dataWait>
              <periodMs>100</periodMs>
            </dataWait>
          </command>

          <command>
            <type>ctControl</type>
            <dataControl>
              <type>cctTab</type>
              <repetitionCount>1</repetitionCount>
              <waitIntervalMs>50</waitIntervalMs>
            </dataControl>
          </command>

         <command>
            <type>ctFillCurrentCtrl</type>
            <dataFillCurrentCtrl>
              <fillingType>cftSelectComboItem</fillingType>
        <fieldValueInfo>    
                      <field>ffCustom</field>
            <customFieldId>Database</customFieldId>
        </fieldValueInfo>    
            </dataFillCurrentCtrl>
          </command>

          <command>
            <type>ctWait</type>
            <dataWait>
              <periodMs>100</periodMs>
            </dataWait>
          </command>

          <command>
            <type>ctControl</type>
            <dataControl>
              <type>cctTab</type>
              <repetitionCount>1</repetitionCount>
              <waitIntervalMs>50</waitIntervalMs>
            </dataControl>
          </command>

         <command>
            <type>ctFillCurrentCtrl</type>
            <dataFillCurrentCtrl>
              <fillingType>cftEmulateInput</fillingType>
        <fieldValueInfo>    
                      <field>ffCustom</field>
            <customFieldId>Organization</customFieldId>
        </fieldValueInfo>    
            </dataFillCurrentCtrl>
          </command>


          <command>
            <type>ctWait</type>
            <dataWait>
              <periodMs>100</periodMs>
            </dataWait>
          </command>

          <command>
            <type>ctControl</type>
            <dataControl>
              <type>cctTab</type>
              <repetitionCount>1</repetitionCount>
              <waitIntervalMs>50</waitIntervalMs>
            </dataControl>
          </command>

         <command>
            <type>ctFillCurrentCtrl</type>
            <dataFillCurrentCtrl>
              <fillingType>cftEmulateInput</fillingType>
        <fieldValueInfo>    
                      <field>ffUserName</field>
        </fieldValueInfo>    
            </dataFillCurrentCtrl>
          </command>

          <command>
            <type>ctWait</type>
            <dataWait>
              <periodMs>100</periodMs>
            </dataWait>
          </command>

          <command>
            <type>ctControl</type>
            <dataControl>
              <type>cctTab</type>
              <repetitionCount>1</repetitionCount>
              <waitIntervalMs>50</waitIntervalMs>
            </dataControl>
          </command>

         <command>
            <type>ctFillCurrentCtrl</type>
            <dataFillCurrentCtrl>
              <fillingType>cftEmulateInput</fillingType>
        <fieldValueInfo>    
                      <field>ffPassword</field>
        </fieldValueInfo>    
            </dataFillCurrentCtrl>
          </command>

          <command>
            <type>ctWait</type>
            <dataWait>
              <periodMs>100</periodMs>
            </dataWait>
          </command>

          <command>
            <type>ctFillCtrl</type>
            <dataFillCtrl>
              <ctrl>
        <className>TPOkButton</className>
        <ctrlId>1</ctrlId>
              </ctrl>
              <fillingType>cftClickButton</fillingType>
        <fieldValueInfo>    
                      <field>ffNoData</field>
        </fieldValueInfo>    
            </dataFillCtrl>
          </command>

        </fillingAlgorithm>

      </formData>
    </forms>    
    </opLogon>

    <customFields>
        <customField>
            <id>Organization</id>
            <field>
                <displayedName>Организация</displayedName>
                <value>
                    <type>vtString</type>
                    <str></str>
                </value>
                <emptyStringValueForbidden>0</emptyStringValueForbidden>
            </field>
        </customField>
        <customField>
            <id>Database</id>
            <field>
                <displayedName>База данных</displayedName>
                <value>
                    <type>vtString</type>
                    <str></str>
                </value>
                <emptyStringValueForbidden>0</emptyStringValueForbidden>
            </field>
        </customField>
        <customField>
            <id>ModuleName</id>
            <field>
                <displayedName>Модуль системы</displayedName>
                <value>
                    <type>vtString</type>
                    <str></str>
                </value>
                <emptyStringValueForbidden>0</emptyStringValueForbidden>
            </field>
        </customField>
    </customFields>

      <launcherDetails>
        <cmdLine>"%ProgramFiles%\Парус Корпорация 8.5.2.2\p8application.exe"</cmdLine>
      </launcherDetails>


      <id>{7C42EF65-3965-4539-B2E5-27E02BCEFBC8}</id>
    </application>
  </applications>
</indeedIDSSOData>


Вложения 
 
 Парус Корпорация 8.5.2.2 - Администратор.ru.ESSOv2.app (14.82 кБ)
 Парус Корпорация 8.5.2.2 - Администратор.withModuleName.ru.ESSOv2.app (14.89 кБ)
(0 голос(а))
Эта статья полезна
Эта статья бесполезна

Комментарии (0)
Добавить новый комментарий
 
 
Полное имя:
Email:
Комментарии: