Need to extract data from two lines or more than 2 in UI Automation

Hello Every one, Good day!

I am looking for a solution where I try to get values under Applicability in UI where Under Applicability having 2 or 3 or more than that how can i achieve this.

the UI look like this

By using Which Activities or Selectors Or Logic, I can Achieve the Under Applicability values.

Thank you!!

@victoryv4569,

First approach could be using Table extraction.
Second approach would be using For Each Ui Element.

Thanks,
Ashok :slight_smile:

Hi @ashokkarale

You can use the For each Ui element activity and indicate on on the first element of Applicability column, then it will automatically extracts the other values which are in same column. Output of For each Ui element is CurrentElement.

Inside for each activity insert Get text activity and open the properties pass the CurrentElement to the Input Element option. Store the output in a variable.

If you want to store total rows data in a variable then use the Append item to list activity to append all the items to a list.

Hope it helps!!

Hi @ashokkarale

I tried table extraction but the URL is Dynamic right, In Table extraction where its always taking Constant URL how can I make it Dynamic.


How can i use for each ui element where its asking me to use it in inside modern activities

Thank you!

You have to use the For each Ui element inside the Use application\browser activity only… @victoryv4569

@victoryv4569,

If the table is going to be same and only the URL going to be dynamic, you can remove the URL. It’s optional.

Thanks,
Ashok :slight_smile:

@ashokkarale
if i removed the URL

getting like this

@victoryv4569,

That’s fine. Ignore that and try to run.

Thanks,
Ashok :slight_smile:

Open the properties of Use application/browser activity and Select the Never option for Open dropdown and Select the Never option for Close dropdown. Then the warning will gone… @victoryv4569

Hope you understand!!

@mkankatala

I am not able to extract the entire table where number of rows may changes.
How can i achieve this.

Thank you!

Have you tried using the For each Ui element activity… @victoryv4569

It will extract weather the count of rows changed for every time.

@mkankatala

But My previous steps in Classic Activities, how can i add this where the URL is changing Transection to Transection ?

Okay you are using classic… @victoryv4569

Then try to use the Find children activity and indicate on the one of the item in the Applicability column. Then you no need to use the Modern Use application\browser activity.

@mkankatala

can you let me know in detail like step by step or SCREENSHOT would work too.

Thank you!!!

@ashokkarale

Non of them is working is there any other alternative.

where application login in one tab and steps in another tab and where transection to transection the the tab header is changing.

But doesn’t work in modern design.

so is there any alternative.

Thank you

@victoryv4569,

It’s due to multiple tabs you have. I wasn’t aware of that.

In this case, you would require the URL there. Keeping it blank will not work.

Check what part of the URL is dynamic and replace it with * or ? Ashok per requirement.

Thanks,
Ashok :slightly_smiling_face:

@ashokkarale

Extract Structured Data , how it would work ?

@victoryv4569 use extract table for extracting data then you can store data in a variable(variable type data table)

thanks&regards,
Jahangir.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.