Invoke multiple workflows in of we application

Hi All, I have created 3 different workflows for a web application which runs on chrome. When I call this 3 workflows in one test case like first workflow is LoginPage.xaml , 2nd is homePage.xaml and 3rd is logoutPage.xaml , then this test case opens 3 different browser instance. I need this 3 workflow, to run and validate on single chrome instance. TIA.

Hi @Seema_Srivastava

For the first application and browser use the single window and for the remaining use application and browser activities use the application instance.

For the first use application/browser activity change th below settings in the property panel
Open - always
Close - never
Window attach mode - Single window

For the second and remaining use application/browser activity change th below settings in the property panel
Open - if not open
Close - never
Window attach mode - application instance

Regards

1 Like

@Seema_Srivastava

If you are using classic activities then use open browser for opening and for rest of the workflows use attach browser.

If you are using modern activities then for use application browser activity change the properties.

Refer the below documentation

Hi,

I recommend to use UiElement varible at Input/Output element property and set Never at Open property. Then pass it to other workflows.
The following sample may help you.

Sample
Sample20240204-1.zip (7.9 KB)

Regards,

1 Like

@Seema_Srivastava

Welcome to the community

except in the login set the open to never in use application/browser

cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.