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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Can not open a Test Page from Powershell by invoking an action

(1) ShareShare
ReportReport
Posted on by 32

I am trying to open a test page by invoking an action in business central. My test program runs perfectly in Business central Al Test Tool/ Test Tool GUI but while I am executing the same code using the PowerShell command, I am getting the above error -> "The Test Page is not open". Actually, after invoking "Create Agreement" action, the system goes to a Codeunit & then the system runs the page. Any clue?Test-Page-is-not-open.png 

I have the same question (0)
  • Suggested answer
    Amit Baru Profile Picture
    3,037 on at
  • Verified answer
    Almahmud Tareq Profile Picture
    32 on at

    Hi! The problem occurred due to GUIAllowed condition checking. GUI allowed condition did not match while running the tests from PowerShell.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,468

#2
YUN ZHU Profile Picture

YUN ZHU 923 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans