@binoyav
have a check if parts of the url can be used within the selector as the url also can be used as selector tags
Also ensure that not more browsers / tabs are open as needed. Often this occurs during RnD and blocks the attach Browser procedure
can you do the selector using UiExplorer and remove only title section - > copy and paste back in the selector Editor and verify.
Still validate error.
<html app='chrome.exe' /><webctrl id='gsft_main' tag='IFRAME' /><webctrl id='sn_form_inline_stream_entries' tag='DIV' />
There is a difference with initial screenshot selector and this… can you try like earlier one!
<html app='chrome.exe' />
<webctrl id='sn_form_inline_stream_entries' tag='DIV' />
When I indicate Element, its coming with iframe id. So for checking I removed and checked. In both cases, its not working. Problem is with iframe ? The iframe title is dynamic and page title is static.
can you do selector with UiExplorer (with green tick) and share the screenshot which us.
For testing can you try like below -
> <html app='chrome.exe' title ='INC*' />
> <webctrl id='gsft_main' tag='IFRAME' />
> <webctrl id='sn_form_inline_stream_entries' tag='DIV' />
My main page title is Page name - Highly confidential
And iframe → html title is → %passed id% | Incident | Page name - Highly confidential
That’s fine - it will not stop the code to work…
pls try and provide your results… if its works - we can define your page title…
Hi @binoyav,
Please try the below:
1>when you are opening chrome ,please check the private button(This will open chrome in incognito mode). Recommend to pass the browser variable in all the following workflows and use in attach browser. Also check if closing all the existing chrome windows can be done before this?If you are using attach browser selectors separately then check private in the properties of attach browser as well.
2>Since its an Iframe, u can also try to get the src attribute using get attribute activity and work on that url.
3>If using wildcard is making your selectors unstable it means you need to add more attributes apart from changes in step 1.
Please test and let us know if it resolves.
If I give INC*, its working… The selector should work from top to bottom, right ? I mean, the html tag should come inside iframe, right ?
Yes, Uipath looks for the parent selector attribute (application and title) and then looks for specific element in the window using child attributes.
In your case is the title of parent page and the Iframe window different? If INC* as wildcard is working, it seems OK to go ahead.
if its working with INC* then change the title as
> title='*{{newVar}}*'
It is not necessary to include entire page titles in the tag.
Ok… Thanks a lot.
@binoyav let us know if its work!
Im facing another problem now. This is my workflow. Im passing ids from excel file ,submitting web search form, getting the results into datatable and writing the results into csv file. But Im getting the same results for all Ids. I tried to clear the data table using clear data table activity. Also tried by assigning Nothing to ExtractDataTable. But none of the method is working. Please help.
I solved the above issue by giving a delay after submitting the form.