So What am i doing wrong here in a below code?
I doesn't give me the no of web-elements present in the page or value of
the inner text
function Text_Insert1(fText)
Set myo=browser("title:=.*").page("title:=.*")
Set d=description.Create
'd("micclass").value="WebElement"
d("html id").value=fText
If myo.WebElement(d).exist Then
myo.childobjects(d)
msgbox myo.count
print myo.getroproperty("innertext")
else
msgbox "finance is not present"
End If
Set d=nothing
Set myo=nothing
End function
Text_Insert1"pur-priceHeader"
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.