Forum Discussion

vinodtc's avatar
vinodtc
Contributor
15 years ago

How do I get page inner text after every action with tree model and Name Mapping

Hi,



I am writing the code manually by using the NameMapping with Tree model. I have to verify each time new page inner text and go to next step if there is no error has occurred. How do I get page inner text?  


If we use DOM model it is very easy to get the inner text of page by placing the code like


str1=Sys.Process("IEXPLORE").Page(url).document.all.Item("BODY").innerText.


 

I need the inner text exactly same as above by using the Name Mapping with Tree model. I am also attaching the screenshot of my page where I can not see the innertxt property in property list.



Regards,

Vinod