Java Tutorial 2

Java Tutorial 2 (Comments in Java, Java Data Types, Java Modifiers, Java Variables and Operators in Java) I) Comments in Java Comments are English words, can be used for code documentation. Purpose of Comments: a) To make the code Readable b) To make the code disable form execution Comments Syntax in Java: Use // for … Read more

Java Tutorial 1

Java Tutorial 1 (Java Environment Setup and Write First Java Program) > Download Java (JDK) Software and Install > set Environment Variable (Path Variable) (* If want to execute Java programs from any directory in C Drive) How to set Path Environment Variable: OS: Windows 7 > Select MYComputer and Right click > Properties > … Read more

Security Testing Interview Questions

Security Testing Interview Questions and Answers 1) What is Security? Security is set of measures to protect an application against unforeseen actions that cause it to stop functioning or being exploited. Unforeseen actions can be either intentional or unintentional. 2) What is Security Testing? Security Testing is a type of software testing that intends to … Read more

SAP Testing Interview Questions

SAP Testing Interview Questions 1) What is SAP? SAP is the name of the company founded in 1972 under the German name (Systems, Applications, and Products in Data Processing) is the leading ERP (Enterprise Resource Planning) software package. 2) What is SAP Testing? SAP testing helps to detect and rectify errors at all project phases.So … Read more

JMeter Interview Questions

JMeter Interview Questions and Answers 1) What is Jmeter? • A multifunctional open source software testing tool with huge online community support and large database of fans. • Jmeter is developed in Java. Due to its pluggable nature with different tools, it is giving huge competition to different tools and has occupied large market share … Read more

VBScript Tutorial 7

VBScript Tutorial 7 (VBScript File System Operations Part-2) 6) Create a Text file Note: File System Object is only used for Drives, Folders and Flat files. We can create and delete other types of also, but we can’t perform internal operations like Reading, Writing etc… Dim objFso Set objFso = CreateObject(“Scripting.FileSystemObject”) objFso.CreateTextFile “C:\Users\gcreddy\Desktop\QTP.txt” objFso.CreateTextFile “C:\Users\gcreddy\Desktop\QTP.doc” … Read more

VBScript Tutorial 6

VBScript Tutorial 6 (VBScript Built in Functions Part-2, File System Operations part-1) I) VBScript Built in Functions Part-2 20) LCase Function Converts Upper case values to lower case. Ex: Dim val val = “HYDERABAD” Msgbox LCase(val) ‘hyderabad Msgbox LCase(“HYDERABAD”) ‘hyderabad Msgbox LCase(“hyderabad”) ‘hyderabad Msgbox LCase(“HYDerabad”) ‘hyderabad Msgbox LCase(“HYD123”) ‘hyd123 Msgbox LCase(123) ‘123 —————————- 21) UCase … Read more

VBScript Tutorial 5

VBScript Tutorial 5 (VBScript Functions) I) VBScript User defined Functions i) Create a Sub Procedure with no Arguments Sub Login () SystemUtil.Run “C:\Program Files\HP\Unified Functional Testing\samples\flight\app\flight4a.exe” Dialog(“Login”).Activate Dialog(“Login”).WinEdit(“Agent Name:”).Set “asdf” Dialog(“Login”).WinEdit(“Password:”).SetSecure “5566695dab8b9f47c06f8ba443bdba84f0d5274e” Dialog(“Login”).WinButton(“OK”).Click End Sub Call Login() ————————————————— ii) Create a Sub Procedure with Arguments Sub Login (Agent, Password) SystemUtil.Run “C:\Program Files\HP\Unified Functional Testing\samples\flight\app\flight4a.exe” Dialog(“Login”).Activate … Read more