FIND PARTICULAR CELL IN HTML TABLE USING SELECTOR CONCEPT

Hello,

I am trying to click the particular cell (Train no) in Html Table. Use the Find children to get the elements inside this table but I can’t click the particular cell (30411) in the table. Can you please help me to find a solution. Please check the attachment below.

Image:

Link:

https://enquiry.indianrail.gov.in/xyzabc/CancelledTrains?scrnSize=&langFile=props.hi-in

Thanks,
Arunachalam.

@arunachalam use find children activity and take get attribute activity. In if condition write the condition like "get attribute value = 30411 " . Then pass click activity in that

Hope it helps

Thankq
Aman Sheik.

@aman_sheik Thanks for your response. This is a Dynamic table. We don’t know next time what value is presented in the last row.

here how we need to find the

  1. last row value.
  2. Find the last Column Cell (Train No)
  3. Click that cell

@Arunachalam Try click with simulateClick or sendWindowsMessages property. It might work in ur case.

@Manjuts90 can you please help me to find out the solution for the above case:

  1. last row value.
  2. Find the last Column Cell (Train No)
  3. Click that cell

Thanks,
Arunachalam.

@Arunachalam Check the below workflow.

expNew.xaml (19.2 KB)

1 Like

Thanks @Manjuts90, This is what I expected. Thanks a lot.

1 Like

@Arunachalam :grinning:

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