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

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 to launch Application from Command Prompt in UFT? – User friendly Tech help

Scenario:- How we can launch our application to be automated from ‘Command Prompt‘ in UFT/QTP?nnSolution:- Today we faced the situation, where we were not able to launch application nfrom ‘SystemUtil.Run’.Problem was that our application was not directly in the form of .exe, nbut rather it was expecting parameters based on the Region for which we want this…

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…

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…

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…

CSS Positioning – User friendly Tech help

Meaning of CSS Positioning:-nThe CSS positioning property provides options to position an element. An element is said to be positioned if it its position property has a value other than static .Positioned elements results in boxes by using four properties – top, bottom, left, right.nnSyntax:-n position: static|absolute|fixed|relative|initial|inherit; n Types of positioning:-nStatic: n div { position:…

Implement Robot Framework using RIDE (Part-2) – User friendly Tech help

In our part-1 we learned how to work with  existing test case written as .robot/.txt inside RIDE.nnHere we would learn to implement the robot framework functionality in RIDE itself.Further we would move towards best approach in RF.nDo follow us on  Fb,G+,Twitter, it encourages us to learn and share more.nRequirement:- Enhance our existing test case using…

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…