How to select one item from the list in the website

Hi team,

I have retailers list (very long list) in the website. I want to work with one retailer at a time. There is a hyperlink corresponding to the retailer that I need to click on to place order. I am using check App state and then get attribute and then click activities. It does not seem that works. Can anyone chime in? Thanks!

@Sisay_Dinku

If you are using get attribute are you not getting the URL ?

If you are getting then use that in navigate to go to that url

cheers

@Anil_G thanks for the swift response.
What I want to do is clicking on the hyperlink that is corresponding to the specific retailer I am working on. After clicking the hyperlink there is a form that needs to be filled in there for the order placement. Here is my workflow, that seems is not working.

Please let me know if this is NOT very clear. Thanks a lot!

Hi @Sisay_Dinku - Since it was a long list in the website, below are my thoughts

  • Use Data Scraping and extract the list into data table
  • Get the each URL (after reading to data table hyperlink appears as a normal data) and use Navigate To activity to go to that specific page
  • Once you are done actions, navigate back to previous page and repeat the step2

@Sisay_Dinku

I see some issue with this…first get attribute is used to get a attribute from the selector…But I see you are assigning a name there…it should ideally be like ineertext,tablerow etc…

and I am not sure what you are trying in get attribute

Ideally you should be using the name you want to search in the innertext field of selctor used in get attribute…and if its a table then get tablerow in the get attribute and use that in the next click activity …as the tablerow will be same for all row elements in single row…only change would be on the tablecol…

Hope this helps

cheers

@Sisay_Dinku Does it showing any error? if yes, please share that error screenshot

@Anil_G

Here is what I see in the selectors.
And I replaced the name with TableRow. It did not yield anything. Please let me know what I am missing.


Thanks for your help!!

@Sisay_Dinku

Please open in ui explorer and try checking the centre top and the right top menu…those will provide more proper details and can get a better selector

cheers

@ushu

Where does the data table comes into play, next. Not sure how to use the data sent to datatable for the next Step…

@Anil_G I see what you are saying.
I tried multiple attempts and did not click on the specific Item I wanted to be clicked. It does not move to the next page and click on the retailers hyperlink.
Here is the screenshot.


Thanks!

@Sisay_Dinku

Remove the third line…in the fourth select tag…innertext…tablerow and tablecol…then try checking if it isentified…if there are no multiple tables you can remove second line also…and in innertext variablize the name part alone…and i see some extra text in innertext is it having more data ?

And i see tablerow as 245 …are there so many rows?

Cheers

@Anil_G
and i see some extra text in innertext is it having more data ? Just need the retailer name
And i see tablerow as 245 …are there so many rows? yes, there as many as 300 retailer but I want only one for now.

@Sisay_Dinku

Leave evrything as is and replace only the name part with variable

Cheers

@Anil_G I’ve revised according to your suggestion. Unfortunately, no luck!!

@Sisay_Dinku

Show me what you revised including thw selectors of each

Cheers

@Anil_G

Here it is

@Sisay_Dinku

Asked you to select the tag …tabelcol as wel…tablerow you can leave that will be there while clicking and for get attribute have tablecol but not row

Hope this helps

Cheers

@Anil_G Thank you so much for your time. I tried multiple options and does not seem opening the hyperlink I wanted to be opened. Can you show with arrows the potential selectors you’d suggest me from this screenshot? Let me know which one to select which one to get rid off.

@Sisay_Dinku

Try these

innertext will be dynamic and tablerow is used for the hyper link, and inner text wont be there for hyperlink

cheers

@Anil_G

I am hoping the work flow is okay. I tried your suggestions and it does not seem working. Also, I added wild card (*) in place of innertext value, again did not make any change. Could there be any other options? Thanks!