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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Task Recording fails when running again as XML Recording

(0) ShareShare
ReportReport
Posted on by 700

Dear all,

I try to run an imported XML from Task Recorder of a booking of a sales order invoice in D365FO as a test. The model for the project references the model "Test essentials".

I get the error "TabPage TabLineFiscalInformation_BR cannot be activated in its current state (Visible=False)". This is the step in the XML recording where I change in the Sales Order Lines from the tab Setup to the Tab Fiscal Information:

SalesTableForm.TabLineFiscalInformation_BR().activate(conPeek(SalesTable_TabLineFiscalInformation_BR_,1));

I tried to look for commands to set the current state to visible = true, for example:

SalesTableForm.TabLineFiscalInformation_BR().tab().activePage();

This throws also an error "Object reference not set to an instance of an object."

I tried to go into the tab "Fiscal Information" before the Tab Setup by inserting the code above, but the same error occurs.

How can I set the current state to visible = true? Are there some guidelines to edit the task recorder code?

*This post is locked for comments

I have the same question (0)
  • OrangeRocks Profile Picture
    700 on at

    That is the full error message:

    "System.InvalidOperationException was unhandled by user code

    Message: An exception of type 'System.InvalidOperationException' occurred in Microsoft.Dynamics.TestTools.Dispatcher.Client.dll but was not handled in user code

    Additional information: TabPage TabLineFiscalInformation_BR cannot be activated in its current state (Visible=False)"

  • Community Member Profile Picture
    on at

    Hello,

    did you find a solution please?

    I tried to change the state of the button but I can't because it's just readOnly.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans