preload

Recent Posts

XSL introduction and references

Posted by Albert Gareev on Nov 30, 2009
Parent page: Service Functions – XML (QTP, VBScript)  What is XSL? The Extensible Stylesheet Language. An XSL script is a set of transformation instructions used by an engine (often, web browser, but could be any other ...

7 questions on "Testing vs. Checking"

Posted by Albert Gareev on Nov 25, 2009
While I was enjoying reading the series of articles and discussions around the subject, some points of concern questions were crystallizing in my mind, and now I feel ready to join the discussion by asking them. Part I – ...

XPath introduction and references

Posted by Albert Gareev on Nov 23, 2009
Parent page: Service Functions – XML (QTP, VBScript)  Note. Although there could be no “reusable function” that would construct XPath for you, I store current post under “XML Service Functions” ...

Using built-in and system dialogs in QTP

Posted by Albert Gareev on Nov 19, 2009
Even though automated testing scripts are intended to communicate with application under test there are cases when communication with tester is required. With QTP, we can use either built-in MsgBox / InputBox functions or link ...

Best tool for UI/Click based automated testing for Websites (discussed)

Posted by Albert Gareev on Nov 17, 2009
This is the discussion that took place on Software Testing Club forum. What are the most important things I see in it and what comments I feel necessary to give ? End-user perspective I’m looking for something that I can ...

QTP-XML service functions (7) – Add processing instruction

Posted by Albert Gareev on Nov 15, 2009
Parent page: Service Functions – XML (QTP, VBScript) Description This particular example demonstrates adding XSL call that contains instructions transforming XML tree to a web-page (HTML). Built-in QTP support for XML does ...

QTP-XML service functions (6) – CreateChildElementByName

Posted by Albert Gareev on Nov 14, 2009
Parent page: Service Functions – XML (QTP, VBScript) Description Uses .AddChildElementByName method to create a child XML node, then returns reference to the newly created object. If Parent XML node is not defined returns ...

Do you want to help with the all new Software Testing magazine?

Posted by Albert Gareev on Nov 13, 2009
If you are interested in writing about software testing then why not contribute an article to the Software Testing Club’s (STC) new magazine due to be published in January 2010. The STC are inviting anyone in the software ...

MS Dynamics Great Plains: Built-in Macro System

Posted by Albert Gareev on Nov 12, 2009
All related posts: Reference Page – GP/QTP Automation Documentation Microsoft Dynamics Great Plains Dexterity Programmer’s Guide: http://mbs.microsoft.com/downloads/public/GP90Docs/Prgv2.pdf Refer to “Part 7: ...

GP/QTP Automation: cross-dictionary issue with sanScript

Posted by Albert Gareev on Nov 09, 2009
All related posts: Reference Page – GP/QTP Automation  The problem  Those who tried sanScript code examples on their windows/objects probably noticed that Great Plains refuses to execute some instructions referring to ...

The keys are under the mat… The brains are on the Web… Are we missing something?

Posted by Albert Gareev on Nov 04, 2009
With regards to a recent post in Phil Kirkham’s blog. So it seems that any technical job challenge could be resolved with help of crowdsourcing. All you need to do is posting your request on the site like ...

Complex Data Boundaries

Posted by Albert Gareev on Nov 02, 2009
Complex Data Boundaries: overflow or type mismatch? Complex data types are created by composition of basic data types. Compositions of data of the same type are formed as arrays. Compositions of data of different type are formed ...

GP/QTP Automation: Highlight controls in Dexterity Window

Posted by Albert Gareev on Oct 26, 2009
SanScript, Visual Basic, and VBScript functions implementing the “Highlight in Application” feature as in QTP Object Repository Manager. All related posts: Reference Page – GP/QTP Automation   VBA/SanScript ...

How to separate file name and path (QTP, VBScript)

Posted by Albert Gareev on Oct 25, 2009
Parent page: Service Functions – System (QTP, VBScript) Use FileSystemObject.GetFile method to obtain a File object. Argument should be a full path string. Set FSO = CreateObject(“Scripting.FileSystemObject”) ...

How to check if file exists (QTP, VBScript)

Posted by Albert Gareev on Oct 24, 2009
Parent page: Service Functions – System (QTP, VBScript) Use FileSystemObject.FileExists method. Argument should be a full path string.   When to use it? Always before trying to access the file (delete, rename, or read from). ...

Radiation 8 times higher than expected… yet no malfunction?

Posted by Albert Gareev on Oct 19, 2009
Hospital error leads to radiation overdoses The article: http://www.latimes.com/news/local/la-me-cedars13-2009oct13,0,1200257.story (…) Doctors believed it would provide them more useful data to analyze disruptions in the ...

How to open Excel workbook (QTP, VBScript)

Posted by Albert Gareev on Oct 17, 2009
Parent page: Service Functions – Excel (QTP, VBScript) Description Check the file exists – Create an instance of Excel by using COM – open (load) file ...

Why Human Validation is always needed (in discussion)

Posted by Albert Gareev on Oct 15, 2009
This is the discussion slowly going on Justin Dessonville’s blog post. With the arguments taken from famous “Testing vs. Checking” article by Michael Bolton it once again reminds me of Luddites. The Luddites ...

GP/QTP Automation: GUI Capture script for Dexterity Window

Posted by Albert Gareev on Oct 12, 2009
A script capturing Dexterity objects (both GUI and non-GUI) contained within the window. Great Plains application is required to be up with the particular window invoked and activated. All related posts: Reference Page – ...

Data Container Boundaries

Posted by Albert Gareev on Oct 07, 2009
Data Container Boundaries: where is the weakness? All the values used by computer programs are classified by type (integer number, floating point number, string, date, etc.), and all data types are internally encoded with ...

Heuristics exposed

Posted by Albert Gareev on Oct 05, 2009
Software Testing is an empirical process. Empirical approach as an opposite to theoretical requires observation, investigation and experimenting. Results of those actions performed are collected, documented, analyzed, and ...

Service Functions – XML (QTP, VBScript)

Posted by Albert Gareev on Oct 02, 2009
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.  Using built-in QTP-XML Objects and Functions  ...

Service Functions – String (QTP, VBScript)

Posted by Albert Gareev on Oct 01, 2009
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. Matching string with a pattern (Regular Expression, ...

Ping your blog and see the stats

Posted by Albert Gareev on Sep 28, 2009
At Pingdom Tools you can submit your web-page address and almost instantly get stats reported. What it does? The Full Page Test loads a complete HTML page including all objects (images, CSS, JavaScripts, RSS, Flash and ...

GP/QTP Automation: interface class for Excel.VBA macro

Posted by Albert Gareev on Sep 25, 2009
All related posts: Reference Page – GP/QTP Automation  The following object implements interface from QTP side. Function Libary Source Code Used resources: Service Functions – String (QTP, VBScript) Declare and initialize: ...

GP/QTP Automation: Overcoming VBScript limitation with Excel macros

Posted by Albert Gareev on Sep 23, 2009
All related posts: Reference Page – GP/QTP Automation   VBScript limitation  Since VBscript supports only Variant type attempts to use variable in a COM call with an argument defined as “[in, out] BSTR * “ reasonably ...

GP/QTP Automation: Executing sanScript

Posted by Albert Gareev on Sep 21, 2009
All related posts: Reference Page – GP/QTP Automation   General concept The Application object provides only a few methods for simulation of GUI interaction required in Test Automation. However, ExecuteSanScript method ...

Open Source Warfare, Shamozzle, and Wiki Spam on jargondatabase.com

Posted by Albert Gareev on Sep 18, 2009
jargondatabase.com – jargon terms and abbreviations. As for the terms mentioned in the title of the post, here are the links. Open Source Warfare Shamozzle Wiki Spam   ...

Test Automation Problems (5) – Integration – Support and Feedback

Posted by Albert Gareev on Sep 15, 2009
Parent page: Test Automation Problems Support and Feedback  Business logic investigation, test case design, and test script programming are distinct activities. A professional automation engineer is capable of carrying out the ...

Test Automation Problems (5) – Integration – Requirements

Posted by Albert Gareev on Sep 14, 2009
Parent page: Test Automation Problems Requirements  Trying to do something without understanding what you are supposed to get often produces unexpected results. With regards to computer software the expectations must be even ...
Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported
This work by Albert Gareev is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported.