GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 616 of 684    Print  
Write VBscript without using QTP Recording
Can you completely write VBscript for your project without using recording mode in QTP? If yes, illustrate with an example?


  
Total Answers and Comments: 1 Last Update: March 10, 2008     Asked by: ramakrishnaqc 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
March 10, 2008 01:52:11   #1  
NawabShaikh Member Since: January 2007   Contribution: 238    

RE: Write VBscript without using QTP Recording
Dim intCnt
Dim oD oDObj


Set oD Description.Create()
oD("micclass").value "Browser"

Set oDObj Desktop.ChildObject(oD)

For intCnt 0 to oDObj.Count-1
Reporter.ReportEvent micDone oDObj(intCnt).GetROProperty("title") " The Browser is Closed"
oDObj(intCnt).Close
Next



Regards
Nawab

 
Is this answer useful? Yes | No

 Related Questions

I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?

3 types of recording modes in QTP.1.norma 2.analog mode 3.low level recording mode.pls describe where we use them exactly.. 
Latest Answer : There are three types of regarding modes available in QTP 1.Normal:     Script is generated based on the properties of the object which is default one.Note:   Usually we use Normal regarding mode only...where the mouse movements r not required there ...
Read Answers (7) | Asked by : latha

How can we write scripts without having GUI(means u dont have any GUI and u want to write a script in QTP)?
no answer 
Read Answers (13) | Asked by : deepti

Latest Answer : QTP provides the Active Screen Technology i.e it will take snapshots of the Application when you are going thru' the appl. by using the snapshots you will be able to write the script for that particular appl. ...
Read Answers (5) | Asked by : deep

How you write scripts in qtp?what's the main process in qtp?How do you run scripts in Qtp?Please anyone can answer my questions.......
please answer those questions 
Read Answers (2) | Asked by : sanjana

Latest Answer : Main process in QTP is Recording, stores the properties in object repository  then Running the script and then Test Results.Recording: QTP 'looks' at the object on which we are recording and stores it as a test object, determining in which test object ...
Read Answers (1) | Asked by : manish

Latest Answer :  This mode records exact mouse and Key Board operations you perform in relation to the screen /Application Window. This mode is useful for the operation which you can record at Object Level, such as drawing a picture, recording signature. The steps ...
Read Answers (1) | Asked by : sonuraja

How can i write a script to automate the page which contains random questions with corresponding answers as radio buttons eg:questions1............a b c dquestion 2a b c d..............
Read Answers (1) | Asked by : srikanth

Latest Answer : They are three types of recording in QTP. General Recording: Recording mouse and key board operation with respective object. Analog Recording: Recording mouse pointer movement with respective desktop co ordinates. Low Recording: Recording mouse ...
Read Answers (3) | Asked by : vinny

How to add a failure from a VBscript function to the results. how can I implement the functionality of checkpoint functionality from by VBScript. For Ex: I want to record a failure if some calculations evaluate to false.
Read Answers (2) | Asked by : Ashok


 Sponsored Links

 
Related Articles

SQA Software and Tools

SQA Software and Tools In quality assurance it is always important to get all the help we could get In other industries developers could easily check the products manually and discard those that do not meet the standard The length and the width of the product are checked to maintain standardization
 

Business Network Virtual Communication Tools

Business Network Virtual Communication Tools Since ages the Business community heavily relied on face to face communication for building Business relationships Face to face communications formed the basis for trust in a relationship An individual’ s appearance or the physical appearance of
 

What are Data Access Tools

Data access is the process of entering a database to store or retrieve data. Data Access Tools are end user oriented tools that allow users to build structured query language (SQL) queries by pointing and clicking on the list of table and fields in the data warehouse. Thorough computing history, t
 

Testing and Integration

Once the software is complete, it will go though rigorous testing before its actual integration.  In this article we will take a look at different types of software testing and also different types of integration. With the diversity of business setting and software development models, it al
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

SAP and Microsoft tools for Customer Service

World’s largest car dealer to use SAP and Microsoft tools for Customer Service Inchcape, the London-based largest car dealer in the world, is making itself much strong now by improving its customer services arising from major SAP and Microsoft implementations. The company has also vowed to
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Career Assessment Tools

For those not sure what type of career they are interested in pursuing, career assessment tools can provide help. There are assessments available at career centers that are designed to help people figure out a good career option. They explore your personality, skills, interests, and values, and can
 

Recording Test Script With WinRunner

How To Use a Wizard to Record a Test Script With WinRunner If you have a script that you want to convert with WinRunner, you can use the DataDriver Wizard to transform the script into a test that is driven by data. For instance, if you want your test script to include things such as checkpoints or v
 

Advantages of Using SAP R/3 in comparison with other Similar Tools

ERP system takes a lead role because of some of the following reasons: Many large corporations use several different and separate information systems, often because they have merged with and/or acquired other companies with varied systems. An ERP system integrates these separate information systems
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape