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

Announcements

News and Announcements icon
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,043 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,353 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,808 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,371

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans