How to use FormattedMessage for input placeholder in React? – User friendly Tech help

Problem:- How we can translate the placeholder text for input-box using formatmessage? nn nSolution:-nIf we use react-intl its not meant to be used with  placeholders, alternate text, etc. They render HTML, not plain text, which is not useful in our scenario.nn1. Incase we have one or two values to translate, we can use FormattedMessage as wrapper as…

How to write my first Test Case using Selenium in Eclipse? – User friendly Tech help

We are already finished with the prerequisite for starting with “Selenium”.Now we are taking a step further towards learning “Selenium”.nYou can also check how to write first program in Eclipse.nnRequirement:-Configuring Selenium Webdriver Jar files in Eclipse to write our first Selenium Program.nnSolution:-nStep1:-Adding Jar files to EclipsennRight Click “Java Project” in Package Explorer ->Build Path ->Configure Build Path n…

Dictionary v/s Array? – User friendly Tech help

nWhat is the difference between Dictionary and Array?nnSolution:-nn1.For using Dictionary, we need to create its object using “CreateObject“, method, while Array is declared like normal variables using “Dim“nnExample:-nCreating Dictionary ObjectnSet obj = createobject(“scripting.dictionary”)nn‘Declaring array nDim arr(0)nnn2.Dictionary is more flexible and is richer in terms of built-in functionality. (It has range of methods and properties like Items, remove, Keys,Exists)nnExample:-n‘Creating Dictionary ObjectnSet obj = createobject(“scripting.dictionary”)n‘Using…

Counting File types inside a Folder structure. – User friendly Tech help

How to get count of particular file type inside a Folder. n ‘Function Call fn_FilesInFolder “C:UsersufthelpDocumentsPerso”,”pdf”‘*******************************************Sub*******************************’Function Name:- fn_FilesInFolder’Function Description:- Function finds number of particular files inside a Given folder ‘Input Parameters:- Folder Path,File Type’Output Parameters:- None ‘*****************************************************************************Public Function fn_FilesInFolder(sPath,sFileType) Dim iFiles:iFiles = 0 Dim iCount:iCount = 0 ‘Creating a object to work with Files Set…

Understand Keyword Driven Framework by using UFT – (Part 3) – User friendly Tech help

We are on the last step of completion of our “Keyword Driven Framework“.we hope you are quiet comfortable with our last tutorials on architecture of Keyword Driven Framework-Part 1 and its various components with working code in Keyword Driven Framework- Part 2, before arriving on the final step.Here we are discussing the last component of our framework i.e our Keyword sheet.We would discuss its structure with…

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