Application auto close problem after invoking activity of library project

I were tried to make library from process
to isolate application login process as library.

when I invoke process to login application, the logged-in application windows was opened and which can be used to target by another sequences.

after converting process to library,
after login steps were finished, application windows was auto closed.
I modified the library project setting to deny auto-close window (not good for other libraries)
but opened application can not be detected for targeting by another sequences.

how to solve this problem?

@mountie

If
Deally it would be detected…please check the selector and the url if they are same or not

Cheers

it is not the web browser. it is windows application. (similar to SAP)

@mountie

Whichever is the application…selector would be same…only change would be it migh tuse application exe location so please check the same

Cheers

Hi @mountie

I hope you used the Use application\browser activity to launch the application or webpage.

If yes, you have to do some modifications in the properties of Use application\browser activity to handle this behavior.
Open the Properties Keep Always option for open option,
Keep Never option for close option,
In the Window attach mode keep the Single window option,
In the Resize window option select the maximize.
The above properties have to change for the Use application\browser activity used in the Library.

For the continuation of the library there is sequences that you said for that there is use application\browser activity to continue on the same browser.
Open the Properties Keep IfNotOpen option for open option,
Keep Never option for close option,
In the Window attach mode keep the Application Instance option,
In the Resize window option select the maximize.

Check the below image to know the properties of use application\browser activity,

Hope it helps!!

2 Likes

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