Month: May 2013

Example of Descriptive Programming using Regular Expressions

May 31, 2013

Scenario:- AUT:- http://in.finance.yahoo.com Test Steps:– Fill company name and click on “Get Quotes”.New page loads and click on “Historical Prices”Solution:-We will use “Descriptive Programming” and “Regular Expressions” to solve the problem in a easy and smart way. Step1:- Look for unique properties to identify the objects on the pageStep2:- Use “Regular Expressions” to solve the […]

Read More

UFT interview Questions

May 30, 2013

UR 1st Testing Help 1.What is the difference between Action and Function in UFT? 2.Explain the difference between image and Bit map check point? 3. Difference between verification and validation ? 4.Methods available in Reporter utility object? 5.How to get last four digits of “UFTHELP”?6.Regression v/s Re-Testing? Hints:-1.Action is a concept of UFT while Function […]

Read More

What does outstanding Automation(Job) means?

May 24, 2013

I came across a magnificent presentation of taking initiative while doing your regular task. What does Outstanding Automation mean??? Thought of sharing this with automation lovers, as we can relate same thing  to the concept of doing our task manually or by automation process.Whether we’ll be doing same task again and again (Crossing the river each day, taken from […]

Read More

QTP-10 v/s QTP-11 v/s QTP-11.5 v/s UFT-12

May 23, 2013

We tried to differentiate these 4 version of the product based on the new enhancements and features .  QTP-11:- New Results Viewer Visual Relation Identifier Log Tracking functionality helps you work with developers to pinpoint the root causes of unexpected behavior in your application QuickTest 11.00 provides Web Add-in Extensibility-based add-ins for ASP .NET Ajax, GWT, Yahoo […]

Read More

Math functions in UFT

May 22, 2013

Following is the list of  important Math functions in Vbscripting in UFT:- Abs   Atn  Cos  Exp   Fix   Int   Log   Rnd   Sgn   Sin  Sqr   Tan

Read More

VB-Scripting CDate v/s IsDate function

May 22, 2013

Function Name:- CdateMeaning :- Returns expression in the form of variant date. Syntax:- Cdate(date) date argument should be valid date format CDate recognizes date formats according to the locale setting of your system. Function Name:- IsDateMeaning :- Returns Boolean value, telling whether date conversion of expression is possible or notSyntax:- IsDate(expression) Returns “True” incase conversion is possible […]

Read More

VB-Scripting Asc v/s Chr Function

May 20, 2013

Function Name:- AscMeaning :- Used to get ANSI character code of “First” character of the string.ANSI:- American National Standards Institute. Chart of ANSISyntax:- Asc(String) No Arguments are given runtime error occurs Function Name:- ChrMeaning :- Used to get character associated with  ANSI character code(Reverse of Asc)ANSI:- American National Standards Institute. Chart of ANSISyntax:- Chr(code) Code :- ANSI number for a character Example:- Msgbox […]

Read More

Working with Excel Object Model in UFT

May 16, 2013

In this video tutorial we are going to discuss, working with Excel in UFT using our “Excel Object Model“.Topics discussed:- Understanding Excel object model(Application, Workbooks, Worksheet,Cell) Creating the corresponding objects for accessing Excel objects Fetching single cell data from excel Fetching data from complete Excel Writing data into Excel Cell Changing the Font color of […]

Read More

Addin for UFT-11.5 , QC/ALM integration.

May 16, 2013

What is Unified Functional Testing Add-in ? The Unified Functional Testing Add-in integrates ALM and Quality Center with Unified Functional Testing (UFT), enabling you to do the following using Quality Center or ALM: Create UFT GUI tests and add them to the test plan tree  View UFT tests  View UFT test or component resources (such […]

Read More

Vb-Scripting Array Function

May 15, 2013

Function Name:- ArrayMeaning :- Used to creating Arrays(Returns Array type Variant)Syntax:- Array(Arguments) Arguments are comma separated  No Arguments are given 0 length array is created Example:- Dim aNum aNum = Array(“Helping”,”People”,”Learn”,”uftHelp.com”) Msgbox aNum(0) ‘Returns Helping Msgbox aNum(1) ‘Returs People Msgbox aNum(2) ‘Returns Learn Msgbox aNum(3) ‘Returns uftHelp.com Msgbox aNum(4) ‘Throws Subscript out of range exception as […]

Read More