03-18-2008, 03:42 AM
Hi Sreekanth,
Due to the complexity of the webapplication, sometimes developers has to put in some attributs for the needs of implementation.
Here is an example for a DIV:
here you can see, some no-standard attributes has been added, such as :ismeasure, istime, numancestors, haschildren, type, and uniquename ect. Hence I desperate to know if QTP can find a way to see these attributes. as I have tried something as :
faile to get me the content of the attributes so is Object Spy.
Many thanks for your suggestion
Carol
Due to the complexity of the webapplication, sometimes developers has to put in some attributs for the needs of implementation.
Here is an example for a DIV:
Code:
<div ismeasure="true" istime="false" numancestors="0" haschildren="true" hierarchy="@Accounts" unselectable="on" class="datatab_node_div" style="-moz-user-select: none; height: 18px; margin-left: 19px;" type="member" expression="/measures/members[@name='Accounts']" uniquename="Accounts" id="designerForm:mde1_Accounts_member_node"> Accounts</div>
Code:
msgbox Browser("title:=InfoView").Page("title:=InfoView").Fram("title:=InfoView").WebElement("html id:=div 1").GetROProperty("uniquename")
Many thanks for your suggestion
Carol