Quantcast
Channel: AdvancedQTP
Browsing latest articles
Browse All 98 View Live

Image may be NSFW.
Clik here to view.

UFT Reporter.ReportEvent Status Values

micPass = 0 micFail = 1 micDone = 2 micWarning = 3 micInfo = 4

View Article



Image may be NSFW.
Clik here to view.

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,...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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....

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

A Simple Function to Return the Result of a “Negative” Checkpoint

Negative tests check that the application or system under test (AUT/SUT) can handle gracefully invalid inputs, such as an invalid username at login, or an invalid ID number when creating a new...

View Article
Browsing latest articles
Browse All 98 View Live




Latest Images