This article demonstrates a quick tip to activate, minimize or maximize browsers. Unlike a Standard Windows Window object, Browser does not support the Activate, Minimize, Maximize methods. Therefore, we can create our custom function and tie it with the Browser object using RegisterUserFunc.
Tagged as:
Activate Browser,
Browser.Activate,
Browser.Maximize,
Browser.Minimize,
BrowserActivate,
Maximize Browser,
Minimize Browser,
QTP,
QTP RegisterUserFunc,
RegisterUserFunc
This was a long time coming and I was finally able to upgrade all my Wordpress and Theme files. The new layout is a single column 3-footer-widget layout to maximize readability and focus on what really matters most – the content.
I see a few loose ends but these are minor issues and I will try to fix them one by one as we go along. I hope you enjoy reading the articles, and also the new layout!
Thanks for visiting Relevant Codes.
P.S. Don’t forget to subscribe to Relevant Codes :)
Tagged as:
Relevant Codes Upgrades
There have been numerous threads/discussions about the lack of GetROProperties, which is not available with the QuickTest package. There is GetTOProperty, GetROProperty, GetTOProperties and until now, GetROProperties was the only method missing from the pack. Now, its available and it works just like GetTOProperties does.
Tagged as:
clsGetROProperties,
GetProperties,
GetROProperties,
QTP GetROProperties,
QTP GetROProperty
There are several instances where automation developers have to work with applications containing multiple windows, in a Standard Windows Environment. This technique uses a similar methodology as demonstrated in the article for Web-based apps, but the crux of this technique differs. It can be used by automation developers testing most types of windows applications.
Tagged as:
AddCustom,
AddNew,
clsWindow,
LaunchAdd,
Multiple Windows Applications,
QTP,
QTP Multiple Windows
Parameterization is a process in which parameters, or variables are substituted for hard-coded values which help perform the same operations on the AUT with multiple sets of data. In other words, in QTP, parameterization helps automation developers test an application with different data from a single action (or multiple actions) through multiple iterations.
Tagged as:
DataTable,
Parameterization,
Parameters,
QTP,
QTP DataTable,
QTP Local Table,
QTP Parameterization,
QTP Parameterize,
QTP Parameters
In this article, we will see a few interesting ways to automate the Windows Calculator. The concepts in this article should serve as an excellent way of understanding the automation process with QTP, how functions can help increase code reuse, and why at times its extremely important to validate user-input. A must read!
Tagged as:
Automating Application,
Calculator,
Functions,
QTP
This article will discuss the concepts of Custom Checkpoints, their benefits, when to use them and how they provide us with greater flexibility in script development. Custom CheckPoints offer an easier and highly flexible way of construction your object verifications, which is a core concept of test automation. The concepts below, when coupled together can help you build extremely robust scripts, with enough information that your user desires.
Tagged as:
.Exist,
Custom Checkpoint,
DP,
QTP,
QTP CheckPoints,
QTP Custom CheckPoints,
QTP Reporter
Web applications due to their dynamic nature, make script development quite challenging. I am writing this article in an attempt to simplify one of its aspects that automation developers face while working with Web applications. We will see how it can be made extremely easy to work with multiple browsers with the use of a Dictionary object, to which we can add Browsers, remove them, change the way we reference them and much more.
Tagged as:
Multiple Browsers,
QTP,
QTP Browsers,
QTP IE,
QTP Multiple Browsers,
QTP Multiple IE,
QTP Web
We had an issue with one of the SiebButton objects’ in our environment. When we executed a statement to click on this particular SiebButton, the next statement would not execute. What happens is, as we click this particular SiebButton, a Dialog box pops up immediately. For some reason that we have not been able to figure out, the execution marker from the SiebButton(“”).Click statement will not move to the next line.
Tagged as:
Error,
QTP,
QTP Siebel Dialog,
QTP Siebel Error,
Siebel,
Test Execution Halts
Today, after being quite tired of switching windows between Notepad++ and QTP, I started experimenting with different layouts I can create to make the the QuickTest editor a little more viewing-friendly. After a few minutes of playing around, I finally have something that I like.
Tagged as:
Layout,
QTP,
QTP Editor,
View-Options
This article covers the principles of creating a Description Object in QTP and its amazing use with the ChildObjects method. We will see how we can create an object description with a single property, with multiple properties, by using regular expressions and finally putting all these concepts into their application with the ChildObjects method.
Tagged as:
ChildObjects,
Description Object,
Description.Create,
DP,
QTP,
QTP Description Object,
QTP Description.Create,
Set oDesc,
Set oDesc = Description.Create
Like the previous article, this will also be a little fast-paced and will cover how to create a Custom form and add a RadioButton control to it.
Tagged as:
DOTNetFactory,
QTP
In this article, we will see how we can add and use multiple objects in a user form. It will cover the concepts discussed in the previous 4 articles.
Tagged as:
DOTNetFactory,
QTP
This article will cover the basics of DOTNetFactory with QTP and demonstrate the technique of adding a CheckBox Control to a Custom Form.
Tagged as:
DOTNetFactory,
QTP
This article will cover the basics of DOTNetFactory with QTP and demonstrate the technique of adding a Button Control to a Custom Form.
Tagged as:
DOTNetFactory,
QTP
This article will cover the basics of DOTNetFactory with QTP and demonstrate the technique of adding a TextBox Control to a Custom Form.
Tagged as:
DOTNetFactory,
QTP
Usage of modular classes helps in keeping all methods and properties for a module intact, and if done correctly, this can simply maintenance greatly.
Tagged as:
OOPs,
QTP,
QTP Classes,
QTP Creating Classes,
QTP Modular Classes,
QTP Modules,
QTP OOPs,
QTP VBScript,
QTP VBScript Classes,
Test Module,
VBScript OOPs
In this topic we will learn how to pass 2 or more values from function using Global Variables, Arrays, Dictionary Objects, Concatenated Strings and with the use of ByRef.
Tagged as:
Array,
ByRef,
ByVal ByRef,
Dictionary,
Functions,
QTP,
QTP ByVal ByRef,
VBScript,
VBScript ByVal ByRef
In OOP, Class Inheritance has been one of the most important topics and it has been around since 1967 The idea behind class inheritance is to enable the inheriting (derived) classes use attributes of the base classes. This enables programmers to reuse the code by having derived classes share the functionality of their base classes [...]
This article introduces the Siebel add-in with QTP and outlines various techniques to work with Siebel objects. It also offers an excellent introduction to the Siebel automation process with QTP.
Tagged as:
AllowAnonUsers,
Automating Siebel With QTP,
AutoOn Token,
EnableWebClientAutomation,
QTP,
QTP Siebel,
Siebel,
Siebel Automation,
Siebel AutoOn,
Siebel Introduction,
StrictSync
I’m sure you’re aware of Classes, which on a high-level are user-defined types, and their instances are objects. Vb.NET has introduced a new type, called an Interface. An Interface, according to this article by Nick Harrison, “is a contract that defines the signature of some piece of functionality”. This contract is fulfilled by the [...]
Tagged as:
Interfaces,
VB.NET