Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Check Value of div in HTML (How can I check the value of a div using Jubula)
Check Value of div in HTML [message #1006341] Wed, 30 January 2013 17:06 Go to previous message
Diane Mising name is currently offline Diane Mising name
Messages: 22
Registered: June 2011
Junior Member
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.
 
Read Message
Read Message
Previous Topic:AUT starts but not recognized by Jubula
Next Topic:Problems with canvas component
Goto Forum:
  


Current Time: Sun May 19 03:35:29 EDT 2013

Powered by FUDForum. Page generated in 0.01648 seconds