Posts

UFT/QTP HTML RESULTS FUNCTIONS

Public Function commonconfig (environmentFilePath) Dim fso Set fso = CreateObject("Scripting.FileSystemObject") If (fso.FileExists(environmentFilePath)) Then   '"D:\QTP POC\ENVIRONMENT\commonconfig.xml"         Environment.LoadFromFile(environmentFilePath) else msgbox "Environment variable file is missing. Place the file and Try again !!" End If End Function ################################################################################# Public Function logger(filePath,message) Dim fso,f,wr Set fso = CreateObject("Scripting.FileSystemObject") If (fso.Fileexists(filePath&"log_"&DatePart("d",Date)&"_"&DatePart("m",Date)&"_"&DatePart("YYYY",Date)&".txt")) Then else fso.createtextfile (filePath&"log_"&DatePart("d",Date)&"_"&DatePart("m",Date)&"_"...

SELENIUM

Image
SELENIUM  BASIC   Selenium: Webdriver: It is a free and open source web application automation tool, which performs the action on the application by calling native methods of the browser. Installing selenium web driver: or setup the web driver 1)       Required software’s: 2)       JDK(Java development kit) latest version 1.7 or 1.8 3)       Eclipse IDE 4)       Mozilla Firefox browser 5)       Selenium jar file Download the selenium jar file steps: 1)     Open browser and click this link : 2)       Click download version on selenium server section : 2.43.0 And save into respective location 3)     Open Eclipse create a java project Select->properties->Java build path  -> Libraries -> Add external Jar files And select the s...