Use application/ browser activity

Hi, I am opening two instances of edge in initallApplications.xaml. for each instance I have to perform different actions simultaneously, for that I have created two separate.xamls which are invoked in process.xamls. so here I have to again pass url in use application/ browser activity or anyway is there?

2 Likes

@akhil_n.v

Welcome to the community

You can have the output element in a variable pss it and use as input element to use application/browser in the process.xaml

Cheers

1 Like

Hi @akhil_n.v

Create a variable in the Output element option in properties of Use application\browser activity in Initallapplications xaml, pass the Variables by arguments to the process xaml and pass the argument to the Input element option of Use application\browser activity in Process xaml.

The same webpage which is opened in Initallapplications xaml can be opened in Process xaml.

Hope it helps!!

1 Like

@akhil_n.v,

Passing the URL is optional. Though UiPath would show you warning but If you have selector selected for Use Application/Browser, you are good.

For more reliability, you can pass the output of first object of Use Application/Browser.

Output Element from first Use Application/Browser

Here reusing previously captured browser element as input in another Use Application/Browser

Thanks,
Ashok :slight_smile:

3 Likes

The url is required only when opening the browser (window). If you set the “Open” property to “Never”, you will not get a warning about empty url.

2 Likes

Hi,
To segregate between browser tabs, better use output elements. & Pass the same as input browser while using use browser activity.

Thanks

1 Like

Use application/browser you have the output element in a variable panel and use it as input element to use application/browser in the process.xaml and use Go To URL activity to navigate to the respective URL

Thanks Ashok for your detailed explanation🙂

2 Likes

@akhil_n.v,

Glad it was helpful. Happy automation :slight_smile:

Thanks,
Ashok :slight_smile:

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