Running Selenium test case in Google Chrome? – User friendly Tech help

We have already learned to execute selenium test case in Firefox browser . Now we thought of running the same test on “Google Chrome”.nnRequirement:- Executing selenium webdriver test case in Google chrome for the first time.nnSolution:-nWe simply tried to change the previous code and passed the reference of “chromedriver”.nnBefore :-n  WebDriver driver = new FirefoxDriver();nAfter:-n …

Getting started with Sass (Installation) – User friendly Tech help

Requirement:-nnInstalling Sass on Windows/Linux/Mac platform.nnWhat is Sass?nSass(Syntactically Awesome StyleSheets) is an extension of CSS that adds power and elegance to the basic language. It allows you to use variables, nested rules, mixins, inline imports, and more, all with fully CSS-compatible syntax and adds features to combat shortcomings. Sass helps keep large stylesheets well-organized, and get…

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…