How to compare values in Custom Metadata with given object in Apex – User friendly Tech help

Problem- Admin wants some value as configurable and set in custom metadata, now as a developer, we want to perform an action based on the matching of this mdt with values in say platform field on the account object n public Boolean validatePlatform() {n System.debug(‘Inside validatePlatform’);n List lstOfPlatforms = new List(); n Boolean isValidPlatform =…

How to call Javascript/VBS functions in Robot Framework. – User friendly Tech help

Scenario:-How we can call javascript/vbs functions in Robot Framework?nSolution:- nVBS:-nUsing the python function to call the VBS file. n Download the working code. n Javascript:-nUsing the inbuilt Keyword in Selenium2Lib called as “Execute Javascript“. nn Learn Robot Frameworkn

Easy way to calculate Return on Investment in Automation – User friendly Tech help

Automation of software testing process always sounds good to Quality Engineer (QE) managers. Intuitively, you see that creating an automated test one time and then running it hundreds or thousands of times will enable you to expand test coverage, find defects earlier, and focus manual test effort where it is really needed. n n n…

Practical issues and solutions for working with JMeter – Part3 – User friendly Tech help

Scenario1:-nHow i can extract jmeter response into a variable?nSolution:-nWe can achieve it in different ways, we used Json Path PostProcessornin our example, nLets say our response json is in the given format:-nn{ “sensorId”: “123456bc-25e8-48e1-8abe-b24efe461501”, “sensorName”: “waterTemp”, “serialNumber”: “4345633352864906”, “status”: “ENABLED”}n Now to extract sensorId based on the “sensorNumber” we can extract it in following manner.  nn…

Various techniques to Refresh Browser window in Selenium – User friendly Tech help

Scenario: -We need to refresh the current instance of Application, using Selenium?nn n n n n n Refresh Yourself  n n n nSolution:-nnApproach1:- nUsing “Navigation” commands, we have already read about navigation commands, now we will try to use its methods to refresh the page.nnSyntax:-  n driver.navigate().refresh(); n nApproach2:-nUsing “Get” Commands. We will use “GetCurrentUrl()” command,nThis…