...

Windows app certification kit что это за программа

Комплект сертификации приложений для Windows

Чтобы сертифицировать приложение для Windows или подготовить его к публикации в Microsoft Store, необходимо сначала проверить и протестировать его локально. В этой статье показано, как установить и запустить комплект сертификации приложений для Windows, чтобы убедиться в том, что приложение является безопасным и эффективным.

Предварительные условия

Предварительные требования для тестирования универсального приложения Для Windows:

  • Необходимо установить и запустить Windows 10.
  • Необходимо установить комплект сертификации приложений для Windows. Он включен в пакет средств разработки программного обеспечения для Windows 10.
  • Необходимо включить устройство для разработки.
  • Необходимо развернуть приложение Windows, которое требуется протестировать на компьютере.

Обновления на месте: установка более недавнего комплекта сертификации приложений Windows заменит любую ранее установленную версию комплекта.

Новые возможности

Теперь в комплекте поддерживаются тесты приложений моста для классических приложений Windows. Эти тесты позволяют опубликовать приложение в Microsoft Store или пройти сертификацию.

Теперь комплект можно интегрировать в автоматические процедуры тестирования, если интерактивные пользовательские сеансы недоступны.

Проверка приложений перед запуском больше не поддерживается.

Известные проблемы

Ниже приведен список известных проблем с комплектом сертификации приложений Для Windows:

При тестировании, если установщик завершает работу, но оставляет активные процессы или окна запущенными, комплект сертификации приложений может обнаружить, что установщик по-прежнему работает. В этом случае набор появляется завис на выполнении задачи «Файлы трассировки установки процесса», и невозможно перейти к пользовательскому интерфейсу.

Разрешение. После завершения установщика вручную закройте все активные процессы или окна, созданные установщиком.

Для ARM UWA или любого приложения UWA, не ориентированного на семейство устройств для компьютеров или OneCore, в финальном отчете может появиться сообщение с текстом «Во время проверки выполнены не все тесты. Это может повлиять на отправку Магазина. Это сообщение не применяется в случаях, когда пользователь не отменял выбор тестов вручную.

Разрешение: n/a

Для приложений моста для классических приложений с помощью пакета SDK для Windows версии 10.0.15063 пропустить все ошибки в тестах манифеста приложения, которые помечают, что изображение не подтверждает ожидаемые измерения, если эти измерения отключены только на один пиксель. Тест должен иметь допустимость пикселей +/-1. Например, небольшая плитка на 125 % будет иметь значение 88,75×88,75px, если округляется до 89x89px, это приведет к сбою ограничений размера 88x88px.

Разрешение: n/a

Проверка приложения Windows с помощью комплекта сертификации приложений Windows в интерактивном режиме

  1. В меню «Пуск» выполните поиск приложений, найдите комплекты Windows и выберите набор сертификатов приложений Windows.
  2. В комплекте сертификации приложений Windows выберите категорию проверки, которые вы хотите выполнить. Например, если вы проверяете приложение Windows, выберите » Проверить приложение Windows». Вы можете перейти непосредственно в приложение, которое вы тестируете, или выбрать приложение из списка в пользовательском интерфейсе. При первом запуске комплекта сертификации приложений Windows пользовательский интерфейс выводит список всех приложений Windows, установленных на компьютере. Для всех последующих запусков пользовательский интерфейс отобразит последние проверенные приложения Windows. Если приложение, которое вы хотите протестировать, отсутствует в списке, вы можете щелкнуть «Мое приложение», чтобы получить полный список всех приложений, установленных в вашей системе.
  3. После ввода или выбора приложения, которое требуется протестировать, нажмите кнопку «Далее«.
  4. На следующем экране вы увидите тестовый рабочий процесс, который соответствует типу приложения, который вы тестируете. Если тест неактивен в списке, тест неприменимо к вашей среде. Например, если вы тестируете приложение Windows 10 в Windows 7, к рабочему процессу будут применяться только статические тесты. Обратите внимание, что Microsoft Store может применять все тесты этого рабочего процесса. Выберите тесты, которые вы хотите запустить, и нажмите кнопку «Далее«. Пакет сертификации приложений Windows начинает проверку приложения.
  5. В командной строке после теста введите путь к папке, в которой вы хотите сохранить тестовый отчет. Пакет сертификации приложений Windows создает HTML-код вместе с XML-отчетом и сохраняет его в этой папке.
  6. Откройте файл отчета и просмотрите результаты теста.

Если вы используете Visual Studio, вы можете запустить комплект сертификации приложений для Windows при создании пакета приложения. Узнайте, как это сделать, см. в статье «Упаковка приложений UWP».

Проверка приложения Windows с помощью комплекта сертификации приложений Windows из командной строки

