How to work with IFrame in Selenium. – User friendly Tech help

Scenario:–nOur application has a iFrame control, how we can work with this control using Selenium.n n n n n n Learn to solve the iFrame puzzle in selenium n n n nSolution:-nLets try to understand iFrame first.nnWhat is iFrame?nAn iFrame (or Inline Frame) is an HTML document embedded inside the current HTML document on a…

Install Log4j in Eclipse – User friendly Tech help

We are done with basic introduction to log4j, now lets make our setup ready to work with log4j in selenium.nnDownload  Log4j:-nStep1:-nOpen the link:-nNote:- we have used the older version of log4j1.2x in our example code, nNew version of  http://logging.apache.org/log4j/2.x/download.html is also available.nStep2:-nClick on the below link  n n n n n n log4j zip file link n n…

License Activation of UFT – User friendly Tech help

Steps for License activation of UFT:-nFor trail version activation n 1. Install the HPUFT setup on Client machine(Your Local Machine). n 2. After successful installation launch the application by any of the following ways:- n ·        By clicking on HPUFT desktop icon. n ·        Click on Start->AllProgarms->HP QuickTest Professional->HP QuickTest Professional n  3. HPUFT license…

Robot Framework- Working with Excel Library(Part-3) – User friendly Tech help

After our installation and fetching data from excel we would move towards writing data into excel. n nScenario:-How to publish robot framework run results into Excel?nnWe can connect on Fb,G+,Twitter to find what we do next?.nnSolution:- nStep1:- Create excel at run time with given heading inside Results folder.(At “Suite Setup“)nStep2:- Add test details (at Test Case “Setup”) to…

Introduction to Selenium? – User friendly Tech help

Today we are focusing on the background check of Selenium.nnWhat is Selenium?nnSelenium automates browsers.Selenium is an Open Source(Freely Available)and combination of software tools which is used in automation testing of web applications across different browsers and platforms.nnSelenium is a set of multifarious software tools each with a different approach to supporting test automation.nThe name Selenium…

Visual Relation Identifier in UFT – User friendly Tech help

n Introduction:- nA visual relation identifier (VRI) is a set of definitions that enable you to identify the object in the application according its neighbouring objects in the application.nnn You can select neighbouring objects that will maintain the same n relative location to your object, even if the user interface design changes. n This helps UFT to identify similar…

Executing Failed TestCases in Selenium using TestNG – User friendly Tech help

Scenario:-nWe want to re-run only the failed testcases in selenium, rather than running the entire suite.nnApproach:-nEvery time tests fail in a suite, TestNG creates a file called testng-failed.xml in the output directory. This XML file contains the necessary information to rerun only these methods that failed, utlizing this we can easily rerun the failed tests…

Utility Objects in UFT – User friendly Tech help

Meaning of Utility Objects:- n Utility objects are basically reserved keywords in UFT . This means their functionality is already defined in UFT compiler .For example in C language we used “Printf”  function, whose meaning was defined in  standard library of functions that were accessible by C program.n n On the same tracks UFT provides…