Xpath for each required row

@ashapkina

Is there any way to get data from these xpath by looping ??

//[@id=“content”]/div[1]/div/table/tbody/tr[2]/td[7]
//[@id=“content”]/div[1]/div/table/tbody/tr[3]/td[7]
//[@id=“content”]/div[1]/div/table/tbody/tr[5]/td[7]
//[@id=“content”]/div[1]/div/table/tbody/tr[8]/td[7]

@lakshmipriya_a you can save the whole column to a List variable using Xpath //[@id=“content”]/div[1]/div/table/tbody//td[7]

and then access the values you need in the List using Loop

SimilarXpathList.zip (1.3 KB)

@ashapkina dynamically the data will be changing here.

@lakshmipriya_a you need to save the column to a List using Web element action
SameXpathList.zip (670 Bytes)

1 Like

@ashapkina thank you its working :clap::clap::clap::bouquet:

1 Like