Skip to main content
Question

When are Task Bar components generated in Testwise?

  • July 6, 2026
  • 3 replies
  • 26 views

Forum|alt.badge.img

Hi,

While working with Testwise I noticed that the documentation describes generated Task Bar components such as:

subject.task1
subject.task2

However, none of the generated subjects in our project contain these properties.

Instead, only components such as toolbars, grids, forms and tabs are generated.

Could you explain under which circumstances Task Bar components are generated?

Are they only generated for specific Thinkwise screen types, or should they always be available when a screen contains task buttons?

If Task Bar components are not generated, what is the recommended way to interact with task buttons?

Thank you.

3 replies

Forum|alt.badge.img+2

Does your screen type have a Task bar component on it? Because if not. There will not be a Taskbar component rendered.

If your screen type does have a Task bar component, the only reason for it not to be rendered are, if the user has no rights to any task, all the tasks are send to the ‘normal’ toolbar.

If you do not have a Task bar component specificly, you have tasks. Then these tasks will appear in the toolbar. How to access toolbar buttons is clarified here https://docs.thinkwisesoftware.com/docs/sf/end_to_end_tests#action-bar

But there is a bit missing and that is these possible calls;

getTaskButtons, getTaskButtonById(string: id) and getTaskButtonByLabel(string : label).

So following that example;

await event.toolbar3574C040.getTaskButtonByLabel('MyTask').click();

 


Forum|alt.badge.img+2

I’m sorry, this is a function you do not have yet! This will be in version 0.2.99,

But for now, you could click on a task like this;

await page.getByTestId('actionbar__task__my_task').click();

 


Forum|alt.badge.img
  • Author
  • Rookie
  • July 6, 2026

Thank you for the clarification. Everything makes sense now. I understand that because the tasks are part of the standard Action Bar (Toolbar), Testwise doesn't generate separate task1 components. It's also good to know that these Action Bar functions will be available in a future version . Thanks again for your help!