| || |
Regular exp. syntax for the checkbox
We are testing web application using WR 6.02 with Web Test add-In on
Win 2000. 128 RAM . IE 5.
WinRunner every time fails to find checkbox. I think the reason is
that the checkbox Physical description "part value" vary each time
Could you please help me to set regular expession for
Re: Regular exp. syntax for the checkbox
We also encountered this problem of 'part_value' properties varying from between runs.
I didn't look into this too deeply, but I believe 'part_value' refers to the piece of data on-screen associated with the specific check button. Therefore, data varies, part_value varies and the object is not found.
I just deleted the part_value element of the physical description in the GUI Map - if this wasn't enough to uniquely identify the control, I then added in a 'location' description.
Our scenario does not involve many checkboxes so this is sustainable, but may not be in your AUT.
I would imagine pattern matching works here just the same as for any other element in a physical description - check out Chapter 26 'Using Regular Expressions' in the WR User Guide.
Hope this helps,