Tips and Tricks for working with Robot Framework – Part-1 – User friendly Tech help

If you are still looking for that one person who will change your life, take a look in the mirror.nnProblem1:- How i can generate random test data in Robot framework?nnSolution:- Use FakerLibrarynnInstall :- npip install robotframework-fakernnNote:- Include FakerLibrary in settings as “Library FakerLibary”nnExample:- To generate random number we can use code as below:-nnn Problem2:- How to…

Understanding Automatic Runner(ALM) status Error on running UFT scripts. – User friendly Tech help

Following is the list of errors we can face while running scripts from ALM . These status error are sometimes confusing.To clarify on their meaning and comprehend them, we have written about most frequent error messages in automatic runner.nnPlease feel free to add errors/solutions, incase you have encountered in your interaction of UFT with ALM. n n 1.Unable to…

Creating first test case using Jmeter? – User friendly Tech help

Scenario:- How to create a basic level test case(its called test plan) in jmeter?nMost of us things that ppl r born smart, but truth is 99% of the smartest ppl n this world are driven by commitment to learn, learn and learn more.Learn more and share more 🙂 Fb,G+,TwitternPrerequisites:-n1.Test plan :- Container for running the tests….

Importing an library in Robot Framework comes in RED color. – User friendly Tech help

Issue: – We tried adding the Selenium2Libray in robot framework but its shown in red color(in settings) and we are not able to implement any of the keywords. n nRoot cause: – Anything coming in red in settings after importing generally means that particular library is not properly installed.nnLet’s check whether we were able to…

Understanding the ‘Use Strict’ in JavaScript – User friendly Tech help

What is ‘Use Strict’?nnThe “use strict” is new feature in JavaScript 1.8.5 (ECMAScript version 5) that permits us to put a program/function in a “strict mode”. It allows to write “Secure” JavaScript.n  Strict mode prevents certain actions from being taken and throws more exceptionsn nNeed of Strict Moden   n n    It catches some common…

Working with React-Router? – User friendly Tech help

“An investment in knowledge pays the best interest.” Benjamin FranklinnnIn our previous post we started with creating our first react app and than we learned about some basic terminologies in react. Today we are going to focus on creating the router behaviour using react library.nnIncase you want to learn about filtering in react check the github code….

Running Selenium test case in Google Chrome? – User friendly Tech help

We have already learned to execute selenium test case in Firefox browser . Now we thought of running the same test on “Google Chrome”.nnRequirement:- Executing selenium webdriver test case in Google chrome for the first time.nnSolution:-nWe simply tried to change the previous code and passed the reference of “chromedriver”.nnBefore :-n  WebDriver driver = new FirefoxDriver();nAfter:-n …

All about Locators in Selenium – User friendly Tech help

Locators in Selenium?nWhen we created our first IDE script, we found that Editor comes with the tabular structure with 3 columns namely Command, Target and Value.nThis structure is used by selenium core to simulate user actions on the application under test(AUT).Just a reminder of things again we have :-nnCommand:Is our action on the AUT like…

Run given process from Terminal using Robot Framework

Problem:- How to execute external files (say test.py) as process using robot framework? Solution:- Approach 1 :- Using Run Process keyword, under “Process” library Step1:- Include “Process” library in settings Step2:- Use “Run Process” keyword as below Comment Using Run Process Keyword ${result} = Run Process python -c print ‘Hello, world!’ Should Be Equal ${result.stdout}…