Exforsys

Free Training

Automation object?

This is a discussion on Automation object? within the Software Testing forums, part of the Testing category; what is Automation object? how it can be used in QTP?...

Go Back   Exforsys > Testing > Software Testing

Exforsys.com


Software Testing Software testing is a process used to identify the correctness, completeness and quality of developed computer software.

Reply

 

LinkBack Thread Tools Search this Thread
  #1 (permalink)  
Old 03-13-2009, 07:20 AM
Junior Member
 
Join Date: Mar 2009
Posts: 8
lalithambigi is on a distinguished road
Automation object?

what is Automation object? how it can be used in QTP?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-25-2009, 05:33 AM
Junior Member
 
Join Date: Jul 2008
Posts: 7
harry8 is on a distinguished road
An object that is exposed to other applications or programming tools through Automation interfaces.

Automation object model is nothing but collection of objects,methods and properties which are used to perform quicktest operations.Throught this object model we can perform any operation described in QTP interface. For every option in QTP menus(Interface) have Objects,methods and properties are there in this model.
Eg: dim qtApp
set qtApp=createobject("QuickTest.Application")
qtApp.Launch /*It launches the QTP
qtApp.visible= "true" /* Qtp is visible to us
qtApp.close /* It closes the Qtp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-25-2009, 08:16 AM
Junior Member
 
Join Date: Mar 2009
Posts: 8
lalithambigi is on a distinguished road
Thanks a lot Harry.
But i am not able to understand the concept harry...(
In the line 'set qtApp=createobject("QuickTest.Application")', what is "QuickTest.Application". for other application what i have to mention in brace. How to find out that.

"QuickTest.Application" is called as Prog Id??? how to find that prog id.

Pl explain it....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-19-2009, 03:37 AM
Junior Member
 
Join Date: May 2008
Posts: 1
dukekalra is on a distinguished road
Essentially all configuration and run functionality provided via the QuickTest interface is in some way represented in the QuickTest automation object model via objects, methods, and properties. Although a one-on-one comparison cannot always be made, most dialog boxes in QuickTest have a corresponding automation object, most options in dialog boxes can be set and/or retrieved using the corresponding object property, and most menu commands and other operations have corresponding automation methods.
You can use the objects, methods, and properties exposed by the QuickTest automation object model, along with standard programming elements such as loops and conditional statements to design your script.
Automation scripts are especially useful for performing the same tasks multiple times or on multiple tests or components, or quickly configuring QuickTest according to your needs for a particular environment or application.

Please refer QTP User Guide.

Regards,
duke - OSST
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-19-2009, 08:24 AM
Junior Member
 
Join Date: Apr 2009
Posts: 7
sandy31 is on a distinguished road
Thanks to all for the information.
__________________
Mobile Software Testing
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
QTP Material kalyansantosh Software Testing 6 03-05-2009 05:13 AM
qtp&winreunner materail mattana_79 Testing Tutorials 2 01-09-2009 03:28 AM
Urgent - WinRunner user guide material priyapp Testing Tutorials 3 02-16-2007 03:37 AM
Comp.software-eng FAQ (Part 0): periodic postings and archives David Alex Lamb Tech FAQ 2 05-23-2004 06:15 AM
comp.lang.eiffel Frequently Asked Questions (FAQ) Franck Arnaud Tech FAQ 0 04-17-2004 08:27 AM


All times are GMT -4. The time now is 12:52 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.