Selenium Interview Questions

Selenium Interview Questions and Answers 1) Selenium Real Time Interview Questions   2) Interview Questions on Selenium Fundamentals   3) Interview Questions on Selenium Test Process   4) Selenium WebDriver Interview Questions   5) Java for Selenium Interview Questions   6) TestNG Interview Questions   7) Selenium IDE Interview Questions   8) Selenium Grid Interview … Read more

VBScript Excel Object Model

VBScript Excel Object Model It is used to Perform Operations on Excel Application. Excel Application Excel File / Excel Workbook Excel Sheet / Excel Worksheet Create Excel Application Object Syntax: Set variable = CreateObject(“Class value”) example Set objExcel = CreateObject(“Excel.Application”) VBScript Excel Scripting Examples: 1) Create an Excel file Dim objExcel Set objExcel = CreateObject(“Excel.Application”) … Read more

VBScript FileSystemObject Part-2

VBScript FileSystemObject Part-2 1) Write data Continuously in a Text file. Dim objFso, objTextstream, num1, num2, Res num1=10 : num2 =20: Res=num1 + num2 Res2=num1*num2 Set objFso = CreateObject(“Scripting.FileSystemObject”) Set objTextstream = objFso.OpenTextFile(“C:\Users\G C REDDY\Desktop\abc.txt”, 2) objTextstream.Write “Addition of num1, num2 is: “&Res objTextstream.Write “Multiplication of num1, num2 is: “&Res2 objTextstream.Close Set objTextstream = Nothing … Read more

VBScript Excel Object Model Part-2

VBScript Excel Object Model Part-2 1) Read Test data from Excel file and perform Data driven testing for Login Functionality. And write/export Test Result and Error Message to the same file. Dim objExcel, objWorkbook, objWorksheet, RowsCount, i Set objExcel = CreateObject(“Excel.Application”) Set objWorkbook = objExcel.Workbooks.Open(“C:\Users\G C REDDY\Desktop\January.xlsx”) Set objWorksheet = objWorkbook.Worksheets(1) RowsCount = objWorksheet.UsedRange.Rows.Count objWorksheet.Cells(1, … Read more

VBScript Database Objects

  VBScript Database Objects 1) Database Connection Object It is used to connect to Databases. (* Database Connection String only varies from One Database to another) Create Database Connection Object Set variable = CreateObject(“Adodb.Connection”) 2) Database Recordset Object It is used to perform operations on Database tables (records) Create Database Recordset Object Set variable = … Read more

Error Handling and Debugging Tests in UFT

Error Handling and Debugging Tests in UFT 1) Error Handling using VBScript: Handling expected and unexpected errors. Expected Errors Whenever we use invalid input then we expect errors. Note: We use invalid input for negative testing. Unexpected Errors i) Resource Missing ii) Resource Response iii) Insufficient Resource. How to handle Errors i) Using Conditional statements … Read more

Java Conditional and Loop Statements

Java Conditional and Loop Statements Java Flow Control i) Java Conditional Statements 2) Java Loop Statements ————————————————————– i) Java Conditional Statements > Conditional Statements are used to insert verification points and error handling. a) Two types of Conditional statements in Java 1) if statement 2) switch Statement ———————— b) Types of Conditions 1) Single Condition … Read more

Introduction to Java

Introduction to Java i) Introducing Java Programming Language ii) Java Environment Setup iii) Java Program Structure/Java Syntax —————————————– i) Introducing Java Programming Language > Java Programming Language was developed by Sun Microsystems in 1995, Now it is subsidiary of Oracle corporation. > Java is an Object Oriented Programming Language, In Java everything is object, Java … Read more

Java Programming for Selenium

Java Programming for Selenium Why Java for Selenium? > Selenium written in Java, It does mean that Java only more compatible with Selenium, we can use other supported languages also. > Good support for Selenium with Java, You can get more help documentation and code implementations from internet. > Majority of Selenium Testers (nearly 77%) … Read more

Selenium Test Life Cycle

Selenium Test Life Cycle Phases : i) Test Planning ii) Generating Basic Tests iii) Enhancing Tests iv) Running and Debugging Tests v) Analyzing Test Results and Reporting Defects ———————————— i) Test Planning > Get Application Environment (UI Design Technology, Database) Details from development team. > Analyze the AUT (Application Under Test) in terms of Object … Read more