How to maximise browser window in Selenium ? – User friendly Tech help

Scenario:- n What are the options we have to maximize our application using Selenium  nn n n n n n Motivating others to maximize their learning by sharing more. n n n Note:- Above image may look irrelevant as per the topic, but it is to motivate ppl to unleash their hidden potential,maximize learning and share more like a colorful…

Creating Pure Functional Component using React Memo – User friendly Tech help

import React from ‘react’;nimport Tabs from ‘../Tabs’;nimport ‘./RightPanel.scss’;nnnconst RightPanel = () => (n n n n n You are on Index.jsx filen n n You are on Panel.jsx filen n n n n);nnexport default RightPanel;n n Sample code where we are using Class component, when though we could have used functional component. n class RightPanel…

Creating a salesforce lightning web component in visual studio code – User friendly Tech help

import { LightningElement, track } from ‘lwc’;nnexport default class HelloLWC extends LightningElement {n //default valuesn @track typedValue = ”;n salutationOptions = [n {‘label’: ‘None’, ‘value’: ‘None’},n {‘label’: ‘Mr.’, ‘value’: ‘Mr.’},n {‘label’: ‘Ms.’, ‘value’: ‘Ms.’},n {‘label’: ‘Mrs.’, ‘value’: ‘Mrs.’},n {‘label’: ‘Dr.’, ‘value’: ‘Dr.’},n {‘label’: ‘Prof.’, ‘value’: ‘Prof.’},n ];nn //method on click of buttonn handleClick(){n const txtInput…

How Facebook tests Facebook? – User friendly Tech help

Thought of sharing a video “How facebook test facebook on Android“, this is taken from GTAC-2013(The Google Test Automation Conference (GTAC) is an annual test automation conference hosted by Google. It brings together engineers from industry and academia to discuss advances in test automation and the test engineering computer science field)nnn n nnHope you will…

Writing first test Case using Robot Framework? – User friendly Tech help

After our successful installation of Robot Framework and its required components or say dependencies, we would be writing our basic test case to taste the flavor of our newly learned framework. n nDo follow us on  Fb,G+,Twitter, it encourages us to learn and share more.nManual Test Case:-n[TC-001]-Launching the browser and search and launch the “uftHelp”…

What is JavaScriptExecutor in Selenium? – User friendly Tech help

What is JavaScriptExecutor?nnJavaScriptExecutor is an interface which provides mechanism to execute Javascript through selenium driver. It provides “executescript” & “executeAsyncScript” methods, to run JavaScript in the context of the currently selected frame or window.  n n n n n n Lets inject Javascript into Browser using Selenium n n n Why we use it?nnTo enhance…

How to convert Object Repository into XML format? – User friendly Tech help

We will be focusing on 2 methodologies to achieve our target.n n Approach 1:- nUsing “ObjectRepositoryUtil Object“ n ObjectRepositoryUtil(ORU):-By using this object we can work with object Repository files (Local/Shared) from outside of UFT. n We need to use “ExportToXML” method of ORU object. n n n n n n ExportToXML Method n n n ‘Creating…

Group id vs Artifact id for a project – User friendly Tech help

Problem:- nWhen creating a new project in java IDE, what is the significane of group id and artifact id?nnn nSolution:-nLets understand what are these values and why we use them.nnWhat?nGroup ID :- Its an value which gives unique name to the project (like primary key in SQL tables).nnArtifact ID:- Name of the project (jar file will…

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

n n n n n n n n More Scenarios n Scenario:- nHow to display results from Beanshell sampler to response?nnSolution :- nnSimple code example:- nnString display=”HelloWorld”;n//Taking results and displaying in responsenSampleResult.setResponseData( display);nnSampleResult.setDataType( org.apache.jmeter.samplers.SampleResult.TEXT );nnnScenario:- Not able to understand the error message thrown by jmeter in beanshell sampler or beanshell assertions? n Solution :-  nnUse try-catch n try{ int…