Using VSCode with Vlocity Salesforce

Prerequisite: Ensure you have the “Salesforce Vlocity Integration” extension installed in VSCode. Steps to Use Vlocity with VSCode: Activate the extension by pressing CTRL + SHIFT + P. Choose Vlocity: Select Salesforce Org. You can either use an existing verified Org with Salesforce or start with a fresh VSCode setup. Click on the vlocity cloud…

Exception handling in Java? – User friendly Tech help

Exception handling plays a crucial part in mastering Selenium, and designing Frameworks, thus we thought of digging deeper into this topic.We have also discussed about ways of handling Exceptions. n nLet’s begin with keynotes before starting with the detailed explanation:- n n An exception is any event, which interrupts the normal flow of the program execution….

Launching UFT with VAPI-XP from ALM? – User friendly Tech help

Let us further enhance our code to launch UFT script from VAPI-XP in ALM. We are already familiar with “Hello World!!” code in VAPI-XP .We are going to run the same line of code but this time we are utilizing UFT to execute it.nnRequirement:-nLaunching and running UFT script from VAPI-XP in ALMnnImplementation:-nStep1:- nCreate a simple Test…

Data Parameterization in TestNG – User friendly Tech help

Parameterization using TestNG plays a crucial role while creating the framework and automation scripts.It assists in running multiple iteration with different set of data.n n For example, we can achieve Parallel execution using TestNG, in that case browsers are passed as the parameters.n n There are two ways to parameterize in TestNG:n n 1.Using Parameters…

Working with Action Interface in Selenium – User friendly Tech help

To perform Advanced User Interactions, like drag and drop, keyboard events; selenium came up with Action and Actions interface under a  comprehensive API, named as Advanced User Interaction which facilitate user actions to be performed on a application. Thus users can use this API to simulate usage of keyboard or mouse events. n n n…

Vlocity Omniscript reverts back to initial step on reloading?

Problem: As per the current version of OS, when the user refreshes the current page (step in OS terms), it takes the user back to the initial step, without saving the changes. Solution: To avoid the above problem statement, that when a user accidentally or knowingly tries to refresh the browser page for OS, it’s…

How to create Object Repository in Selenium – User friendly Tech help

Unlike QTP/UFT, Selenium does not offer the default implementation for  object repository. In QTP things are really straightforward, just object spy the controls and add to object repository, and further with the blessings of intellisense feature in its IDE, utilize them easily in writing scripts. n But how we can achieve the same in selenium??..nIt can be…

How we can load function libraries at Runtime in UFT? – User friendly Tech help

Loading function libraries at runtime was introduced in QTP-11. This feature enables loading of libraries when step runs instead of at the beginning of Run session.nnThis is helpful incase you need only particular set of function libraries based on the environment of AUT.nnFor example:- we are doing localization testing of our AUT, so instead of associating all the function libraries to…