Windows 8 series (V): Use of Windows app CER kit (certification kit) and related issues

Source: Internet
Author: User

Next, let's talk about the use of Windows app CER kit that comes with Windows 8, the problems I encountered, and the solutions.

 

Recently, I am about to submit an application to the Windows App Store (Win8 store). Windows 8 comes with a testing tool windows app certication kit. We recommend that Windows 8 developers run this tool before submitting the application to the store.ProgramTo perform a preliminary test on the program to be submitted. If the test result is fail, your application may pass the store review smoothly.

 

This test program will be tested in the following aspects:

1.Crashes and hangs test (crash and program kill test)

2.APP manifest compliance test (application configuration file test)

3.Windows security features test (security feature test)

4.Supported Metro style API test (whether Metro API is supported)

5.Performance Test)

6.APP manifest resources test (Resource)

7.Debug configuration test (debug configuration)

8.File Encoding(File encoding)

 

Remember that the program to be tested must be the release version. If it is the debug version, fail will be reported for item 1, indicating that some of your projects or DLL are the debug version, and list the name of the DLL claimed by the project.

 

Let's talk about how to use it:

The official method of use is: http://msdn.microsoft.com/en-us/library/windows/apps/hh694081.aspx

I would like to briefly describe some student developers or developers who are not very good at English. If the English is OK, skip this section.

Prerequisites:

Install Win8; install Windows app CER kit; have a developer account; install the metro program to be tested (we recommend that you install it under the Administrator account of the PC; otherwise, you cannot see the program ).

1. Enter "CER" in the search. This program will usually appear. Click to open it.

2. SelectValidate a Metro style app

3. Select the application you want to test and click Next. Do not perform any operations during the test to avoid affecting the test results. (If you cannot find the application you want here, please follow the steps below to solve it)

4. After the test is completed, you need to select the path and file name of the output result.

5. open the file and view the result.

 

 

Maybe you cannot find the program you want to test on the program selection interface. What should I do?

1. Because the Windows app CER kit requires the administrator privilege to run, we recommend that you install the developed program in the administrator account. Otherwise, the program cannot be seen.

2. If you still cannot see your program after installing it in the administrator account, use "killer": (The following steps are recommended to run in the administrator account)

(1) Search for powershell, open windows powershell, and enter "get-appxpackage> out.txt" on the page.

(2) In the default powershell display path (generally C:/user/XX/users), search for out.txt and open it.

(3) Search for the packagefullname (for example, ABC) of an application with an empty installlocation in the file, return to powershell, enter remove-appxpackage ABC, and delete the applications in sequence, run the Windows app CER kit and check if it appears ???

 

This is a current bug in Windows 8. I hope it will be changed in the future. During this period, I hope it will help you !!!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.