ActiveX and Visual Basic controls may contain sub-objects, which contain their own properties. An example of a sub-object is Font. Note that Font is a sub-object because it cannot be highlighted in the application you are testing. When you load the appropriate add-in support, you can create a GUI checkpoint that checks the properties of a sub-object using the Check GUI dialog box. For information on GUI checkpoints, see “Checking GUI Objects.”
In the example below, WinRunner checks the properties of the Font subobject of an ActiveX table control. The example in the procedure below uses WinRunner with add-in support for Visual Basic and the Flights table in the sample Visual Basic Flights application.
To check the sub-objects of an ActiveX or a Visual Basic control:
WinRunner may take a few seconds to capture information about the control.
The Check GUI dialog box opens.
The Objects pane displays the object and its sub-objects. In this example, the sub-objects are displayed under the “grdFlightTable” object. The Properties pane displays the properties of the sub-object that is highlighted in the Objects pane. Note that each sub-object has one or more default property checks. In this example, the properties of the Font sub-object are displayed, and the Name property of the Font sub-object is selected as a default check.
Specify which sub-objects of the table to check: first, select a sub-object in the Objects pane; next, select the properties to check in the Properties pane.
Note that since this ActiveX control is a table, by default, checks are selected on the Height, Width, and TableContent properties. If you do not want to perform these checks, clear the appropriate check boxes. For information on checking table contents, see “Checking Table Contents.”
An obj_check_gui statement is inserted into your test script.
WinRunner Related Interview Questions
|SILK TEST Interview Questions||LoadRunner Interview Questions|
|WinRunner Interview Questions||HTML Interview Questions|
|QTP Interview Questions||Manual Testing Interview Questions|
|OpenStack Interview Questions||Automation Testing Interview Questions|
|API testing Interview Questions||Rational robot Interview Questions|
|Selenium IDE Interview Questions||Performance Testing Interview Questions|
|Test Director Interview Questions|
Winrunner At A Glance
Understanding How Winrunner Identifies Gui Objects
Understanding Basic Gui Map Concepts
Working In The Global Gui Map File Mode
Editing The Gui Map
Merging Gui Map Files
Configuring The Gui Map
Learning Virtual Objects
Checking Gui Objects
Working In The Gui Map File Per Test Mode
Working With Web Objects
Working With Activex And Visual Basic Controls
Checking Powerbuilder Applications
Checking Table Contents
Creating Data-driven Tests
Synchronizing The Test Run
Defining And Using Recovery Scenarios
Handling Web Exceptions
Using Regular Expressions
Enhancing Your Test Scripts With Programming
Creating User-defined Functions
Creating Compiled Modules
Calling Functions From External Libraries
Creating Dialog Boxes For Interactive Input
Understanding Test Runs
Analyzing Test Results
Running Batch Tests
Running Tests From The Command Line
Controlling Your Test Run
Setting Properties For A Single Test
Setting Global Testing Options
Customizing The Test Script Editor
Customizing The Winrunner User Interface
Setting Testing Options From A Test Script
Customizing The Function Generator
Initializing Special Configurations
Integrating With Quicktest Professional
Managing The Testing Process
Testing Systems Under Load
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.