How to modify object xpath in run time

If I found a xpath //*[@id=“XF_VIPGRADECENTER-0”] ,how to regularly modify id from XF_VIPGRADECENTER-0 to XF_VIPGRADECENTER-5 in run time

Hi @KingZ

You can use @Russ_Thomas’s answer in this question:

Thanks:grin: