Posted by Albert Gareev on Jan 14, 2008
Parent page: Service Functions – Math (QTP, VBScript) Description Sorts one-dimentional array in ascending / descending order with typecasting. Implementation Unit Tests ...
Posted by Albert Gareev on Jan 12, 2008
Parent page: Service Functions – Math (QTP, VBScript) Description Sorts one-dimentional array in ascending / descending order. Implementation Unit Tests ...
Posted by Albert Gareev on Dec 10, 2007
Robustness is the quality of being able to withstand stresses, pressures, or changes in procedure or circumstance. A system, organism or design may be said to be “robust” if it is capable of coping well with variations (sometimes unpredictable variations) in its operating environment with minimal damage, alteration or loss of functionality. wikipedia.org Test Script […] ...
Posted by Albert Gareev on Nov 17, 2007
Reporting with WinRunner built-in functions ...
Posted by Albert Gareev on Nov 15, 2007
Generic GUI object Desktop / Web Window Desktop / Web Table Desktop / Web Button Web GUI hyperlink Check box / Radio button Desktop / Web Edit Box (Input Box) Desktop / Web List Box / Combo Box Desktop Dropdown Menu ...
Posted by Albert Gareev on Nov 10, 2007
Software Testing Hotlist by Bret Pettychord Open Source Testing eXtreme Software Testing ...
Posted by Albert Gareev on Oct 23, 2007
In the code examples I present I often refer to routine functions. In my framework I have specialized libraries to call from. In my blog I maintain the similar structure. Working with HTML Table Web Table operations (WinRunner, TSL) Get cell text Get cell object Find column by RegEx Find row by RegEx Check table […] ...
Posted by Albert Gareev on Oct 21, 2007
Service Functions – Windows Web GUI / WinRunner Loop through web page in order to find matching table Load web table data into matrix Load a range of web table data into matrix ...
Posted by Albert Gareev on Oct 19, 2007
Service Functions – Windows Web GUI / WinRunner Get cell text Get cell object Find column by RegEx Find row by RegEx Check table exists with defined text in expected cell ...
Posted by Albert Gareev on Oct 15, 2007
Declarations Restore window Minimize window Maximize window Window synchronization Close window ...
Posted by Albert Gareev on Oct 10, 2007
Synchronization in Test Automation What’s it about? As in regular, human-to-human conversation, it is important not to interrupt each other, and wait till a talker finishes a message, in human-to-program, and in program-to-program interaction, giving time is important. In conversation, we usually recognize end of a message by a pause in speech. In interaction with […] ...
Posted by Albert Gareev on Sep 27, 2007
Automated Test Report Requirements Every executed Test Scenario must be reported Report must include for each Test Case: description both in brief and detailed views Report format must be user-friendly and easily transferable to formats like MS Word, Excel Test Case Report Requirements Enlist order of the all Test Steps executed Define Test Data source […] ...
Posted by Albert Gareev on Sep 17, 2007
What to tell? In the previous post I gave an example of interesting fishing trip story. What makes it interesting? Details! And same about software testing: details is the most important thing. Automated testing script must report every little single thing to tester to provide as detailed picture as possible When to tell? While telling a […] ...
Posted by Albert Gareev on Sep 15, 2007
Test Log or Test Results? Well, I’ve got to start from definitions. Traditionally, Test Results is a table, enlisting Test Cases along with PASS/FAIL status. While one might think that PASS/FAIL status is the only important information, for Testers is more important to know what have been covered. Unfortunately, Test Case has no such granularity […] ...
Posted by Albert Gareev on Aug 25, 2007
Root page: Service Functions – XML In the code examples I present I often refer to routine functions. In my framework I have specialized libraries to call from. In my blog I maintain the similar structure. Creating XML file with WinRunner Definitions and initialization Create / Write XML Node Write body text and add comment node […] ...
Posted by Albert Gareev on Aug 22, 2007
Root page: Service Functions – XML Parent page: Service Functions – XML / WinRunner Write single child XML node Write a pack of child XML nodes ...
Posted by Albert Gareev on Aug 20, 2007
Root page: Service Functions – XML Parent page: Service Functions – XML / WinRunner Write child comment Write XML body text ...
Posted by Albert Gareev on Aug 18, 2007
Root page: Service Functions – XML Parent page: Service Functions – XML / WinRunner Create XML Node Add Attributes to XML Node Append XML Node to file Finalize XML Node to file ...
Posted by Albert Gareev on Aug 15, 2007
Root page: Service Functions – XML Parent page: Service Functions – XML / WinRunner Declarations and definitions Initialization Parsing Control flag Buffering ...
Posted by Albert Gareev on Jul 15, 2007
Is your automation asset or debt? Test Assets? Vendors, offering Test Automation tools, often refer to automation and its elements (i.e. scripts, data files, logs) as “test assets”. I could certainly agree with such reference, if it’s based on the assumption that since time, money, and effort were put [invested] to create those elements, they are assets. […] ...
Posted by Albert Gareev on Jul 05, 2007
Maintaining an old messed up suite of WinRunner scripts? See how they call / use each other. Note if GUI map files are opened and never closed. Know that it’s a serious performance issue. Notice name duplication issue. Solve the problem by closing GUI maps and cleaning memory. ...
Posted by Albert Gareev on Jun 23, 2007
2-tier Data-Driven Test Automation Architecture (WinRunner) – Advanced Reporting ...
Posted by Albert Gareev on Jun 20, 2007
2-tier Data-Driven Test Automation Architecture (WinRunner) – Functional Diagram ...
Posted by Albert Gareev on Jun 15, 2007
2-tier Data-Driven Test Automation Architecture (WinRunner) Business Components Business Components – Functions that implement a certain business-case testing specific functionality which is used by Test Scripts. Typically Business Components are contained within compiled modules; that allows re-using the implemented logic in a similar Test Scripts. Business Components may incorporate standard WinRunner TSL functions and Service […] ...
Posted by Albert Gareev on May 22, 2007
What is built-in verification mechanism Enterprise level automation tools are claimed to be suitable for a wide range of users, including non-technical, not programming, like some testers and business analysts. To support such types of users, tools offer a variety of pre-defined, built-in components. The component, implementing verification mechanism, is usually called “checkpoint”. With the help […] ...
Posted by Albert Gareev on May 15, 2007
What’s it about? Automated tests represent a certain test logic as a sequence of steps, manipulating data and interacting with a GUI. Test data, as in manual testing, could be data we feed into application-under-test (input data), retrieve from application-under-test (actual data, or actual result), and compare with (expected result). These data have to be […] ...
Posted by Albert Gareev on May 10, 2007
AdvancedQTP – resource hub by Meir Bar-Tal and Dani Vainstein LearnQTP – professional blog by Ankur Jain “Easy way to automate testing” – video tutorials and examples by Dmitry Motevich ...
Posted by Albert Gareev on Apr 25, 2007
Math primitives In the code examples I present I often refer to routine functions. In my framework I have specialized libraries to call from. In my blog I maintain the similar structure. Math primitives 1 (WinRunner, TSL) Absolute value (Modulus) Check if a value has a multiple Check if a value belongs to range Check if […] ...
Posted by Albert Gareev on Apr 23, 2007
Service Functions – Math / WinRunner Find and retrieve subrange, defined by RegEx ...
Posted by Albert Gareev on Apr 21, 2007
Service Functions – Math / WinRunner Add new column to a matrix Add new vector (column) to a matrix Retrieve vector (row or column) from a matrix Retrieve subrange (matrix) from a matrix ...