How To create keywords for only xapth changing test cases

@_daryl Sorry but the above code is not working for me :face_holding_back_tears: I crossed checked multiple times but now it is not even changing column_index for 1st index it is returning the xpath as it is /div[@class=‘abc’][column_index]/div[1]/div[2]
Dont know what to do now

Can you Log To Console please

Log To Console       ${xpath}
${str_col_index}=         Convert To String      ${column_index}
${xpath_with_index}=      Replace String         ${xpath}     column_index     ${str_col_index} 
Log To Console         ${xpath_with_index}

Other than that, are you being returned any errors? As what I changed provided you switched it out should had worked.

2 Likes

@_daryl Thank you so much for your timelty support and help It really means alot to me keep the good work going

2 Likes

Aha no worries, all the best :+1:

2 Likes

HI Leo,

Good to see you got it working, sorry I dropped out on you all, I just got online again and was checking the forum.

Thanks @_daryl & @HelioGuilherme66 for picking up where i left off :+1:

Dave.

3 Likes