I have indicated the screens and elements using object repository and using them inside Use browser activity.When I am trying to make the window selctor and Browser url configurable i am losing the image and the screen. How to fix this?
Hi @soma.shruthi,
You need to fine-tune the selector in the Object Repository while capturing the element.
Create application > Create screen > capture element > fine-tune selector > Save > Use in automation
Thanks
While creating the windows selector, replace the title part with *
You can use the same for browser URL as well ( I have not personally used it but ideally it should work )
Use Strict & Fuzzy Selectors both at a time. If something is not fitting properly, then use only the Fuzzy Selector.
Note - Also, if the Image-based identification option is enabled, please disable it.
Hope it should help, please try.
I have already finetuned it but I want to make the browser part configurable
When I am trying to make the browser value configurable in the Window selctor I am unable to do it. Can we do it using object repo witut unlinking.
I am able replace the title with * but not able to pass the variable for chrome.exe and title name in window selector
Hey @soma.shruthi, please follow these steps:
- Open your selector in the Object Repository.
- Locate the title attribute in your selector.
- Old:
title="Exact Window Name" - New:
title="*"
- Old:
- Use both selector types: the Strict Selector (exact match) or the Fuzzy Selector (flexible match).
- Check the Image-based identification setting. If it is enabled, please disable it.
By following these steps, your selectors will match properly across different window states and won’t break when minor UI changes occur.
you need to use the stable package versions of UiAutomation and System Activities packages. Do not use preview versions.
After that, create variables for the Object Repository selectors. Then, create the same variables in the configuration panel as well.
Thanks
Please try below approach:
1 Keep the stable part of the selector fixed and make only dynamic values configurable.
2 Use wildcards (*) or variables only for changing attributes like title/url.
3 Re-indicate the application after updating the selector configuration.
4 Ensure the same browser type/profile is used while capturing and executing.
5 If using Object Repository, update the descriptor instead of fully replacing the selector.
6 Avoid changing both Window Selector and URL completely at the same time.
If Solution works for you please mark as solution
Thanks
Nishi
Hi @soma.shruthi
If you want to use the variable in your selector just right click on the value and give use variable then select whatever the variable you want to use

