Issue with Apex replay debugger on running debug logs in VS Code

Problem: While running the Apex replay debugger in VS Code on a debug file, an error message is generated. Solution: To address the error, update the first line of the log file before initiating the Apex debugger. Before Update: 48.0 APEX_CODE,FINEST;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;NBA,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WAVE,INFO;WORKFLOW,FINER After Update: 48.0 APEX_CODE,FINEST;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;NBA,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,FINER;WAVE,INFO;WORKFLOW,FINER The logging level of the VF Page was changed to…

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 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…

Up and Running with React in 10 minutes – User friendly Tech help

“All great achievements require time…. Maya Angelou”nWe already learned how to create our first Angular.io App in 10 minutes, this time we’ll repeat the same with React library.So lets get started.nnKey terminologies in react appnnBrush up :-nWe already know that in React we play with Javascript and embed html inside the jsx files to create…