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. How to Use Test Parameters Dynamically with AOM — 16/03/2017
  2. Bulk Rename Files with RegExp — 24/08/2016
  3. A Flexible Data-Driven If Function — 22/08/2016
  4. A Flexible Data-Driven Select Case Function — 18/08/2016
  5. Using Assertions to Control the Script Flow — 16/08/2016

Author's posts listings

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

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 »

Jun 04 2014

WebHelp Contents not Displayed in UFT 11.53

If you tried to use UFT on a machine with the latest from Microsoft, such as IE 11, you may have experienced that pressing F1 to get context-sensitive help opens the WebHelp window but no content is displayed. Even worse, it even may not display a message informing you of the problem. If the latter …

Continue reading »

Feb 06 2014

Check if Page has Scrollbars

Being able to know whether the current web page has a horizontal or vertical scrollbar (or both) can be handy. The following function GetScrollbarState accepts two arguments: The  document (i.e., Browser(“MyBrowser”).Page(“MyPage”).Object) The direction of the scrollbar – “h” for horizontal or “v”” for vertical. And returns true if there is a scrollbar in the given …

Continue reading »

Older posts «

Fetch more items