How to attach the Browser in Modern Desgin

Hi,

i Created a new Project in Reframework…
In Open application… (5% work --login into portal)

As, i am tring attach the browser for procesing Process Transaction… always opening new chrome browser…(remaning 95%) work i will do in Process.xmal…

Help me…

Thanks

Shyam

You can create a second “Use Application/Browser” on your process workflow and use the “Open” option as Never and “Window attach mode” option as single window.
image

2 Likes

Hi @_arbso

Only one Id typing correct… it move to next at time i am getting error…

image

image

How to fix it.

Thanks
Shyam

Possible problem could be that the title of the browser changes and the selector can’t identify it. Could you try editing the selector of the Use Browser activity and adding a wildcard (*) so it selects Instagram tab no matter if you are in direct or feed.

Something like this:
image

Hi @Shyam_Pragash ,

If you want to use attach browser activity in modern design experience. you have to enable the Show classic option in the activities filter section. please refer the ebwlo screenshot. thanks.

2 Likes

Hi…

First time while runing the code all the sectors are working fine… Moving to Next value some clicking the activity are not click the correct position…

Thanks
Shyam

thanks alot this helped… i was wondering why i couldnt find it

1 Like

When attach browser activity used from classic, it wont allow to use modern activities in side attach window

any other solution !!!

Hi @srikanth.avula ,

We can use the below technique to achieve the attach window concept in the modern activities.

  1. Use application/browser activity and indicate the URL you want to automate and create output element as browser Ui element like below and give the options always for open and never for close properties.

  1. use the same use application/browser activity this time we will not mention any URL insetad we could use the exiting browser variable in the input element inside of the activity we could use click or type into activities if you would like. this is the way we can attach the windows in the modern activities and you could resolve the above issue. thanks

Regards,
Kirankumar.

Hi @kirankumar.mahanthi1,
Thanks for details, Created uielement arguments and used it for 2 sequences it’s working fine.

Is there any other solution where we can directly use with out creating arguments sending values between workflows !!
We are creating Test Automation using UiPath, for reusability we have to build small workflows and use them as needed in UiPath Testcase.
Any solution/suggestion for passing URL seamlessly and work on different browsers (firefox, chrome)

Thanks,
Srikanth Avula

Hi @srikanth.avula ,

Is there any other solution where we can directly use with out creating arguments sending values between workflows !!
We are creating Test Automation using UiPath, for reusability we have to build small workflows and use them as needed in UiPath Testcase.
Any solution/suggestion for passing URL seamlessly and work on different browsers (firefox, chrome)

  • Yes we can store the URL which you are trying to pass between workflows in Asset so it act like global variable whenever you need the value in any work flow you can directly call the get asset activity and get eh value instantly. in this way you no need to pass the url in arguments to different flows. please refer the below.

sorry if i misunderstood your question you are talking about Ui Browser object that is not possible with the above method you have to pass under the arguments to transfer one flow to another. For other values like passing URL or folder/file path storing under assset is good strategy. thanks

Regards,
Kirankumar.

Your reply helped me alot , thanks