background image
<< Tags and Identifiers | Modify the identifier >>

Why do I want to modify the identifiers?

<< Tags and Identifiers | Modify the identifier >>
Getting Started: A Tutorial
87
4 C
APTURING
Y
OUR
A
PPLICATION
Tags and Identifiers
Why do I want to
modify the identifiers?
You may want to modify the identifiers in your declaration files to make
them more meaningful to you. For example, the table below shows some
identifiers as captured by SilkTest for the Web application's homepage versus
identifiers for the same objects that have been modified to be more
meaningful to the user.
To make your tests easier to maintain, you can change the objects' identifiers
to correspond to their meaning in the application.
Modifying identifiers
You can modify the object's identifiers in one of two ways:
After you have recorded the window declaration, by modifying them
directly in the test frame (.inc) or other declaration files, or
As you record the window declarations, by modifying the identifier in
the Window Detail area of the Record Window Declarations dialog.
To modify identifiers in the Record Window Declarations dialog:
1
Open GMO
(Web): If GMO is not open, start Internet Explorer and load the
homepage of the GMO application,
http://demo.borland.com/gmopost/
.
Maximize the browser if necessary.
(client/server): If GMO is not open, from the Start menu choose
Programs/Green Mountain Outpost/GMO. Click OK to use the text
file database.
2
Navigate to a new window
(Web): Click Enter GMO OnLine. The OnLine Catalog page opens.
(client/server): Click the Customer Information window. If the
Customer Information window is not open, click Order/Customer
Information
. The Customer Information window opens.
Identifier
Modified Identifier
WelcomeToGreenMountainOutp
WelcomeText
ThisIsASampleWebSiteFor
DemoText
InformationInThisDocumentI
CopyrightText