Micro Focus QTP (UFT) Forums

Full Version: How to send mail from yahoo through Descriptive Programming
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi This is my very first post. I have just started learning QTP from this month. I am working hard to learn it. Hope this forum will help me.

Anyway. I am trying to send an email from yahoo mail. But I can't compose the text in the body. Object name is WebElement, so SET"" doesn't work. All other things are fine. Please help me how to compose in the body part.
hi jinnah1978,

it may happen in qtp projects, application GUI objects are not recognized properly. we have to go with workarounds. Below i have used DOM feature to make it.

Code:
set a=Browser("").Page("").Frame("").WebElement("WebElement").Object
a.innerText="how are you"

All the best for your QTP journey!
i am new to QTP, can u pls tell me about DOM feature? where & when it can be useful, and importance of it..

thank you
Thanks inborntester. You are great! Hope to get you guys throughout my journey