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 processing program as well) to produce a new document based on XML input document. The original document remains unchanged.
The output document format can be another [...] ...
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 – Overview
What’s it about?
In the nutshell (in my humble opinion), a dire need in terms separation was inspired by [...] ...
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” category, as it’s closely related to it. XPath is fairly simple to learn and very powerful in use.
You can use free XPath Designer Tool to validate queries you [...] ...
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 standard Windows dialogs through COM.
MsgBox
Use this function to report information (like value of a variable) during debugging or to report [...] ...
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 use as an “out of the box” solution
Apart of computer software world this is the single most popular approach. [...] ...
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 not provide mapping for XML methods that operate special nodes, like Processing Instructions. It can be done through Microsoft XML DOM object.
Dim objXMLDoc
Dim objNode
Set objXMLDoc = ...
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 “Nothing”.
Public Function CreateChildElementByName(ByRef objXMLParent, ByVal sTagName, ByVal sInnerText)
Dim objColl
If objXMLParent is Nothing Then
Set CreateChildElementByName = ...
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 testing community to submit articles for review on any testing subject you want to write about. The STC [...] ...
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: Software Engineering, Chapter 34: “Testing Your Application”.
Microsoft Dynamics Great Plains DexterityMacro System in “Recording Test Cases” document: ...
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 certain objects even if they were successfully mapped with Dexterity GUI Mapping Script or with GUI Capture Script.
And while highlighting window controls you may see that some were “omitted”.
The reason ...