preload

GP/QTP Automation: Highlight controls in Dexterity ...

Posted by Albert Gareev on Oct 26, 2009
0
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 function – put in your Excel VBA macro file Note. Ignores sanScript errors VBScript function – put as Dexterity Interface Class method Note. If you use it as an embedded function don’t […] ...

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

Posted by Albert Gareev on Oct 25, 2009
2
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”) Check if the file exists first. When to use it? There is a variety of utility tasks related to it: get parent folder, create another file in the same folder, create another […] ...

How to check if file exists (QTP, VBScript)

Posted by Albert Gareev on Oct 24, 2009
2
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).   Does file format matter? No. It could be text file, excel spreadsheet, bitmap, binary file, – anything. Just make sure you […] ...

Radiation 8 times higher than expected… yet no ...

Posted by Albert Gareev on Oct 19, 2009
0
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 flow of blood to brain tissue. That meant resetting the machine to override the pre-programmed instructions that came with the scanner when it was installed. “There was a misunderstanding about an […] ...

How to open Excel workbook (QTP, VBScript)

Posted by Albert Gareev on Oct 17, 2009
0
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
4
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 were a social movement of British textile artisans in the early nineteenth century who protested—often by destroying mechanized looms—against the changes produced […] ...

GP/QTP Automation: GUI Capture script for Dexterity ...

Posted by Albert Gareev on Oct 12, 2009
6
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 – GP/QTP Automation   Programming language and tool: VBScript / QTP.  The script produces an output as XML file with the structure similar to QTP object […] ...

Data Container Boundaries

Posted by Albert Gareev on Oct 07, 2009
0
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 numbers. Digital nature of computers makes them specific and discrete with numbers; once-and-forever defined memory cells serve that purpose. The capacity […] ...

Heuristics exposed

Posted by Albert Gareev on Oct 05, 2009
1
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 categorized, before conclusion is made. A Scientific Method of Learning consists of the collection of data through observation and experimentation, and the formulation and testing of hypotheses. […] ...

Service Functions – XML (QTP, VBScript)

Posted by Albert Gareev on Oct 02, 2009
0
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  Returns reference of XML Element Returns text value of XML Element Returns reference of XML Attribute Returns text value of […] ...

Service Functions – String (QTP, VBScript)

Posted by Albert Gareev on Oct 01, 2009
2
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, RegEx)   Replace pattern(s) in a string Number conversion and initialization with a default value   Initialize string with […] ...
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.