Skip to main content

Posts

Showing posts from 2015

Jenkins Integration with HP QTP/UFT & HP QC/ALM

Over – View: ü   HP QTP/UFT should be integrated with HP QC/ALM. ü   Jenkins should be configured. ü   Install Jenkins HP Application Automation Tools Plugin ü   Create a Build & Run How to Configure HP Application Automation Tools   Plugin : §   Goto Jenkins Home Page navigate to “ Manage Jenkins ” -> “ Manage Plugins ” §   Search for HP Application Automation Tools plugin and install. §   Restart the Jenkins with adding “restart” as URL parameter like “http://servername:8080/restart” §   Now Goto Jenkins - > Mange Jenkins - > Manage System                 §   Fill the HP QC/ALM Details and Save. §   Now Navigate back To Jenkins Home page and Click on New Item. §   Select type as Freestyle project and enter the Build Name . §   Fill the required details and select Build Triggers  as  Build periodically and...

Intro to CI (Continuous integration) - Jenkins

                                 Continuous integration is a process to integrate development work and Testing to identify the development errors as early as possible to achieve rapid application delivery throughout the software application lifecycle.  The Jenkins Over-View:                                          Jenkins is one open source tool to perform continuous integration. The basic functionality of Jenkins is to execute a predefined list of steps based on a certain trigger. For example the trigger might be a time based trigger or conditional trigger or etc.                              Builds can be started by various means, including...

Send Mail uisng Outlook with Vb Script or QTP/UFT

strToaddress  =   "Jayakrishna@sample.com; Jayakrishna2@sample.com " strSubject  =   "Sample-Subject" strBody  =   "Sample-Body" strAttachPath  =   "C:\Dump\Sample.txt" SendMailFromOutlook strToaddress,strSubject,strBody,strAttachPath Function  SendMailFromOutlook ( strToaddress,strSubject,strBody,strAttachPath )        Dim  objOut, Objmail        Set  objOut  =   CreateObject ( "Outlook.Application" )        Set  Objmail  =  objOut.CreateItem ( 0 )                   With  Objmail         . To   =  strToaddress         .Subject  =  strSubject         .Body  =  strBody ...

ZipFiles/Folders Using VB Script in QTP/UFT

Sample:  strmyFolderPath = "C:\Jay\Sample" strZipFilePath  = " C:\Jay\My SampleFile.Zip" Call  ZipMyFolder (  strmyFolderPath, strZipFilePath  ) Function  ZipMyFolder (  strmyFolderPath, strZipFilePath  )      Dim  intSkipped, intSrcItems      Dim  objApp, objFolder, objFSO, objItem, objTxt      Dim  strSkipped      Const  ForWriting  =   2     intSkipped  =   0      ' Make sure the path ends with a backslash      If   Right (  strmyFolderPath,  1   )   <>   "\"   Then         strmyFolderPath  =  strmyFolderPath  &   "\"      End   If      ' Use custom error handling      On  ...

How To Open Password Protected Excel Macros

    Jst Follow the Below Steps To Crack The Password Potected Excel Macros:                  Open the Excel File using "Excel" and check the Project properties:                                        Dont know the Password ???????      It's So Simple !!!!!!         Just Install the " Open Office " in Your Machine!!!!!     Open the Same Excel File using the Open Office and Press " ALT + F11 "      Now You can be able to See the Macros without any PASSWORD!!!! Cheers!!!! Happy Learning!!!! J @ !

Attach ScreenShots To ALM Test RUN in HP UFT/QTP

'===================================================================================================================== 'Function Name                              :    QC_AttachScreenshots 'Description                                 :    To attach the screenshots to test run in QC 'Author                                          :    Jay 'Input Parameter          ...

Customised HTML Result Report for UFT/QTP with ScreenShots in HP ALM TestSet attached.

On   Error   Resume   Next '======================================================================================================================================== 'Module Name            :    GenerateCustomReport.qfl ' Author                    :    Jay 'Date Created            :     13/11/2014 'Description                :     The library contains various functions that are used to generate a Custom HTML report '======================================================================================================================================== 'Project/Test Specific Variables ...