what is the use of attach window activity and can someone say it like in a example
@Jebarohith19 When you work with multiple UI objects, attach window acts as a container containing activitiess pertaining to that particular screen.
It is useful for BOT to differentiate between the screens.
More details from Docs:
Hope this helps. If you any any follow up questions, post it here.
Reference:- https://docs.uipath.com/activities/docs/window-scope
Attach WIndow is a main container of the Screen where you can find ui elements for automation
demo demo
Hi @Jebarohith19,
There is a concept of Full Selector and Partial Selector in UiPath.
Now if you use Attach Window activity in your sequence and under that you perform some tasks related to selectors then, all the activities under Attach Window will take partial selectors , which is more helpful than the full selectors . Here if you have to make some changes in selectors basically you have to change the selectors in attach window activity, will consume less time than changing the selectors of all activities under the attach window .
Thanks & Regards,
Apurba
in your workflow what does tht attach window does? can u please explain?
im asking like if a click activity means it clicks what does this do?
@Jebarohith19 in my case the UI elements which I am extracting from pdf is done by using attach window activity. Using attach window activity the robot can easily find UI elements
so it simply means making it easier for bot?
Hi All,
Let me explain attach window, Full & Partial selectors with simple example.
For instance suppose there are 2 application, from first i have to copy one field and paste it in to second application. Similarly one by one for all fields.
Now if I have to switch between windows/applications in that case full selectors will help which include top level window information. It will have all the attributes including top level information. That will help bot to identify the working window and switch between screens as per our requirement. it will switch between applications and copy paste. Full selector is slow since it has to match from top level information.
Suppose we have to perform multiple activities to perform in single application/window then, we can combine all such activities in a single group with attach window activity. It uses partial selectors and its faster as working window will be same and here top level working window information is not required for each activities.