Hi Ankur and all,
I am using descriptive programming for a Image button which is embedded in web table which in turn is embedded in wbfgrid, every scenario the value of text changes .
properties of all Image buttons are similar except text, name, therefore used for DP.
Scenario 1:
Same button Scenario2:
How can we use regular expression, in this case where if you notice the number "01", "02" depends on the rows dynamically obtained in the scenario.
For example : if there are 2 rows I have to click on Image button the innertext will be "........$ctl01$......", If there are 3 rows in wbfgrid and I have click on Image button the innertext will be "........$ctl02$......".
How can we split the text and then pass the value. or use reg expression to do this ?
I am using descriptive programming for a Image button which is embedded in web table which in turn is embedded in wbfgrid, every scenario the value of text changes .
properties of all Image buttons are similar except text, name, therefore used for DP.
Scenario 1:
Code:
Browser("Accelrated Login").Page("Acced_config"").Webtable("bdl_propty").wbfgrid("name:=xyz","text:=bdl").Image("innertext:=dllproductPanel1$ctl00_$ctl01$_abcd")
Code:
Browser("Accelrated Login").Page("Acced_config"").Webtable("bdl_propty").wbfgrid("name:=xyz","text:=bdl").Image("innertext:=dllproductPanel1$ctl00_$ctl02$_abcd")
How can we use regular expression, in this case where if you notice the number "01", "02" depends on the rows dynamically obtained in the scenario.
For example : if there are 2 rows I have to click on Image button the innertext will be "........$ctl01$......", If there are 3 rows in wbfgrid and I have click on Image button the innertext will be "........$ctl02$......".
How can we split the text and then pass the value. or use reg expression to do this ?