Can someone explain, what should be the behaviour if i use full selector inside the attach browser. When I am apying the element, the validation is getting successful on that element. But do we get any issues in the future in prod ?
Ideally it should take the top level selector from the container.
However that didnt happen in mycase, if you use a full selector inside attach it still remians a full selector.
After using attach then drag n drop a fresh activity inside to spy the element again.
The only reason its said that we shouldn’t be using it, because then the search for UiElement begins from the parent window and goes for finding the element from parent window.
Takes a fraction of second more.
Usually its suggested to go with full selector approach if you’re working on 2 different set of browser windows or applications simultaneously.
Coz in that case you would be interacting with both apps one after other activity.
Thanks
Happy Automation!
You can use full selector…it is just that the title generally changes depending ont he selection for most of the pges…if that is not the case then you can happily use it
Also make sure that selector is used by all activities inside it if the top level selector attribute is not procided in the subsequent activities…so it shpuld satisfy all those selector titles
Cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.