How to close all browsers other than ALM in UFT using Descriptive Programming. – User friendly Tech help

Requirement:– Close all browsers other than Application life cycle (ALM/QC) nn n n n n n Kill browser other than ALM  n n n Solution:– We followed the concept of Descriptive Programming in UFT to achieve the result.nnApproach:– Very simple and straight flow,look for all the opened browsers (Creating DP object ). Incase browser is not…

Prerequisites for starting with selenium webdriver? – User friendly Tech help

Whole automation fraternity is crazy about the emerging demand of selenium.Today we are sharing our 1st post on selenium.We are not doing something out-of-box, however we tend to start a basic step towards helping people learn Selenium.Hope our this initiative can guide and mentor our budding automation coders.nnRequirement:- What is required to execute and get…

Synchronization in UFT – User friendly Tech help

We are already done with the synchronization in selenium, today we would discussing the same in UFT.Before starting with the synchronization we would recommend to use Exist,WaitProperty,Sync rather than using Wait. n 1.waitnThis is used when we want UFT to wait for the specified time, so that AUT completes its current operations.It is like pausing…

Trail version of UFT/QTP asks for License Key? – User friendly Tech help

These days i got lot of queries regarding, “We are not able to install UFT/QTP trail version” and also after installation it asks for “License Key”.nnThus thought of sharing this article with automation lovers so that they are able to handle this issue.nnProblem:– Trail version of UFT/QTP asks for License KeynnSolution :- nPlease follow the following…

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 disable Right Click, using Angular JS? – User friendly Tech help

nRequirement:- We need to disable Right Click on links in our Angular JS Application?nn n n n n n Context-Menu default behaviour n n n nSolution:-nWe wrote a directive to override the default behaviour of “Context Menu”nnFurther we can use this directive to bind specific action on right click, using the contextmenu event.The contextmenu event fires when…

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 …