Pre requisites for running your UFT 12+ (Unified Functional Tester) scripts from ALM 11.5 (or Quality Center)

Below are the prep-requisites which are very much required before executing your automation scripts created in UFT from ALM:


  1. Connection of UFT with ALM for loading automation scripts
  • You should have admin rights on the machine to make first connection of UFT with ALM. After first connection, the admin rights are not required.
  • Sometimes instead of having admin rights the connection, UFT is not able to make connection with ALM. In those scenario's the UFT setup needs to be done through the setup file on your machine instead of some shared library or drive.
  • Click on ALM -> ALM Connnection and Enter username and password. Click on connect button. Select the Domain and project then click on login button.

     2.  All resources in you automation scripts should be uploaded in ALM
  • The shared object repository getting used in automation script should be saved in ALM Test Resources tab. And this should be referenced in your automation scripts under test settings.
  • The functional libraries also need to be saved in ALM test resources and should be refrenced in test settings from ALM test resources path.
  • If you are using data table then it should be used in the same way as we have used shared repository and functional libraries.
  • But if you are using excel sheets then you can attach them either in the folders in test plan or in the test set. Then by creating the functions to download the excel doc on the testing host and used in the script from temp path.
I will be continuing with more details in my next post which will also have the coding part for downloading the attachments from ALM and how to upload them again after updating it with output results.

Comments

Popular posts from this blog

UFT - Resolving scrolling issue if object is not visible

How to create a zip folder using VBScript

how to access the excel file as database in UFT?