Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / Flex Developer Center / Samples /

Random walk component: Automation-ready sample application

by Adobe

Adobe logo

Modified

31 May 2011

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
Adobe AIRcomponentsFlex
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

User level

Intermediate

Required products

  • Flash Player 10.2

Additional Requirements

To run the application, you need the following software and files:

LiveCycle Data Services ES2 Express

  • Download now

QTP resources

  • Mercury QTP 9.1 or later
  • The Flex QTP plug-in

Sample files

  • Download the Flex sample that has automation disabled: randomWalk_noAT.zip (ZIP, 17k)
  • Download the Flex sample that has automation enabled: randomWalk.zip (ZIP, 18k)
  • Download the AIR sample that has automation disabled: randomWalk_AIR_noAT.zip (ZIP, 20k)
  • Download the AIR sample that has automation enabled: randomWalk_AIR.zip (ZIP, 22k)

Additionally, make sure to use the following steps before using this application:

To use Flex sample

  1. Prior to running this sample, you should have installed HP QTP 9.1 or later and Flex QTP plug-in. To verify that everything has installed correctly you can open QTP and record and play interactions with the random walk sample.
  2. Copy "TEAFlexCustom.xml" in the randomWalk ZIP file, to /Flex folder of your QTP Plugin – ex: "Adobe Flex 4 Plugin for HP QuickTest Pro/Flex"
  3. Create a Flex project by name randomWalk and copy all files under /src in the zip file to /src of your project. Add “-include-libraries "${flexlib}\libs\automation\automation_agent.swc" "${flexlib}\libs\automation\qtp.swc" "${flexlib}\libs\automation\automation.swc" -includes "RandomWalkDelegate"” to additional compiler arguments. Compile and run randomWalk.mxml in IE 7 or later.

To use AIR sample

  1. Prior to running this sample, you should have installed HP QTP 9.1 or later and AIR QTP plug-in. To verify that everything has installed correctly you can open QTP and record and play interactions with the random walk AIR sample.
  2. Copy "TEAFlex_AIRCustom.xml" in the randomWalk_AIR ZIP file, to /AIR folder of your QTP Plugin – ex: "Adobe Flex 4 Plugin for HP QuickTest Pro/AIR"
  3. Create an AIR project by name randomWalk_AIR and copy all files under /src in the zip file to /src of your project. Add “-include-libraries "${flexlib}\libs\automation\automation_agent.swc" "${flexlib}\libs\automation\qtp_air.swc" "${flexlib}\libs\automation\automation.swc" "${flexlib}\libs\automation\automation_air.swc" -includes "RandomWalkDelegate"” to additional compiler arguments. Compile and run randomWalk_AIR.mxml.

Note: These samples are created with Flex 4.5 Minor changes in the description and code may be necessary before it can be applied with other SDKs.

The process of enabling a custom component to support the Flex automation framework is called instrumentation. If you extend an Adobe Flex component, such as the Button component, you are not required to do anything else to make that component testable. If you create a component that inherits from the UIComponent class however, you must instrument that class to make it automation ready. This sample shows how to instrument the RandomWalk custom component so that your application records your user’s interaction with the component and can be played back using an automation tool like HP QuickTest Pro Version 9.1 (QTP) or later.

RandomWalk component with automation disabled
In this sample application, you can use the RandomWalk component with automation disabled.
RandomWalk component with automation disabled
In this sample application, you can use the RandomWalk component with automation enabled.
 

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement