Giter Club home page Giter Club logo

Comments (4)

licanhua avatar licanhua commented on June 20, 2024

It's possible that you are working on Windows Server, and Calculator is not pre-installed.
You may go to Microsoft Store and search 'Windows Calculator', then install it.

Another option is following the pipeline setup, and
download Calculator from https://github.com/react-native-windows/CalculatorPackage/releases
then replace Microsoft.WindowsCalculator_8wekyb3d8bbwe!App" with "Microsoft.WindowsCalculator.Dev_8wekyb3d8bbwe!App" in example\setup.ts.

from selenium-appium.

licanhua avatar licanhua commented on June 20, 2024

You can check the installation by PowerShell. PackageFamilyName is the string you are looking for, then $(PackageFamilyName)!App is the appid

PS C:\Users\canli> Get-AppxPackage *Calculator*


Name              : Microsoft.WindowsCalculator.Dev
Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture      : X64
ResourceId        :
Version           : 0.0.0.0
PackageFullName   : Microsoft.WindowsCalculator.Dev_0.0.0.0_x64__8wekyb3d8bbwe
InstallLocation   : C:\Program Files\WindowsApps\Microsoft.WindowsCalculator.Dev_0.0.0.0_x64__8wekyb3d8bbwe
IsFramework       : False
PackageFamilyName : Microsoft.WindowsCalculator.Dev_8wekyb3d8bbwe
PublisherId       : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle          : False
IsDevelopmentMode : False
NonRemovable      : False
Dependencies      : {Microsoft.UI.Xaml.2.2_2.21909.17002.0_x64__8wekyb3d8bbwe,
                    Microsoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe,
                    Microsoft.WindowsCalculator.Dev_0.0.0.0_neutral_split.language-zh-hans_8wekyb3d8bbwe,
                    Microsoft.WindowsCalculator.Dev_0.0.0.0_neutral_split.scale-100_8wekyb3d8bbwe}
IsPartiallyStaged : False
SignatureKind     : Developer
Status            : Ok

Name              : Microsoft.WindowsCalculator
Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture      : X64
ResourceId        :
Version           : 10.1908.0.0
PackageFullName   : Microsoft.WindowsCalculator_10.1908.0.0_x64__8wekyb3d8bbwe
InstallLocation   : C:\Program Files\WindowsApps\Microsoft.WindowsCalculator_10.1908.0.0_x64__8wekyb3d8bbwe
IsFramework       : False
PackageFamilyName : Microsoft.WindowsCalculator_8wekyb3d8bbwe
PublisherId       : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle          : False
IsDevelopmentMode : False
NonRemovable      : False
Dependencies      : {Microsoft.UI.Xaml.2.2_2.21909.17002.0_x64__8wekyb3d8bbwe,
                    Microsoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe,
                    Microsoft.WindowsCalculator_10.1908.0.0_neutral_split.language-zh-hans_8wekyb3d8bbwe,
                    Microsoft.WindowsCalculator_10.1908.0.0_neutral_split.scale-100_8wekyb3d8bbwe}
IsPartiallyStaged : False
SignatureKind     : Store
Status            : Ok

from selenium-appium.

helloCx avatar helloCx commented on June 20, 2024

Thank you. I'm ready to run the test code ,{App:"this can use The file path"}。

from selenium-appium.

helloCx avatar helloCx commented on June 20, 2024

Wow, I found it at the end of the article!!
image

from selenium-appium.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.