| || |
WR recognizing Hidden objects
I have a scenario in which depending on the previous data entered objects (say edit box) will appear in the screen and for some it won’t appear. I have coded for verifying the existence of it but WR says it exists when they are not displayed .I tried obj_get_info and other commands to get the “Displayed Property” value but in vain since the standard and recorded properties has got only class, MSW_class and html_name only. I even tried obj_highlight then also WR highlights the area in which the edit box appears.
I also tried to set some value in the edit box and got the return code of that operation as E_OK.
Note: I am using dynamic GUI Maps i.e. I load the properties of objects into GUI file before the operation performed in that object and remove them once I complete the operation
Re: WR recognizing Hidden objects
I'm not sure what's going on there. I would look at the HTML source to determine what property is making the objects invisible. You could then try web_obj_get_info on that property. I don't think it's the hidden property of form fields, because obj_exist will return -10101. Here is an example of the HTML for a hidden edit box:
<INPUT TYPE=HIDDEN NAME=MyEdit>