UI Automation-First element is dynamic

So, i want to get details for top 5 listing but as we can see some details were missing when a car is newly launched or just announced. I was using strict selector and index method to fetch details for both title and details but if it is newly launched then index 1 will have missing details. Please suggest other ways.

Hey @Mudit_Choudhary
Instead of using strict selectors with index-based targeting, try Convert to Dynamic-Text Target in modern activities. This will allow your automation to dynamically find the available elements instead of relying on fixed positions.

Hi @Mudit_Choudhary

From the screenshot - I believe this is a good fit for Extract Table data activity where you can get the full details of the table in a couple of clicks.

If you haven’t tried this before - I would suggest you check the below links and try the same. Let me know if you need any support

I checked from my side and it is working fine for the below URL

Attaching sample project for your reference

CarWAle.zip (2.4 MB)

Hi @Mudit_Choudhary

Use the extract datatable activity and indicate on first car details then it will extract all car details in the page.

This is one of the best approach to extract all the data.

Hope it helps!!

But i want to extract from each car page, to make it wrk then i need to change selectors not sure how to do that

Kindly open the workflow which i have attached

Output will be a data table

Use For each row in data table activity to loop through each car details

Give a try and explore more on the properties of Extract Datatable. Watch the youtube link shared above for more details

Apologies, for misinterpreting my question.I will explain it in more detail.
1.Bot will first get details of car brand one by one including name,respective url.


2.After getting a car detail for eg:maruti, we use extract data table as you suggested.
3.In next iteration,next car brand eg:tata, we again use extract data table but maruti data is showing.
Things i tried:refreshed data table, is it possible to edit selectors

In your case - All the models should be available in a datatable and start looping through this datatable

First few steps should be to search based on the brand and reach on the above screen. Then do the same

For getting all brands - If it is fixed - you can create a data table with these values manually as a one time configuration