Комплект сертификации приложений для Windows должен выполняться в контексте активного сеанса пользователя.

  1. Откройте окно командной строки от имени администратора («Запустить от имени администратора»).
  2. В командном окне перейдите в каталог, содержащий комплект сертификации приложений Для Windows. Примечание. Путь по умолчанию — C:\Program Files (x86)\Windows Kits\10\App Certification Kit\.
  3. Введите следующие команды в этом порядке, чтобы протестировать приложение, которое уже установлено на тестовом компьютере: appcert.exe reset appcert.exe test -packagefullname [package full name] -reportoutputpath [report file name] Кроме того, можно использовать следующие команды, если приложение не установлено. Пакет сертификации приложений Windows откроет пакет и применит соответствующий рабочий процесс тестирования: appcert.exe reset appcert.exe test -appxpackagepath [package path] -reportoutputpath [report file name]
  4. После завершения теста откройте файл отчета с именем [report file name] и просмотрите результаты теста.

Примечание. Комплект сертификации приложений для Windows может выполняться из службы, но служба должна запустить процесс комплекта в активном сеансе пользователя и не может выполняться в сеансе Session0.

Примечание. Чтобы получить дополнительные сведения о командной строке комплекта сертификации приложений для Windows, введите команду appcert.exe /?

Тестирование с помощью низкопроизводительного компьютера

Пороговые значения тестов производительности комплекта сертификации приложений Windows основаны на производительности низкопроизводительного компьютера.

Характеристики компьютера, на котором выполняется тест, могут повлиять на результаты теста. Чтобы определить, соответствует ли производительность вашего приложения политикам Microsoft Store, мы рекомендуем проводить тестирование на маломощном компьютере, например, с процессором Intel Atom, разрешением экрана 1366×768 (или выше) и механическим (а не твердотельным) жестким диском.

По мере развития низкопроизводительных компьютеров их производительность может меняться с течением времени. Выберите самую новую версию политик Microsoft Store и протестируйте свое приложение с использованием самой новой версии комплекта сертификации приложений для Windows, чтобы обеспечить соответствие вашего приложения последним требованиям к производительности.

Статьи по теме

  • Использование комплекта сертификации приложений Windows
  • Сертификационные требования для классических приложений для Windows
  • Тесты комплекта сертификации приложений для Windows
  • Политики для Microsoft Store

What is Windows app CERT kit?

Ammarksman.com

The Windows App Certification Kit creates an XML report file and saves it. Navigate to the folder where you saved the report and open it to view the results of the test. If your test failed and you’re eligible for a waiver, the info you need to submit is listed here.

How do I certify my Windows application?

To certify your app, you have to install and run the Windows App Certification Kit (included in the Windows SDK). Before you can submit your app, you must test it for readiness. You can also download a copy of the app certification white paper.

What is Microsoft hardware installation certification?

Description. The Windows Hardware Certification Kit enables developers, ISVs, IHVs, and OEMs to certify their hardware devices, systems, and filter drivers for the latest Windows operating systems. Windows 8. Windows Server 2012.

Are Microsoft Store apps vetted?

We also conduct spot checks of apps after they’ve been published so we can identify potential problems and ensure that your app complies with all of the Microsoft Store Policies. If we find any problems, you’ll be notified about the issue and how to fix it, if applicable, or if it has been removed from the Store.

What is application Verifier?

Application Verifier (AppVerif.exe) is a dynamic verification tool for user-mode applications. This tool monitors application actions while the application runs, subjects the application to a variety of stresses and tests, and generates a report about potential errors in application execution or design.

How do I use Verifier app?

Launch Microsoft’s Application Verifier. Select File | Add Application from the main menu and choose the sample executable in the ensuing Open File dialog. Verifier will display the executable in the Applications list. On the right, you can select the tests to be performed over the tested application.

Are there viruses on the Microsoft Store?

Yes, you can be absolutely sure that the apps in the store are safe and contain no malware! In addition to the encapsulation of the MS Store apps, several tests are performed after someone submits a new app, a virus and threat scan and then they are certified by Microsoft!

What is application Verifier x64?

Microsoft Application Verifier 64-Bit is designed specifically to detect and help debug memory corruptions and critical security vulnerabilities. Application Verifier includes checks to predict how well an application may perform under various account privileges.

Windows App Certification Kit

To get your app Windows Certified or prepare it for publication to the Microsoft Store, you should validate and test it locally first. This topic shows you how to install and run the Windows App Certification Kit to ensure your app is safe and efficient.

Prerequisites

Prerequisites for testing a Universal Windows app:

  • You must install and run Windows 10.
  • You must install the Windows App Certification Kit, which is included in the Windows Software Development Kit (SDK) for Windows 10.
  • You must enable your device for development.
  • You must deploy the Windows app that you want to test to your computer.

In-place upgrades: Installing a more recent Windows App Certification Kit will replace any previously installed version of the kit.

What’s new

