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

How to get popup error message.

1030


Is it possible to change the property value at runtime? How it is possible?

575


what is command for executing files?

1517


What is system testing and what are the different types of tests you perform in system testing?

601


What are private functions in QTP? How they can be called from the function library?

636






How to suppress warnings from the test results page?

603


What are the types of object repository in qtp?

567


what is run action?

1435


give me the code to save all messages of inbox of gmail into a folder and notepad

1623


What is Associate Repository in QTP 9.2 ?

603


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

374


How many scripts did you have?

1701


Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak

1631


Explain how you can find length of array in qtp?

601


In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.

1529