How to send QTP test results to an email...(with out using
Quality Center)?

Answer Posted / a

¿forgot how to attach?
dim sScreenshotPath


sScreenshotPath = "c:\somepath\" ' with trailing slash
Desktop.CaptureBitmap sScreenshotPath & "Err_" &
Environment( "TestName") & "_" & sTimestamp & ".png"

Function sTimeStamp()
sTimestamp = Right( "0" & Month( Now ), 2 ) & Right( "0" &
Day( Now ), 2 ) & Right( "0" & Hour( Now ), 2 ) & Right( "0"
& Minute( Now ), 2 ) & Right( "0" & Second( Now ), 2 )

End Function

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the major/ important methods, functions in QTP we use realtime testing

2270


Explain in brief about the quicktest professional (qtp) automation object model?

573


Can we record an application running on a remote machine using qtp?

728


Where to use Property Let, Property Get, Property Set in UFT

377


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))

1507






What is the virtual object?

649


How to find the path of folder in which the test is saved in qtp?

534


Can we use index on view?

1604


What is the difference between a Function and Procedure in QTP?

689


Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!

2454


i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?

1559


images are dynamically changes how to compare two images with out using the bitmap

2008


How to start recording using quicktest professional (qtp)?

602


What does it mean when a check point is in red color? What do you do?

570


What are advantages of test automation?

671