Tests for Windows Desktop Bridge Apps are now supported in the kit. Windows Desktop Bridge app tests can give your app the best chance of being published on Microsoft Store or get certified.

The kit can now be integrated into an automated testing where no interactive user session is available.

The App Prelaunch Validation test is no longer supported.

Known issues

The following is a list of known issues with the Windows App Certification Kit:

During testing, if an installer terminates but leaves active processes or windows running, the app certification kit may detect that there is still work to be done by the installer. In this case, the kit appears stuck running the «Process Install Trace Files» task and it’s not possible to move forward with the UI.

Resolution: After your installer is complete, manually close any active processes or windows spawned by the installer.

For Arm UWA, or any UWA app that doesn’t target the device family desktop or OneCore, a message may appear in the final report that states «Not all tests were run during validation. This may impact your Store submission.». This message does not apply in cases where the user didn’t manually deselect tests.

Resolution: n/a

For Desktop Bridge Apps using Windows SDK Version 10.0.15063 please ignore any failures in Application Manifest Resources test that flag your image not confirming to the expected dimensions if those dimensions are only off by one pixel. The test is supposed to have a +/-1 pixel tolerance. E.g. A small tile at 125% would be 88.75×88.75px if rounded up to 89x89px this would fail the size restrictions of 88x88px.

Resolution: n/a

Validate your Windows app using the Windows App Certification Kit interactively

  1. From the Start menu, search Apps, find Windows Kits, and click Windows App Cert Kit.
  2. From the Windows App Certification Kit, select the category of validation you would like to perform. For example: If you are validating a Windows app, select Validate a Windows app. You may browse directly to the app you’re testing, or choose the app from a list in the UI. When the Windows App Certification Kit is run for the first time, the UI lists all the Windows apps that you have installed on your computer. For any subsequent runs, the UI will display the most recent Windows apps that you have validated. If the app that you want to test is not listed, you can click on My app isn’t listed to get a comprehensive list of all apps installed on your system.
  3. After you have input or selected the app that you want to test, click Next.
  4. From the next screen, you will see the test workflow that aligns to the app type you are testing. If a test is grayed out in the list, the test is not applicable to your environment. For example, if you are testing a Windows 10 app on Windows 7, only static tests will apply to the workflow. Note that the Microsoft Store may apply all tests from this workflow. Select the tests you want to run and click Next. The Windows App Certification Kit begins validating the app.
  5. At the prompt after the test, enter the path to the folder where you want to save the test report. The Windows App Certification Kit creates an HTML along with an XML report and saves it in this folder.
  6. Open the report file and review the results of the test.

If you’re using Visual Studio, you can run the Windows App Certification Kit when you create your app package. See Packaging UWP apps to learn how.

Validate your Windows app using the Windows App Certification Kit from a command line

The Windows App Certification Kit must be run within the context of an active user session.

  1. Open a command window with admin rights («Run as administrator»).
  2. In the command window, navigate to the directory that contains the Windows App Certification Kit. Note The default path is C:\Program Files (x86)\Windows Kits\10\App Certification Kit\.
  3. Enter the following commands in this order to test an app that is already installed on your test computer: appcert.exe reset appcert.exe test -packagefullname [package full name] -reportoutputpath [report file name] Or you can use the following commands if the app is not installed. The Windows App Certification Kit will open the package and apply the appropriate test workflow: appcert.exe reset appcert.exe test -appxpackagepath [package path] -reportoutputpath [report file name]
  4. After the test completes, open the report file named [report file name] and review the test results.

Note The Windows App Certification Kit can be run from a service, but the service must initiate the kit process within an active user session and cannot be run in Session0.

Note For more info about the Windows App Certification Kit command line, enter the command appcert.exe /?

Testing with a low-power computer

The performance test thresholds of the Windows App Certification Kit are based on the performance of a low-power computer.

The characteristics of the computer on which the test is performed can influence the test results. To determine if your app’s performance meets the Microsoft Store Policies, we recommend that you test your app on a low-power computer, such as an Intel Atom processor-based computer with a screen resolution of 1366×768 (or higher) and a rotational hard drive (as opposed to a solid-state hard drive).

As low-power computers evolve, their performance characteristics might change over time. Refer to the most current Microsoft Store Policies and test your app with the most current version of the Windows App Certification Kit to make sure that your app complies with the latest performance requirements.

Related topics

  • Using the Windows App Certification Kit
  • Certification requirements for Windows Desktop Apps
  • Windows App Certification Kit tests
  • Microsoft Store Policies

При подготовке материала использовались источники:
https://learn.microsoft.com/ru-ru/windows/uwp/debug-test-perf/windows-app-certification-kit

What is Windows app CERT kit?


https://learn.microsoft.com/en-us/windows/uwp/debug-test-perf/windows-app-certification-kit

Оцените статью