web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Test Automation

(0) ShareShare
ReportReport
Posted on by 33

Hello,

I am trying to create a test automation project for my app,

I followed the manual, installed business central ver.21 sandbox on docker,

however I am unable to reference test libraries. Here is my app.json:

{
  "id": "e6010585-50b3-4e3a-8c9a-65c9fd591a0f",
  "name": "GeoLocalizationTest",
  "publisher": "Default publisher",
  "version": "1.0.0.0",
  "brief": "",
  "description": "",
  "privacyStatement": "",
  "EULA": "",
  "help": "",
  "url": "",
  "logo": "",
  "dependencies": [
    {
      "id": "99aa9ff9-ec49-40ca-9fa0-5726b66419fa",
      "name": "GeoLocalization",
      "publisher": "BIT",
      "version": "1.0.0.0"
    }
  ],
  "test": "21.0.0.0",
  "screenshots": [],
  "platform": "1.0.0.0",
  "application": "21.0.0.0",
  "idRanges": [
    {
      "from": 71372600,
      "to": 71372600
    }
  ],
  "resourceExposurePolicy": {
    "allowDebugging": true,
    "allowDownloadingSource": true,
    "includeSourceInSymbolFile": true
  },
  "runtime": "10.0",
  "features": [
    "NoImplicitWith"
  ]
}
here is the error:
The request for path /BC/dev/packages?publisher=Microsoft&appName=Test&versionText=21.0.0.0&appId=00000000-0000-0000-0000-000000000000&tenant=default failed with code NotFound. Reason: No published package matches the provided arguments.
I have the same question (0)
  • Nitin Verma Profile Picture
    21,698 Moderator on at
    RE: Test Automation

    Hi,

    please change your application version by 20 and runtime to 9 and then check again

  • Davit Makharadze Profile Picture
    33 on at
    RE: Test Automation

    sorry, tried it and did not help. still same error, tried with test version 20.0.0.0 and 21.0.0.0

  • Nitin Verma Profile Picture
    21,698 Moderator on at
    RE: Test Automation

    change

    "runtime": "9.0"

  • Davit Makharadze Profile Picture
    33 on at
    RE: Test Automation

    I already did and it did not work.

  • Nitin Verma Profile Picture
    21,698 Moderator on at
    RE: Test Automation

    "test": "20.0.0.0",

     "screenshots": [],

     "platform": "1.0.0.0",

     "application": "20.0.0.0",

     "idRanges": [

       {

         "from": 71372600,

         "to": 71372600

       }

     ],

     "resourceExposurePolicy": {

       "allowDebugging": true,

       "allowDownloadingSource": true,

       "includeSourceInSymbolFile": true

     },

     "runtime": "9.0",

  • Davit Makharadze Profile Picture
    33 on at
    RE: Test Automation

    Yes, I tried exactly that and it does not work.

    Also, I need test automation for business central version 21 and not 20.

  • Nitin Verma Profile Picture
    21,698 Moderator on at
    RE: Test Automation

    Ok, then check which version you are using and put the same version no. in your app.json file and then try again.

  • Davit Makharadze Profile Picture
    33 on at
    RE: Test Automation

    I am using version 21, I had specified that version everywhere and it was still unable to locate the test library, even though the test extensions are installed in the business central and I included "-includeTestToolkit" while installing BCContainer.

  • Marco Mels Profile Picture
    on at
    RE: Test Automation

    Hello,

    I assume it cannot find this dependency:

    GeoLocalization

    Hope it helps.

  • Davit Makharadze Profile Picture
    33 on at
    RE: Test Automation

    Unfortunately, that's not the problem. Every dependency is found successfully except the test.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,225

#2
Sumit Singh Profile Picture

Sumit Singh 2,123

#3
YUN ZHU Profile Picture

YUN ZHU 1,813 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans