Sunday, April 27, 2014

ధనానికి లొంగని జగతేలేదు ..

స్థలమై పొలమై బంగారమై
రుణమై ధనమై ఆస్తై అప్పై అరువై
ధనం ఆడుకుంటుంది, అన్నిటా తానై



వ్యామోహాలకైనా వ్యాపకాలకైనా వ్యసనాలకైనా
ఆశలకైనా దురాశలకైనా
రాజులకైనా రాజకీయాలకైనా...

చక్రం తిప్పే వాళ్ళని చేస్తుందీ
దానిలో తిరిగే వాళ్ళను చేస్తుంది

ఒకడికి కూటి కోసం కోటి విద్యలు నేర్పుతుంది
కోట్లలో పోగై ఇంకొకడిని మూర్ఖుడిని చేస్తుంది

దానాలు చేసే ధర్మాత్ములను చేస్తుంది
దురాశతోనున్న దుర్మార్గులనూ చేస్తుంది

అన్నదమ్ములను వీదికీడ్చి వేర్పాటు చేస్తుంది
మనిషిలో చెడై తను ఆడుకుంటుంది

ధనానికి లొంగని జగతేలేదు
ఏదైనా ఉంటే అది చచ్చే నిముషం దాకా అర్థం కాదు !

Wednesday, April 23, 2014

QC OTA || Copy Paste Test Set Folder

Public Function CopyPasteTestSetFolder(sourceFolderPath, destFolderPath)
 
    strUser = ""
    strPassword = ""
    strDomain = ""
    strProject = ""

    strServer = “”
   
     Set objTDConnection = CreateObject("tdapiole80.TDCONNECTION")
     objTDConnection.InitConnection strServer, strDomain
     objTDConnection.ConnectProject strProject, strUser, strPassword
 
     Set objTreeManager = objTDConnection.TestSetTreeManager
     Set sourceFolder = objTreeManager.NodeByPath("Root\XXXX")
     Set destFolder = objTreeManager.NodeByPath("Root\YYYY")
 
     Dim iscp As ISupportCopyPaste
       
     Set iscp = sourceFolder

     clipboard = iscp.CopyToClipBoard(sourceFolder.NodeID, 0, sourceFolderPath)

     Set iscp = destFolder
     iscp.PasteFromClipBoard clipboard, destFolder.NodeID, 0, -1

     Set treeMng = Nothing
     Set sourceFolder = Nothing
     Set destFolder = Nothing
     Set iscp = Nothing
 
End Function

Friday, April 4, 2014

UFT 12 Download Link from HP site

Why Automation?

Automation Testing:
Automation Testing is not a replacement for manual testing it is just a continuation for a manual testing in order to provide speed and accuracy.
Test automation is the use of software to control the execution of tests, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting functions.
Irritants in Manual Testing:
  • Time consuming.
  • Simultaneous actions are almost impossible.
  • Repeating the task in a same manner is not so easy manually.
Automation Benefits:
  • Fast: Runs test significantly faster than human tester's
  • Reliable: Tests perform precisely the same operations each time they are run, thereby eliminating human error
  • Repeatable: You can test how the software reacts under repeated execution of the same operations.
  • Programmable: You can program sophisticated tests that bring out hidden information from the application.
  • Comprehensive: You can build a suite of tests that covers every feature in your application.
  • Reusable: You can reuse tests on different versions of an application, even if the user interface changes.
  • Maintainability: The effort needed to update the test automation suits for each new release.

Where to Use: 
  • Tests that need to run on every build.
  • Regression, Performance and Functional tests( Data driven tests)
  • Repetitive tasks that are boring or tend to cause human error
  • Relatively stable areas of the application over volatile ones must be automated.

    Where Not: 
        ✗ Usability Testing 
        ✗ One-time testing
        ✗ Ad-hoc testing( Automation will be too time consuming)
    Automation Testing Outcome:
    • Providing more coverage of regression testing
    • Providing a detailed test log
    • Improving productivity of human testing

    insert screenshot taken in a word document.using Vb script

    Set win = CreateObject("word.application")
    win.Documents.Open "D:\screenshots.doc"    ' open existing file
    win.Selection.InlineShapes.AddPicture ("D:\dd.bmp")    ' adding sample pictures

    win.Selection.EndKey ' inserting end key to avoid overlapping
    win.Selection.InsertBreak
    win.Selection.InlineShapes.AddPicture ("D:\dd.bmp")

    win.Documents.Save
    win.Documents.Close
    win.Quit
    Set win = nothing