[QUESTION] How to get dataverse account CRUD sample working?

Aperta
#671 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Ambito
testing-qa

Direzione di ricerca

Inizia con samples/dataverse/testPlan.fx.yaml e le istruzioni di configurazione in README.md. Esegui l'esempio tramite Test Engine in modalità di debug, confronta le relative tabelle dell'ambiente con gli errori segnalati relativi ad Accounts e ai nomi, quindi controlla il percorso di pac CLI usando la versione 1.50.1; l'attività è completata quando i casi di test CRUD di dataverse vengono eseguiti senza questi errori.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

question
Does this question already exist in our backlog?
  • I have checked and confirm this is a new question.
What is your question?

How do I get the samples/dataverse/testPlan.fx.yaml sample running? It's currently erroring:

(removed onTestCaseStart from the test plan)

Test case: No Accounts
   Errors: Error 18-26: Name isn't valid. 'Accounts' isn't recognized.
Error 8-17: The function 'CountRows' has some invalid arguments.
   Result: Failed
Test case: Insert Account
   Errors: Error 14-22: Name isn't valid. 'Accounts' isn't recognized.
Error 1-8: The function 'Collect' has some invalid arguments.
Error 28-63: The specified column 'name' does not exist.
   Result: Failed
Test case: Insert and Remove Account
   Errors: Error 14-22: Name isn't valid. 'Accounts' isn't recognized.
Error 1-8: The function 'Collect' has some invalid arguments.
Error 28-63: The specified column 'name' does not exist.
   Result: Failed
Test case: Update Account
   Errors: Error 15-23: Name isn't valid. 'Accounts' isn't recognized.
Error 2-9: The function 'Collect' has some invalid arguments.
Error 29-64: The specified column 'name' does not exist.
   Result: Failed
   [Critical Error] Could not access Provider. For more details, check the logs.

Have setup as per README.md
Have run the Test Engine in debug mode and stepping through I can see my environment's tables so it looks like its connected to dataverse ok.

Also tried running via pac cli (1.50.1), but that fails with:

[Error]: 2025-12-02T08:41:23.1860423+08:00 - Failed to load 'provider' type powerfx.
What component are you experiencing the issue with?

PowerFX

What pac version are you using?

1.50.1

Lingua principale
C#
Stelle
150
Fork
55
Merge medio
5g 23h
PR unite (30g)
4

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/PowerApps-TestEngine

Tutte le issue di microsoft/PowerApps-TestEngine

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.