Meir Bar-Tal

Author's details

Name: Meir Bar-Tal
Date registered: 22/10/2007


Meir Bar-Tal is an Automation Architect with extensive technical, educational and leadership experience in Software Design, Development and Testing. For many years Meir has helped companies establish solid foundations for their testing activities with a wide variety of software applications and systems and across different technologies and platforms. Meir is a well-known expert in Data-Driven, Keyword Driven and Hybrid methodologies and has published a number of influential articles on the applications of Design Patterns to Test Automation. For the last five years, he has been pushing forward an ambitious program towards the development of an Object Oriented automation framework named Sunscrit, a huge project which is still underway. Meir is the owner of of which he was a co-founder in 2007 and served as its Editor in Chief, Author and Forums Administrator ever since. Meir lives in Israel and cooperates closely with HP R&D and other colleagues to improve the user experience and productivity with HP Software tools.

Latest posts

  1. What’s App, UFT? (continued) — 27/08/2017
  2. What’s App, UFT? — 20/07/2017
  3. How to Use Test Parameters Dynamically with AOM — 16/03/2017
  4. Bulk Rename Files with RegExp — 24/08/2016
  5. A Flexible Data-Driven If Function — 22/08/2016

Author's posts listings

Aug 27 2017

What’s App, UFT? (continued)

The purpose of this short post is to correct an error I made recently with regard to the App UFT variable (object). In a previous article which centered around the usage of Option Explicit as part of the bast practices toolset, it was wrongly mentioned that the App variable is not documented. As mentioned there printing its …

Continue reading »

Jul 20 2017

What’s App, UFT?

Customer tales: An exception a developer got while debugging a script disclosed undocumented UFT global object: App. This short article presents the lesson learned and defines what’s App actually ☺ A common (but wrong) practice is the use of variables without defining them first, which is allowed by VBScript, but may cause trouble at runtime. …

Continue reading »

Mar 16 2017

How to Use Test Parameters Dynamically with AOM

UFT enables the use of test parameters, which in order to be used in an action they must be passed when called. The best practice, in my view, is to first add the parameters to the test and assign them default values, and then to create the action parameters and assign them the values from the …

Continue reading »

Aug 24 2016

Bulk Rename Files with RegExp

Renaming a file is a common task for which Windows Explorer is enough. However, when it comes to to bulk renaming files things are not so simple. For instance, How-to-Geek describes how to bulk rename files with Windows Explorer and the Command Line, but admits that these are very limited and lacking flexibility. The same …

Continue reading »

Aug 22 2016

A Flexible Data-Driven If Function

In a previous post we delved into a method to override the Select Case decision-making structure to enable more efficient, manageable and readable coding which uses a flexible data-driven approach. This short article describes how to override the If-Else If-Else-End If structure in a similar fashion. The result is, again, code which turns out more …

Continue reading »

Aug 18 2016

A Flexible Data-Driven Select Case Function

It is possible to define conditions which, if true, trigger a call to another function or subroutine, or execute a block of code. Usually this is done by writing a decision-making structure in our code, such as If-Else If-Else for the simpler cases or a Select Case (switch in JavaScript) for the more complex ones. …

Continue reading »

Aug 16 2016

Using Assertions to Control the Script Flow

In computer programming, an assertion is a statement that a predicate (Boolean-valued function, a true–false expression) is expected to always be true at that point in the code. If an assertion evaluates to false at run time, an assertion failure results, which typically causes the program to crash, or to throw an assertion exception. Source: …

Continue reading »

Mar 20 2016

Disconnecting from Remote Desktop while Running Automated Tests

When running automated tests on virtual machines using RDP sessions, the screen may become cluttered and one may wish to close these windows which attract our attention away from the current work. So, to disconnect from Remote Desktop, copy and paste the following code to a batch file on the remote computer (in the Remote Desktop …

Continue reading »

Nov 11 2015

UFT Reporter.ReportEvent Status Values

micPass = 0 micFail = 1 micDone = 2 micWarning = 3 micInfo = 4 PS: The status value of micGeneral is equal to 2, or micDone

Aug 27 2014

Calculating Page Size in Pixels

This short post describes a handy way to calculate the page size in pixels. The steps: The function GetPageNumPixels accepts a Page test object and calls the function GetDocumentElement. The function GetDocumentElement accepts the same Page object and retrieves, via the Object property, the documentElement for either a Page that is standards-compatible or not. The …

Continue reading »

Older posts «

Fetch more items