Quantcast
Channel: Micro Focus QTP (UFT) Forums - All Forums
Viewing all articles
Browse latest Browse all 1793

[UFT] Get text into DIV through HTML tag

$
0
0
Hi,
I have this element.
[Image: uft_yaweb_spy_html.PNG]

I would like to take the text into WebElement object so i wrote:
Code:
txt = Browser("YA Web").Page("YA Web").WebElement("html tag:=CAPTION").GetROProperty("innerText")
I skipped the WebTable object because in the repository the WebElement was inserted as child of YaWeb Page.

UFT not finds this object into my application:
"The "[WebElement]" object's description matches more than one of the object currently displayed in your application. etc...."

Why?

Thanks a lot.

Viewing all articles
Browse latest Browse all 1793

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>