How to send QTP test results to an email...(with out using
Quality Center)?
Answer Posted / raj
Try this function
Function SendMail(SendTo, Subject, Body, Attachment)
Set ol=CreateObject("Outlook.Application")
Set Mail=ol.CreateItem(0)
Mail.to=SendTo
Mail.Subject=Subject
Mail.Body=Body
If (Attachment <> "") Then
Mail.Attachments.Add(Attachment)
End If
Mail.Send
ol.Quit
Set Mail = Nothing
Set ol = Nothing
End Function
| Is This Answer Correct ? | 24 Yes | 3 No |
Post New Answer View All Answers
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
Can we Test Welcome Screens and Process Images with QTP
What is the parameterization? Give one example?
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
What is the limitation to XML Checkpoints?
when a test case is written how u test using qtp
Explain the concept of object repository & how qtp recognizes objects?
What is the qtp testing process?
Explain qtp(quick test professional)?
How to modify the text checkpoint?
Explain about datafile/verification of date file when file is not available in local system?
Explain more about the Test Fusion Report of QTP?
What is the extension of qtp local repository?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.