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
• Easy to create
• Quick to create
• No programming required, but expertise [...] ...
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
• Very low usability
• Extremely high maintenance cost
• No-proof test results
• ...
Posted by Albert Gareev on May 29, 2009
Original date: 7 Feb 2009, 5:00pm
This post continues the previous one.
3. Senior Automation Developer
Capable to maintain and enhance Framework-based Automation Architecture.
Capable to develop data-driven framework.
Should have a solid understanding of Test Automation Requirements: Usability, Maintainability, Scalability, Robustness, and be able to identify current level of needs.
Should be aware of Technical Setup, Requirements, Test ...
Posted by Albert Gareev on May 28, 2009
Original date: 5 Feb 2009, 11:30am
In my past job experience I used to be asked by hiring managers about helping them to identify a right skillset for the QA Automation specialty. The following is my notes on that.
1. Junior/Intermediate Level.
Automation and/or QA training will be required – so there should be a mature automation professional in the [...] ...
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.
2. Show original text line by [...] ...
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 output in XML keeping [...] ...
Posted by Albert Gareev on May 25, 2009
Original date: 19 Jan 2009, 2:00pm
Parent page: Service Functions – Excel (QTP, VBScript)
Excel application must be installed on the PC.
Comparison goes cell by cell within the occupied range.
Marks mismatching cells red.
Both workbooks must exist and be defined as the full path with file.
Both worksheets must exist and may be defined as a numeric index or [...] ...
Posted by Albert Gareev on May 24, 2009
Original date: 16 Dec 2008, 1:14pm
Service function
Public Function AssociateParameters(ByVal strParams)
Dim objDictionary, Values, strPair, Pair
Dim intCount, i
strParams = Replace(strParams, "\,", Chr(176))
strParams = Replace(strParams, "\=", Chr(187))
Values = Split(strParams, ",")
intCount = UBound(Values)
Set objDictionary = CreateObject("Scripting.Dictionary")
For i=0 To ...
Posted by Albert Gareev on May 23, 2009
Original date: 5 Dec 2008, 1:23pm
Parent page: Service Functions – Excel (QTP, VBScript)
'Assumptions:
'Excel file exists
'Workbook is open (XLBook)
'Sheet exists
Set objUsedRange = XLBook.Worksheets(sSheetIndex).UsedRange()
Set objSheetColNameMap = CreateObject("Scripting.Dictionary")
For Iter = 1 To objUsedRange.Columns.Count
sCellText = objUsedRange.Cells(1,Iter)
If sCellText <> "" Then
...
Posted by Albert Gareev on May 22, 2009
Original date: 4 Dec 2008, 1:49pm
...