javascript - Runtime Change of an Object in Web Browser during Automation using sahi -
i using sahi automation tool have problem identifying 1 of fields.the field gets changed during runtime , unable catch it. attaching image here. fields read , skipped both identified below properties:
read
_div("0[1]") _div("cell-right fg-000000[1]") _div(613)
skipped
_div("0") _div("cell-right fg-000000") _div(615)
however array [1] gets on interchanging , getting below error everytime execute script.
_sahi.setservervarforfetch('___lastvalue___1429772452227', _gettext(_div("cell-right fg-000000[1]"))); [9205 ms] [12:31:00.321] error: parameter passed _gettext not found on browser at: (c:\sahi_pro\userdata\scripts\tlmrp.sah&n=40) checkfileexist
please how identify same.
if understand correctly , have field id changing, use regular expression it
_div(/fg-000000/)