Answered Questions

  • Automate Microsoft OutLook objects in QTP

    What are the add-ins needed to automate Microsoft OutLook objects.I am trying to automate outlook using QTP. But it is not recognizing outlook objects properly.I want click on mails one by one and want to read mail details from inbox.I have VB, .NET, web, active X and wpf addins.Thanks

    Pankaj Sharma

    • Aug 31st, 2011

    You need to use create instance for outlook.application class that will be a good option but if you do it by that you have to handle an alert window by the help of shell. Scripting class instance using pass key. The best idea would be create a macro and call that macro from QTP .

    sruthi

    • Aug 28th, 2011

    Automate MS Outlook Operations using QTP? SendTo=".......@........com" SendToCC=".......@........com" Subject="QTP mail" Body1="This mail is generated from QTP Environment" Attach...

  • How to checkpoint a PDF document/output in QTP

    Hi Guru's,I am currently testing an application which generates PDF & XLS reports and I would like to validate some text and data values within the PDF output to ensure an "expected result" is produced by the reporting system.I am able to check cell values of the XLS spreadsheets, however it seems to only recognise the PDF document as a single object. Does any one have any leads/ideas on how I can...

    NawabShaikh

    • Apr 28th, 2008

    CreateObject method is used for integrating Shell operations.Set SH_OBJ = CreateObject("wscript.shell")SH_OBJ.SendKey "ctrl" + "F"  '''emulate Find Feature i.e hitting Control & F keys.SH_OBJ.SendKey "Down"Set SH_OBJ = Nothingregards,Nawab