Posted by Albert Gareev on Jul 29, 2009
Parent page: Test Automation Problems Resource Conversion When starting up in-house Test Automation, companies often look for internal resources. While the benefits are obvious, there are some snags on this path. Problems and impact 1) Converting manual testing QA resources to test automation Strong programming skills and technical mindset are mandatory requirements, and must be considered […] ...
Posted by Albert Gareev on Jul 24, 2009
General Recommendation Object-Oriented GUI Recognition method should be used whenever possible. If an object is completely supported by testing tool then wrapping functions (provided by the testing tool) should be used to interact with the object. If an object is partially supported by testing tool then object’s native methods and properties should be used when […] ...
Posted by Albert Gareev on Jul 21, 2009
Parent page: Service Functions – XML (QTP, VBScript) Description Retrieves child comment node from comments collection and returns comment text as string. ...
Posted by Albert Gareev on Jul 17, 2009
Parent page: Service Functions – XML (QTP, VBScript) Description Returns scalar value of the XML child attribute specified by a name. Attribute name duplication within the same node is not allowed by XML rules. If there is no attribute with the name specified then “” (empty string) is returned. ...
Posted by Albert Gareev on Jul 16, 2009
Parent page: Service Functions – XML (QTP, VBScript) Description Returns XML child attribute (as XMLAttribute object reference) specified by a name. Attribute name duplication within the same node is not allowed by XML rules. If there is no attribute with the name specified then “Nothing” is returned. ...
Posted by Albert Gareev on Jul 15, 2009
Parent page: Service Functions – XML (QTP, VBScript) Description Returns scalar value of the XML child node specified by an xml tag name. If there are multiple objects with the same tag, returns value of the first reference. If there are no objects with the tag specified returns “” (empty string). ...
Posted by Albert Gareev on Jul 14, 2009
Parent page: Service Functions – XML (QTP, VBScript) Description Returns XML child node (as XMLElement object reference) specified by an xml tag name. If there are multiple objects with the same tag, returns the first reference. If there are no objects with the tag specified returns “Nothing”. ...
Posted by Albert Gareev on Jul 08, 2009
Parent page: Test Automation Problems Software Technical problems related to Test Automation Tools, and platform-product-tool compatibilities. Problems Test Automation Tool does not support Product’s platform (operating system) completely or partially Test Automation Tool does not support Product’s GUI (for Functional/Regression Test Automation) completely or partially (this may include total absence of support for the particular […] ...
Posted by Albert Gareev on Jul 03, 2009
There are no news in that but it’s the problem I have just faced first time – QTP doesn’t support the application, in any matter. Although it is declared it does support Delphi applications in fact it doesn’t support until you get a special build. The following is a recommendation how to get one (origin: QTP help). […] ...
Posted by Albert Gareev on Jul 01, 2009
Parent page: Test Automation Problems “Heavyweight” planning Traditional “Waterfall” type approach: planning of automation development activities months and months ahead, creating project phases, extensive documentation, trying to predict future coverage. Problems and impact Long-term budgeting and resource allocation planning is barely possible for automation projects as it is a secondary deliverable vs. the main software […] ...
Posted by Albert Gareev on Jun 18, 2009
Parent page: Service Functions – DotNetFactory (QTP, VBScript) Used resources Service Functions – String (QTP, VBScript) Implementing optional and default parameters Create TextBox along with the Prompt Label and place on the GUI Form Create ComboBox along with the Prompt Label and place on the GUI Form Create Button, assign the event, and place on the GUI […] ...
Posted by Albert Gareev on Jun 17, 2009
Parent page: Service Functions – DotNetFactory (QTP, VBScript) Creating .NET objects from VBScript/QTP You can create a basic Form and assign required properties within one line by calling the function below. The function has one mandatory parameter (which though is initialized by default if empty) and a set of optional parameters provided in the Dictionary object. […] ...
Posted by Albert Gareev on Jun 16, 2009
Parent page: Service Functions – DotNetFactory (QTP, VBScript) Creating .NET objects from VBScript/QTP You can create a ComboBox (Dropdown Listbox/InputBox Object) and assign required properties within one line by calling the function below. The function has one mandatory parameter (list of available selection items – packed in the Dictionary object) and a set of optional parameters […] ...
Posted by Albert Gareev on Jun 15, 2009
Parent page: Service Functions – DotNetFactory (QTP, VBScript) Creating .NET objects from VBScript/QTP You can create a CheckBox and assign required properties within one line by calling the function below. The function has one mandatory parameter (which though is initialized by default if empty) and a set of optional parameters provided in the Dictionary object. Currently […] ...
Posted by Albert Gareev on Jun 14, 2009
Parent page: Service Functions – DotNetFactory (QTP, VBScript) Creating .NET objects from VBScript/QTP You can create a TextBox (single-line Text Input object) and assign required properties within one line by calling the function below. The function has only optional parameters provided in the Dictionary object. Currently supported optional parameters: TextBox Width and Height. TextBox Coordinates – […] ...
Posted by Albert Gareev on Jun 13, 2009
Parent page: Service Functions – DotNetFactory (QTP, VBScript) Creating .NET objects from VBScript/QTP You can create a label and assign required properties within one line by calling the function below. The function has one mandatory parameter (which though is initialized by default if empty) and a set of optional parameters provided in the Dictionary object. Currently […] ...
Posted by Albert Gareev on Jun 12, 2009
Parent page: Service Functions – DotNetFactory (QTP, VBScript) Creating .NET objects from VBScript/QTP You can create a button and assign required properties within one line by calling the function below. The function has one mandatory parameter (which though is initialized by default if empty) and a set of optional parameters provided in the Dictionary object. Currently […] ...
Posted by Albert Gareev on Jun 10, 2009
Original date: 12 May 2009, 5:00pm Quality Assurance Functional/Regression Automated Testing and Test Automation Requirements: Usability, Maintainability, Scalability, and Robustness. Maintainability Requirements Matrix Setup – What level of convenience you want to have setting-up the scripts? If Test Data file and path are hard-coded in the script then pointing to another data file requires code change. […] ...
Posted by Albert Gareev on Jun 09, 2009
Original date: 6 May 2009, 12:30pm Quality Assurance Functional/Regression Automated Testing and Test Automation Requirements: Usability, Maintainability, Scalability, and Robustness. Scalability Requirements Matrix Platform – What applications should be able to handle the Framework? The business need for automation of QA/testing activities appears when testing volume, turnover and coverage requirements make it beneficial enough. Volume ...
Posted by Albert Gareev on Jun 08, 2009
Original date: 28 Apr 2009, 1:00pm Quality Assurance Functional/Regression Automated Testing and Test Automation Requirements: Usability, Maintainability, Scalability, and Robustness. Robustness Requirements Matrix Manned / Unmanned Test Execution – What level of manual efforts in automated testing would be acceptable for you? Baby-sitting Test script may stop or break execution at any moment. Manual action […] ...
Posted by Albert Gareev on Jun 07, 2009
Original date: 21 Apr 2009, 12:30pm Quality Assurance Functional/Regression Automated Testing and Test Automation Requirements: Usability, Maintainability, Scalability, and Robustness. Usability Requirements Matrix 2 Transparency – Do you want Automated Test execution to be another “black box”, or you want to have a fully reproduced picture with documented test results? Execution Log Built-in execution log […] ...
Posted by Albert Gareev on Jun 06, 2009
Original date: 14 Apr 2009, 1:30pm Quality Assurance Functional/Regression Automated Testing and Test Automation Requirements: Usability, Maintainability, Scalability, and Robustness Usability Requirements Matrix 1 Applicability – How would you want to use Automated Testing solution? Basic Regression Testing Implemented as a sequence of data entry steps going through the screens. No or simplified verification based on hard-coded ...
Posted by Albert Gareev on Jun 05, 2009
QA Automation – GUI Function Wrapping Some of the statements below will be covered in detail in my subsequent posts. Now I use them to get straight to Test Step requirements. Please read details below the picture. Quality Assurance Functional/Regression Automated Testing and Test Automation Requirements: Usability, Maintainability, Scalability, and Robustness. Let’s break them down […] ...
Posted by Albert Gareev on Jun 04, 2009
Original date: 30 Mar 2009, 1:30pm Front-End Test Automation Practices – Model-based Hybrid Keyword/Data Driven Framework 1. Description • Framework creation – Pure programmatically • Test creation – scriptless, visual design • Internal Data Model, capable to import/export data from various sources • GUI/Database checkpoints, parameterized/transitioned • Business Verification Rules • Framework-based structure; ...
Posted by Albert Gareev on Jun 02, 2009
Original date: 19 Mar 2009, 1:30pm Front-End Test Automation Practices – Keyword-Driven Framework 1. Description • Framework and keywords creation – programmatically • Tests creation – table editor (common practice – MS Excel) • Parameterized, capable to import spreadsheets • GUI/Database checkpoints, hard-coded and/or parameterized • Framework-based structure • Limited error handling • Keyword-based flow ...
Posted by Albert Gareev on Jun 01, 2009
Original date: 11 Mar 2009, 1:30pm Front-End Test Automation Practices – Data-Driven Framework 1. Description • Programmatically created • Parameterized, capable to import spreadsheets • GUI/Database checkpoints, hard-coded and/or parameterized • Library-based structure • Possibly error handling • Hard-coded yet data-driven flow (input and logic) • Standard reporting • Verification is limited to Testing Tool’s […] ...
Posted by Albert Gareev on May 31, 2009
Original date: 3 Mar 2009, 1:00pm Front-End Test Automation Practices – Record/Playback Enhanced 1. Description • Parameterized data • Dataset is a part of the script but not in the code • Verification via GUI checkpoints (hard-coded) • Hard-coded flow • No error handling • No or limited reporting • No structure 2. Advantages • […] ...
Posted by Albert Gareev on May 30, 2009
Original date: 26 Feb 2009, 1:00pm Front-End Test Automation Practices – Record/Playback 1. Description • Hard-coded data • Hard-coded flow • No error handling • No or limited reporting • No structure • No verification • No validation 2. Advantages • Easy to create • Quick to create • No programming required 3. Disadvantages • […] ...
Posted by Albert Gareev on May 27, 2009
Original date: N/A The post has been mostly recompiled from the comments. Displaying Text File comparison results in an embedded report. Refer to Text File Compare functions used to see how XML file is generated. Sample requirements to show comparison results stored in XML as a web-page (HTML). 1. Show file stats saved in xml file. […] ...
Posted by Albert Gareev on May 26, 2009
Original date: 26 Jan 2009, 1:30pm Line by line, and word by word comparison isn’t a big problem. But how conveniently show the results? With WinRunner comparison and reporting has been implemented utilizing WDIFF program. With QTP we can do the same using XML-XSL technology. The function below performs comparison of 2 text files generating […] ...