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 …

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…

salesforce – Page 2 – User friendly Tech help

Smart way of working with Salesforce Vlocity Dataraptors STart small but think big Problem- How to improve productivity while working with Dataraptors 1)Always start with creating new version of the dataraptor, it avoids overwriting the existing stable changes, or you can always fall back to previous versions in case your changes don’t work as expected….

Various ways to Reverse String in UFT/QTP using Vbscripting – User friendly Tech help

Scenario:- We need to Reverse a String, without using Vb-scripting Inbuilt Function(strReverse)n Solution1:- We will use “Mid” function for reversing the Input String n Example Code:- n sRev = “UFTHELP, Ur First Testing Help”Msgbox fnReverse(sRev)Public Function fnReverse(sRev) for i = 1 to len(sRev) sNew = mid(sRev,i,1) &sNew nextfnReverse = sNewEnd Function n nn n Solution…

Understanding Selenium WebDriver Navigation Commands? – User friendly Tech help

After successfully running our first test case on Firefox and Chrome. We are stepping towards grasping the essential navigation commands in Selenium. Thus we are going to discuss about multifarious browser commands that we would be using in our day to day automation testing. n Requirement :- nHow to navigate in Browser using Selenium Webdriver?nnSolution :-nWe…