ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
How to send QTP test results to an email...(with out using 
Quality Center)? 
 Question Submitted By :: Ravi
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to send QTP test results to an email...(with out using Quality Center)?
Answer
# 1
Take a screen shot of the test results..and save it..and 
send it to u r mail id..i think u are surprised with my 
answer...ok...
 
Is This Answer Correct ?    2 Yes 12 No
Ankitha
 
  Re: How to send QTP test results to an email...(with out using Quality Center)?
Answer
# 2
Ankit, great answer.
 
Is This Answer Correct ?    1 Yes 6 No
Chinnu
 
 
 
  Re: How to send QTP test results to an email...(with out using Quality Center)?
Answer
# 3
hi,

 QTP will prepare the results in xml file format... if we
want  to send the result...to mail.. By attaching the
respective file  we can send it... if we want to send the
runtime data table... we can also attach it...

quality_muralikrishna@yahoo.com
 
Is This Answer Correct ?    4 Yes 1 No
Murali Krishna
 
  Re: How to send QTP test results to an email...(with out using Quality Center)?
Answer
# 4
ANKITHA why dont u find some other job.and stop pestering
 
Is This Answer Correct ?    1 Yes 3 No
Issac
 
  Re: How to send QTP test results to an email...(with out using Quality Center)?
Answer
# 5
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 ?    7 Yes 1 No
Raj
 
  Re: How to send QTP test results to an email...(with out using Quality Center)?
Answer
# 6
In above, mentioned only attachment not how to save result
and  sent it as an attachment .

Can you please explain with script clearly
 
Is This Answer Correct ?    0 Yes 1 No
Lakshman
 
  Re: How to send QTP test results to an email...(with out using Quality Center)?
Answer
# 7
Save the test results in HTML format.
Navigation: FIle -> Export to HTML.
U will get the results in HTML format which is very much 
understandable. U can mail this as an attachment.
 
Is This Answer Correct ?    1 Yes 0 No
Sreelaxmi
 
  Re: How to send QTP test results to an email...(with out using Quality Center)?
Answer
# 8
Function SendMailOutlook(strMailto, Subject, Message, 
strMailfrom)
  
  'Create an Outlook object
  Dim Outlook 'As New Outlook.Application
  Set Outlook = CreateObject("Outlook.Application")
  
  'Create e new message
  Dim Message 'As Outlook.MailItem
  Set Message = Outlook.CreateItem(olMailItem)
  With Message
    'You can display the message To debug And see state
    '.Display
    
    .Subject = Subject
    .Body = Message
    
    'Set destination email address
    .Recipients.Add (strMailto)
    
    'Set sender address If specified.
    Const olOriginator = 0
    IfLen(strMailfrom) > 0 Then .Recipients.Add
(strMailfrom).Type = olOriginator
    
    'Send the message
    .Send
  End With
End Function
 
Is This Answer Correct ?    2 Yes 5 No
Freak
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
i have .xls,.txt,.doc files are there (together). i want find only .xls file among them? how can we write function? CTS2
what are the difference ways of parameterising?  1
Currently i have designed my script based on the test cases present in Quality Center. I want to run my script from quality center. Can anyone help me to get the code which will connect QTP with Quality Center and execute the test cases?  1
Hi, My problem is as follows. I recorded a script that created Object repository of each action i recorded. But later I added one more step (which was to enter data in a textfield) into the script through expert view. But as no repository for this newly added step exists in the test, my script fails. So please help me to sort this problem that how can I create object repository of a new step in an existing test. Thanks everyone  1
Is it possible to test Flat file using QTP? I have two file- first file is Input file and second file is output file. Input file has Format like first 2 field is record type, next 10 field is Description. Output file also has format. I want to check this file format using QTP. Is it possible?? please reply with example. Wipro2
how are environment variables used in real time projects (testing)?what answer should be given about this in interview.need real time explanation breifly?thnx in advance.  2
This is Ajay i have few douts if anybody know pls give me reply. 1. i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording Symantic-Space2
how can we group that these test cases only should be automated and in which order you execute that test cases? BSL2
WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP? CTS7
what is the extension for QTP files?  10
can we change the name of a check point? when will you start writing testcases? do you follow any methodology for writing test scripts? qtp is key word driven testing or data driven testing?  2
Take a situation when you are working with QTP, suddenly system has crashed.so you again start the system. My questyion is how can QTP directly opened when the system desktop appears.  2
What is the difference between action & script?  3
Hi All I'm new in QTP. I'm trying to make test cases for login on Flight.exe . I have parametrise the agentname and password field. So wen wromg agent name or password is entered it show a dialog box with proper message(Like: "Wrong Password" or :Please enter Password" etc) and OK button. I have created If else block. Now my problem is i want to make checkpoint on error message Dialog box. But each time i create a checkpoint it shows same text message. So how i can check that message is there or not.  2
Tell me the situations where we will use Data Driven? Ordain-Solutions3
WHICH PROCESS U FOLLOW IN COMPANY IGT1
What is the use of Testing framework in Automated testing..what are different kinds of Testing frameworks available in Automated testing... IBM1
What is the vb script when the url enter into the browser Satyam1
How can i check all the button that are enabled in a widnows based application ? What script should i write for this ?  1
How i can test the background color of the records displayed in a Table. Eg i have a .net desktop application and there is a Table(swftable) with records displayed in the grids. i have to validate whether the 1st record is displayed in white background color and 2nd record in light blue background color...But the constraints is that once user click on the first record...the background color changes to grey.......Plze let me now how to validate this with QTP 9.2. Accenture7
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com