Recent Posts
AssociateParameters (QTP, TestComplete, VBScript)
Posted by Albert Gareev on Jan 02, 2009
Parent page: Service Functions – Dictionary (QTP, TestComplete, VBScript) Description Converts a string of comma-separated pairs “a=1, b=2, c = 3” to a Dictionary object. Spaces will be trimmed. Special characters: ...
Managing Recovery Scenarios (QTP, VBScript)
Posted by Albert Gareev on Dec 16, 2008
As promised, I’m writing more detailed post on QTP Recovery Scenario management. Overview Exception / Event Handlers in QTP are declared as “Recovery Scenarios” through wizard dialogs and ...
Automation that sucks
Posted by Albert Gareev on Dec 10, 2008
A company hired another “automated tester”… Process description In the nutshell, the actual job description is: Bring up an application-under-test Start “testing” script Babysit “testing” ...
WinRunner to QTP migration notes (4)
Posted by Albert Gareev on Dec 04, 2008
Error Handling In WinRunner, every GUI function returns result – an integer value. Checking status of an operation is as simple as single line: In QTP, most of GUI operations do not return code but execution stops if an ...
A little automation for VBScript OOP (2)
Posted by Albert Gareev on Nov 27, 2008
Generate code for Property Let / Property Get / Property Set methods of Delegator Object What to use 1. MS Excel worksheet as input / output interface 2. MS Excel VBA macro to generate source code 3. Input parameters Property ...
A little automation for VBScript OOP (1)
Posted by Albert Gareev on Nov 25, 2008
Generate code for Property Let / Property Get / Property Set methods What to use 1. MS Excel worksheet as input / output interface 2. MS Excel VBA macro to generate source code 3. Input parameters Property Name – External ...
Object-Oriented Programming with VBScript (2)
Posted by Albert Gareev on Nov 16, 2008
Continuing previous post, I explore Object-Oriented Programming with VBScript. Now I want to take a closer look at inheritance and practice its workaround, called delegation. Delegator Class example As you can see, ScreenPoint ...
Object-Oriented Programming with VBScript (1)
Posted by Albert Gareev on Nov 15, 2008
As I recently wrote, VBScript supports Object-Oriented Programming. However, we have to get used to certain limitations. Let’s start with an example of a corner stone principle – encapsulation. Class declaration ...
Minor defect as a symptom of a major defect
Posted by Albert Gareev on Nov 10, 2008
The story Maybe the story began when I noticed that a status message (a line displaying text at the bottom of the window) looked somewhat unusual. Or maybe when I checked the log file to investigate, and found out that the ...
Testing terminology: Incident
Posted by Albert Gareev on Oct 24, 2008
Reference page: Error, Bug, Issue, Incident More often than other developers, about incidents hear product managers, customer support techs, and product support programmers – whenever an end-user experienced and reported ...
Testing terminology: Issue
Posted by Albert Gareev on Oct 21, 2008
Reference page: Error, Bug, Issue, Incident The notable comment about word “issue” used in software testing context is that it’s often referred as a problem or an obstacle – which is uncommon meaning. ...
Testing terminology: Bug
Posted by Albert Gareev on Oct 16, 2008
Reference page: Error, Bug, Issue, Incident Let’s start from definitions. A software bug is the common term used to describe an error, flaw, mistake, failure, or fault in a computer program or system that produces an ...
Testing terminology: Error
Posted by Albert Gareev on Oct 14, 2008
Reference page: Error, Bug, Issue, Incident Let’s start from definition. “Error – a deviation from accuracy or correctness; a mistake, as in action or speech.” Dictionary.com Indeed, in the most ...
On Functional Decomposition
Posted by Albert Gareev on Oct 10, 2008
For Test Automation, Functional Decomposition is a test flow analysis and test design technique. And yet somehow it is often confused with structural programming. Decomposition of Test Flow Applying Functional ...
Error, Bug, Issue, Incident
Posted by Albert Gareev on Oct 05, 2008
“We have a build error…”, “You need to investigate that incident…”, “Today I fixed two bugs…”, “We already saw this issue in the last release…”. Are you ...
WinRunner to QTP migration notes (3)
Posted by Albert Gareev on Sep 20, 2008
Hardware Requirements QTP is much more greedy on resources. Don’t plan to reuse your old WinRunner machines. You’ll have to retire them with WinRunner. Give at least twice as more RAM than recommended by QTP specs, ...
WinRunner to QTP migration notes (2)
Posted by Albert Gareev on Sep 15, 2008
Integrity Support of XML, ADO, DotNET, and other services through COM is a greatest advantage of QTP. In WinRunner, there was only an awkward workaround of placing external calls through “dos_system” function and ...
WinRunner to QTP migration notes (1)
Posted by Albert Gareev on Sep 10, 2008
GUI Mapping In general, QTP supports “GUI Map” concept introduced in WinRunner. GUI Maps are called “Object Repositories” and editable in “Object Repository Manager”. “GUI Spy” ...
SetChildElementByAttr (QTP, TestComplete, VBScript)
Posted by Albert Gareev on Aug 30, 2008
Parent page: Service Functions – MSXMLDOM (QTP, TestComplete, VBScript) Description Sets text value for the child XML node specified via XPath query. Note: creates a new XML node if nothing was found. Implementation ...
GetChildElementValueByAttr (QTP, TestComplete, VBScript)
Posted by Albert Gareev on Aug 28, 2008
Parent page: Service Functions – MSXMLDOM (QTP, TestComplete, VBScript) Description Returns text value of a child XML node found via XPath query. Implementation ...
GetChildElementByAttr (QTP, TestComplete, VBScript)
Posted by Albert Gareev on Aug 27, 2008
Parent page: Service Functions – MSXMLDOM (QTP, TestComplete, VBScript) Description Returns child XML node via XPath query. Implementation ...
ChildElementValueByName (QTP, TestComplete, VBScript)
Posted by Albert Gareev on Aug 20, 2008
Parent page: Service Functions – MSXMLDOM (QTP, TestComplete, VBScript) Description Returns text value of a child XML node. Implementation ...
ChildElementByName (QTP, TestComplete, VBScript)
Posted by Albert Gareev on Aug 19, 2008
Parent page: Service Functions – MSXMLDOM (QTP, TestComplete, VBScript) Description Returns child node by tag name. Implementation ...
SetXMLElementProperty (QTP, TestComplete, VBScript)
Posted by Albert Gareev on Aug 14, 2008
Parent page: Service Functions – MSXMLDOM (QTP, TestComplete, VBScript) Description Dispatcher type function. Sets child node by name: attribute, text, comment, CData See Test Code section for examples. Implementation Test Code ...
GetXMLElementProperty (QTP, TestComplete, VBScript)
Posted by Albert Gareev on Aug 12, 2008
Parent page: Service Functions – MSXMLDOM (QTP, TestComplete, VBScript) Description Dispatcher type function. Reads child node by name: attribute, text, comment, CData See Test Code section for examples. Implementation Test Code ...
IDEF0 for Test Automation Design
Posted by Albert Gareev on Aug 10, 2008
What is it? IDEF0 is abbreviation for Integration Definitions for Functional Modeling [of Systems]. Zero means type of modeling. (IDEF0 – function modeling, IDEF1 – information modeling, IDEF2 – dynamics ...
p_SetXMLElementAttrText (QTP, TestComplete, VBScript)
Posted by Albert Gareev on Aug 06, 2008
Parent page: Service Functions – MSXMLDOM (QTP, TestComplete, VBScript) Description Set value of a child attribute. Implementation ...
p_GetXMLElementAttrText (QTP, TestComplete, VBScript)
Posted by Albert Gareev on Aug 05, 2008
Parent page: Service Functions – MSXMLDOM (QTP, TestComplete, VBScript) Description Returns value of a child attribute. Implementation ...
p_SetXMLElementCDataByIndex (QTP, TestComplete, VBScript)
Posted by Albert Gareev on Jul 25, 2008
Parent page: Service Functions – MSXMLDOM (QTP, TestComplete, VBScript) Description Iterate to index. Change value for existing CData node. Otherwise create new child nodes till index. Implementation ...
p_SetXMLElementCData (QTP, TestComplete, VBScript)
Posted by Albert Gareev on Jul 24, 2008
Parent page: Service Functions – MSXMLDOM (QTP, TestComplete, VBScript) Description Remove all existing child CData nodes. Create a new CData node. Implementation ...

