How to download a file from ALM in UFT using OTA? – User friendly Tech help

Requirement:-nHow we can download a give file from ALM (“Test Resources” Tab) using OTA?nn n n n n n Test Resources Tab n n n nnSolution:-nWe will utilize “QCUtil” , a utility object available in UFT, to leverage the methods and properties of OTA(Open Test Architecture) for downloading the user given file.nnLogic:-nOur approach is to…

Using Prettier with Apex Salesforce in VSCode – User friendly Tech help

Prerequisite:- VSCode is fully configured to work with Salesforce n n Select the existing Salesforce Project. At the root level run the below command in the Terminaln npm init //this will create package.json file to track npm dependencies n Run the below code to install the prettier apex npm plugin, as a local dependency to…

Real meaning of Regular Expression’s(RG’s) – User friendly Tech help

n It is a way of representing data using symbols, which are in the form of special characters like ‘*’,’ +’, ’.’,  ’’.nn Further these characters are used for search of particular pattern in strings. n RG’s in UFT: n These are used in UFT to identify objects and text strings with varying values very useful…

How to close all browsers other than ALM in UFT using Descriptive Programming. – User friendly Tech help

Requirement:– Close all browsers other than Application life cycle (ALM/QC) nn n n n n n Kill browser other than ALM  n n n Solution:– We followed the concept of Descriptive Programming in UFT to achieve the result.nnApproach:– Very simple and straight flow,look for all the opened browsers (Creating DP object ). Incase browser is not…

Synchronization in UFT – User friendly Tech help

We are already done with the synchronization in selenium, today we would discussing the same in UFT.Before starting with the synchronization we would recommend to use Exist,WaitProperty,Sync rather than using Wait. n 1.waitnThis is used when we want UFT to wait for the specified time, so that AUT completes its current operations.It is like pausing…