screenshot above, i want to type o76(ICD 10) value in the search field and get the first link whatever matches from below suggestion. Plz help me how to select link whatever matches comes with respect to search value
Once you enter the text in the search bar & hit search, assuming that the result division will appear in the same fashion as specified, you can use the following approach:
Step 1: Use the ‘Find Children’ activity to indicate the result division as the target.
Step 2: Configuring the filter using the input string to get the first matching division.
Step 3: Using UiExplorer, get the attribute related to the link for the respective division.
Hope this helps,
grabbing the first link is depending on the structure of website forming the base of the selectors. So it is recommended to analyse it more within UiExplorer / Browser F12 Web tools.
In general we do have the following options:
- find element activity with a tuned selector
- data scraping / table extraction - extracting the links and taking the first element
- find children activity - filtering on
<webctrl tag='A' />elements, taking first found element and retrieving the href attribute value
After searching in teh panel
Use DataScrapping and extract the data from that below results
Check on extract Url field while scrapping so that the link will be get extracted
Then you can use the link from the row like
as a first step as mentionen above we suggest an analysis:
Browser Tools: F12 - right click on the link, inspect element
UiExplorer - Open it standalone from the design panel - indicate item
Once you can inspect the link, first check if the href attribute does have a usable url or not
now lets follow the business case / requirements and summarize what will be done with link at next step
But also to short cut the discussion: when the URL is public, then please share it with us. So we can do also some RnDs on it e.g. checking what is behind:
business said now, only text is sufficient just need to get the text which is first comes after searching dynamically.
then data scrapping, taking the first row would serve, right?
please let this not unhandled / unanswered
we dont know what was modelled
In general, you can do inspection more direct and quick when working with the debugging panels:
@ppr so sorry but URL is not public
so you could use filter datatable activity and filter the extracted datatable on the search term
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.