GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 622 of 684    Print  
How to find the Test Result Path at run time.
Hi All,

I would like to know, how to get test result path at run time, mean to say in descriptive programming, Is there any method available for the same.

I would be grateful to you for your help.


Regards,

Akshaya Madali



  
Total Answers and Comments: 2 Last Update: April 18, 2008     Asked by: akshayainbox 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: goldvels
 
There is one "Built-in Environment variable in QTP called "ResultDir".
We can Get the test result path as below...

a = Environment.Value("ResultDir")

Ans:

for ex: result path will be  "C:Temp"

Above answer was rated as good by the following members:
Manoj.Srinivas
April 17, 2008 02:11:14   #1  
NawabShaikh Member Since: January 2007   Contribution: 238    

RE: How to find the Test Result Path at run time.

Set qtTest qtApp.Test


qtTest.Settings.Run.OnError "NextStep" ' Instruct QuickTest to perform next step when error occurs


Set qtResultsOpt CreateObject("QuickTest.RunResultsOptions") ' Create the Run Results Options object


qtResultsOpt.ResultsLocation "C:AlternateToBPTTestResultRes1" ' Set the 'results location



qtTest.Run qtResultsOpt true ' Run the test



qtTest.Close ' Close the test


Set qtResultsOpt Nothing ' Release the Run Results Options object


Set qtTest Nothing ' Release the Test object


Regards
Nawab


 
Is this answer useful? Yes | No
April 18, 2008 08:58:00   #2  
goldvels Member Since: April 2008   Contribution: 2    

RE: How to find the Test Result Path at run time.
There is one "Built-in Environment variable in QTP called "ResultDir".
We can Get the test result path as below...

a Environment.Value("ResultDir")

Ans:

for ex: result path will be "C:Temp"

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

Operates stand-alone, or integrated into Mercury Business Process Testing and Mercury Quality Center. Introduces next-generation “zero-configuration” Keyword Driven testing technology in QuickTest 
Latest Answer : Object spy is used in QTP for Descriptive Programming. to Identify the Object properties ...

Introduction to QuickTest Professional 8.0, Computer Based Training: Please find the step to get QuickTest Professional 8.0 CBT Step by Step Tutorial and Evaluation copy of the software. The full CBT is 
Latest Answer : One way is to download from mercury.com which is available. QTP9.2 demo   is  available for 14 days. But after that even changing system date it does not work. I too have the same problem could not  learn fully. another is to approach an ...

Answer posted by shreethik on 2005-06-09 08:36:38: Output values enable to view the values that the application talkes during run time.When paramaterised, the values change for each iteration.Thus by creating 
Latest Answer : By using Text Output value we can capture a runtime value form the application under test and store it in a variable or in a localsheet ...

Latest Answer : Run-Time data table stores the run-time values(output  values). It can be viewed in Test reults window. ...

IF we use batch testing.the result shown for last action only.in that how can i get result for every action.

Latest Answer : In SWE section u need to addAutomationEnable = TRUE and at the same time you need to use SWECmd= AutoOn in the URL ...

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?

Which feature of QTP would you like to improve ?How would you go about implementing it ?(This question is only to test the candidate, I dont expect any strong answers. How should be able to convince the interviewer, thats it.)
Read Answers (1) | Asked by : Rahul Rathan

Latest Answer : The Test Automation Engineer takes the Keyword Name, Description, Parameters, Application Under Test, and Keyword development standards and constructs the Keyword. If there are any issues with the design aspects of the Keyword the Automation Engineer ...
Read Answers (1) | Asked by : Rahu Rathan

In order to fetch test data from Database we have to create a adobdb connection object to connect with data base. the syntax is .... >CreateObject("Adodb.connection").  
Latest Answer : Hai Const adOpenStatic = 3Const adLockOptimistic = 3Const adUseClient = 3Set objCon=CreateObject("ADODB.Connection") Set objRec=CreateObject("ADODB.Recordset")objCon.Open "DRIVER={Oracle in OraHome92};SERVER={Servername};UID={Username};PWD={Password};DBQ={Dbnmae}"objRec.CursorLocation ...


 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
 

What is Data Collection Time

Modern Relational Database Management Systems can be configured to collect data at certain events.  In a business, some of the events are sale, order, deposit, pay, request and many more. Events are really business activities in a company.  Big companies, in order to gain competiti
 

What is Access Path

In relational database management system (RDBMS) terminology, Access Path refers to the path chosen by the system to retrieve data after a structured query language (SQL) request is executed. A query may request at least one variable to be filled up with one value or more. A query may look like th
 

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
 

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