Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to send mail from yahoo through Descriptive Programming
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
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.
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
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!
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
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
Reply
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
Thanks inborntester. You are great! Hope to get you guys throughout my journey
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 583 11-05-2023, 03:55 PM
Last Post: lravi4u
  Send automatic email notification when test run started helmzshelmz 0 1,069 04-03-2020, 07:54 AM
Last Post: helmzshelmz
  Descriptive PROGRAMMING sandeepm1989 0 2,096 01-21-2016, 11:46 AM
Last Post: sandeepm1989
  To send Fail Results to mail Naresh 1 2,534 04-23-2015, 08:30 PM
Last Post: babu123
  To send the QTP Results to mail using Thunderbird Naresh 0 2,398 04-03-2015, 03:19 PM
Last Post: Naresh

Forum Jump:


Users browsing this thread: 4 Guest(s)