How to work with Modal Dialogs in QTP?

1 Star2 Stars3 Stars4 Stars5 Stars (5)
Loading ... Loading ...

Modal dialogs boxes are used to take input from user or to display message to user. They are a great way for developers to do their part of the job as the user cannot switch to the Application till they address the dialog.
At times Modal dialogs posses a great challenge to any Automation engineer as [...]

Register or Login to read the full article...

Capturing desktop Screenshot to QC if a Test or Component Fails

1 Star2 Stars3 Stars4 Stars5 Stars (6)
Loading ... Loading ...

Capturing screenshots to QC in test result can quickly eat up all the space on the QC Server. This makes it sensible to capture images only in case a Test has failed. This can allow easy debugging of Test Cases to see what error had occurred when the test failed. Adding this functionality to your [...]

Register or Login to read the full article...

Dynamic Action Call - Part 2

1 Star2 Stars3 Stars4 Stars5 Stars (7)
Loading ... Loading ...

In my Dynamic Action Call - Part 1 article we were left with certain issues

Actions with Input or output parameters cannot be called
Actions using Shared object repository cannot be called

In this article we will see to overcome the limitation of the approach discussed in Part 1. Instead of directly looking at what the solution is, [...]

Register or Login to read the full article...

How to access the status of current Test?

1 Star2 Stars3 Stars4 Stars5 Stars (1)
Loading ... Loading ...

To access status of the test QTP provides the RunStatus property. The value of this property is the worst case status of the current test. This property can be used to take special measure based on the status of the test.

Select Case Reporter.RunStatus
Case micFail
[...]

Register or Login to read the full article...

Script runs for First Row only when DataTable is imported

1 Star2 Stars3 Stars4 Stars5 Stars (2)
Loading ... Loading ...

QTP allow running a script multiple number of times using Global DataTable iterations. At times it is required to load the DataTable at run-time. Doing it wrongly will make your script only run for the first row of the DataTable. In this article we will look in detail about what goes wrong.
Create a blank new [...]

Register or Login to read the full article...

General run error when clicking on button

1 Star2 Stars3 Stars4 Stars5 Stars (10)
Loading ... Loading ...

General run error are hard to debug and any extra information available to fix the issue is always helpful. Sometimes QTP starts throwing General run error in click events of WebButton. Digging into the source of the issue using the technique mentioned in Debugging General run error we would see a “Element not found” error [...]

Register or Login to read the full article...

Dynamic Action Call - Part 1

1 Star2 Stars3 Stars4 Stars5 Stars (3)
Loading ... Loading ...

QTP mandates calling any external action first through its UI only. This limits the capability of dynamically calling action at run-time.
So is it possible to call an Action at run-time? Well it is possible to do if the external action does not take input or output parameters
If you are afraid of advanced solution you should [...]

Register or Login to read the full article...

  1. Suscribe to Email

    Enter your email address:

    Delivered by FeedBurner

  2. Most Viewed


  3. Sitemap

    open all | close all
  4. Most Rated

  5. Translator

    English flagItalian flagKorean flagChinese (Simplified) flagPortuguese flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flag
    Croat flagDanish flagFinnish flagHindi flagPolish flagRumanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flagIndonesian flagLatvian flagLithuanian flagSerbian flag
    Slovak flagSlovenian flagUkrainian flagVietnamese flag           
    By N2H

Your Ad Here