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…

Exploring Data Type & Variables in Java – User friendly Tech help

Java is a strongly typed programming language unlike Vbscript,Perl.In novice terms it means that all the variables in the Java programming language ought to have a particular data type.nnExample we cannot use a variable say “xyz” in the code before declaring this like:- String xyz;nnWhat is a Variable?nVariable is the name given to the reserved…

Vue.js npm run dev error with vue-cli – User friendly Tech help

Problem:- On running the npm run dev, command after installing vue-cli, following error is thrown?nStarting dev server…events.js:160      throw er; // Unhandled ‘error’ event n       ^ n Error: listen EADDRINUSE :::8080    at Object.exports._errnoException (util.js:1026:11)    at exports._exceptionWithHostPort (util.js:1049:20)    at Server._listen2 (net.js:1262:14)    at listen (net.js:1298:10) n     at Server.listen (net.js:1376:9)…. n Solution:-nFrom above error we can get…

Some basic manual testing questions? – User friendly Tech help

Today we are sharing some of the frequently asked manual interview questions:- n n Difference between testing and QA? n What is the difference between System testing and End-End testing? n What is the significance of V-model in testing? n Difference between Sanity and Smoke Testing? n Please explain Verification and Validation? n Can a…