Subscribe the QA and Software Testing Newsletter FREE!! Comments Feed
Post Your Queries | Table of Contents | Subscribe to Testing Newsletter Reading: Testing ActiveX Controls using QuickTest ProfessionalTweet this Post

SPONSORED LINKS

Many applications include ActiveX controls developed with third-party vendors. You can use the QuickTest Professional ActiveX Add-in to test ActiveX controls. You can create and run software tests and components on these controls, as well as check their properties. QuickTest Professional supports Software Testing on ActiveX controls in any application.



  • In QuickTest Professional ActiveX Add-in is considered a Windows-Based add-in.


  • You can check the properties of an ActiveX control as you check the properties of any other Windows object. You can also use output value steps to output property or text values from the objects in your ActiveX application.


  • When you create a checkpoint on an ActiveX control, QuickTest Professional captures all the properties for an ActiveX control, but it does not select any properties to check.
  • You use the Windows Applications tab in the Options dialog box to set global preferences for testing ActiveX applications.
  • You use the Windows Applications tab of the Record and Run Settings dialog box or the Application Area Settings dialog box to set preferences for testing ActiveX applications.


  • The ActiveX Add-in provides custom test objects, methods, and properties that can be used when testing objects (controls) in ActiveX applications.
  • The application containing the ActiveX controls on which you want to record must be opened after setting the Record and Run options.


  • In QuickTest Professional It is recommended that you begin your recording session before opening the application containing the ActiveX controls on which you want to record.
  • When testing ActiveX objects in a browser, the top-level ActiveX object is inserted within the standard Web object hierarchy, for example, Browser > Page > ActiveX.
  • QuickTest Professional can record on standard controls within an ActiveX control and if an ActiveX control contains another ActiveX control, then QuickTest Professional can record and run on this internal control as well. For example, suppose your ActiveX control is a calendar that contains a drop-down list from which you can choose the month. If you record a click in the list to select the month of May, QuickTest Professional records this step in the Expert View as:




Dialog("ActiveX Calendars").ActiveX("SMonth Control").WinComboBox("ComboBox").Select "May"




  • When creating a programmatic description for an ActiveX test object and the relevant run-time object is windowless (has no window handle associated with it), you must add the windowless property to the description and set its value to True. For Example:






Set ButDesc = Description.Create
ButDesc("ProgId").Value = "Forms.CommandButton.1"
ButDesc("Caption").Value = "OK"
ButDesc("Windowless").Value = True
Window("Form1").AcxButton(ButDesc).Click


SPONSORED LINKS

Search this site - within more than 167 pages of Software Testing

Do not want to miss any Software Testing tips and latest updates? Subscribe the Software Testing Newsletter and get effective software testing tips


Powered by FeedBlitz
Reading: Testing ActiveX Controls using QuickTest ProfessionalTweet this Post

0 Responses to Testing ActiveX Controls using QuickTest Professional

Search within more than 167 pages


Subscribe to our updates


Powered by FeedBlitz

Software Testing Stuff on FaceBook

Follow Software Testing Stuff on Twitter Subscribe Software Testing & QA Pages Through RSS

Blog Archive

Categories

Automation Concepts

Basic concepts of

Software Test

Automation

Basics

Software Testing articles and

tutorials for Beginners

Bugzilla

Bugzilla - one of the best

open source defect tracking

system

CSTE

Know about CSTE and

related question papers

Defects Bugs and Errors

What are defects,

bugs and errors

General

General software testing

articles for every

software professional

Integration Testing

Learn all about Integration

Testing

Interview Questions

Set of interview questions

for Manual Testing, QTP,

LoadRunner,

Rational Functional Tester,

Selenium

ISEB Certification

Practice exams for ISEB

software testing exam

ISTQB

Preparing for ISTQB???

Then, this is for you.

Job Openings

Find out job openings

for Software Testing

LoadRunner

Learn LoadRunner from

these tutorials

QTP

QTP tutorials for

everyone

QTP Certification Papers

Practice exams for

HP QTP certification

Rational Tools

Learn Rational Tools

from these tutorials

Selenium

Here, you will find

Selenium Tool's

related tutorials

Test Director and Quality Center

Tutorials on Test Director

and Quality Center

Test Management

Learn Software

Test Management,

Planning from

these tutorials

Testing Types and Strategies

Tutorials on various

testing types and

test strategies

Tool Installation

Find help on installation

of various software

testing tools

Unit and White Box Testing

Learn unit testing

and white box testing