|Check Value of div in HTML [message #1006341]
||Wed, 30 January 2013 17:06
| Diane Mising name
Registered: June 2011
I am wondering how I can check the value of a div using one of the actions in the concrete class. Our application is HTML and we are using the predefined actions in the concrete library.|
Here is an example of a div in our application:
<div style="text-align: left; padding: 1em 0 0 1.5em; font-size: .8em;">Enter Zip Code:</div>
I want to verify that the div value is "Enter Zip Code:". I have tried several actions with no success. First, I tried using ub_ctx_checkText. This does not work on a div. I repeatedly get the error "Operation not supported by the selected toolkit". If the component is not mapped to a div, but to a label, etc. Then it works fine. Secondly, I tried ub_grc_checkProperty. I have tried checking various properties which are valid (innerHTML, textContent, etc.) When doing this I repeatedly get "Property not Accessible". The only property can I check is "style".
Is there any way I can get the value of the div using one of the predefined actions? Thanks for your help.
Powered by FUDForum
. Page generated in 0.01575 seconds