Hi team,
I am having a scenario where I am having a search employer label which searches for the employer if exists, if only one employer is found in the title than I have to click it but if multiple employers are found with the same name then I don’t click it in.
How should I do it can someone please suggest?
As per my current handling, I have used type into activiti where I am typing a value in search employer but every time it is selecting the first occurred value from search box. We are not sure how to tell click activiti to only click if search employer results to one value else just don’t click.
Use get attribute activity after typing the employer. If need, give some delay after type into activity.
arr_options = dropdownOptions.Split(","c) 'output string to array
bool_DuplicatesExist = optionsArray.GroupBy(Function(x) x).Any(Function(g) g.Cou
nt() > 1) 'To check if the duplicates exists in the array or not
if not exists - use click activity