GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 41 of 674    Print  
how do we automate the process of editing an XML file. coz if i just record opening an XML file making changes and saving.and when i run this simple recording some other field gets edited in the run process.please help and let me know know what should be done to automate XML files???

  
Total Answers and Comments: 1 Last Update: June 08, 2006     Asked by: charm 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 08, 2006 01:03:36   #1  
srinivas potnuru        

RE: how do we automate the process of editing an XML f...

Hi

you can use Createobject( Microsoft.XMLDom )

and then with that object we can actually parse or edit the XML File it is like automating we need to write a logic to perform the required operation.


 
Is this answer useful? Yes | No

 Related Questions

Hi I am new to load testing .Currently i am using Load runner 8.2. i have recorded a script for login screen with some UID/PWD.In load runner Controller i have selected 100 Vusers,and i the run script.My question is :1.)Is the same script runs 100 times for same UID/PWD what i have entered during Recording.2.)If my data base contains only 50 users.Selecting 100 Vusers is a valid case?.3.)If i have selected 100 Vusers,is it necessary to enter 100 UID/PWD.Regards,vivek
Read Answers (8) | Asked by : vivek

In Quick Test Pro 8.21. While Recording/writing the Script i want to know the " Selecting Tab Position Action Script".Eg: Window contains 4 tab positions i would like to select 2 tab position at that time how script will come. plz write the script and send me. 2. How can i generate and select Tree View in Programatically. Eg: Mycomputer Contains all drives information like as below. +My Computerwhen i press + Symbol My Computer will Expand that format like-- My Computer Drive

How to use automation object to load the library files in QTP. I tried to use this stmt" set App = createobject("Quicktest.Application")App.Test.Settings.Resources.Libraries.Add ("F:QTPrepository.vbs"),1 ".could u pls help how to add it by script itself? what is executefile concept? is it workaround to my question?

Latest Answer : In QTP 9.2, there is an option to export to XML filefrom Object repository manager, File-> Export to XML option is there.Is this what you wanted or something elseRegards,Meena ...
Read Answers (3) | Asked by : Nagelli Anil Kumar

Latest Answer : hai,u r automate a java application u need to addin manager.this indicates which technology we r using marked on that. ...
Read Answers (3) | Asked by : bunny

HiI am in the process of evaluating Automation tool for my project which is in C#.net.Its an Desktop application.Can any one please let me know whether QTP 8.2 with .NET Add ins will support this application.I need to basically carried out the Regression testing.Saurit.
Read Answers (4) | Asked by : Saurit

1. Defination of Object repository2. Explain Output co-relation3. Explain Exceptional handling4. Explain Synchronization5. Explain Parameterisation6. Explain Smart identification7. Principles of the QTP8. 
Latest Answer : paramerisation:changing constant value with parameter(variables) is called paramerisation.u can do parameterization by 4 ways:1)action parameter2)envirnmental variables3)data type4)random numbers.smart identification:when QTP unables to identify the ppt ...
Read Answers (11) | Asked by : M.TAGARE

I need to automate an Web application using QTP but how can i record Tabbing and Press Enter key? Is there any ways to record key board actions like this
Read Answers (1) | Asked by : Rangika Perera

Is there any way that v can start recording our script with the same page, without creating a new instance for that page. for e.g. continuing our script recording with 'flight confirm mercury' page only, even if 'flight confirm mercury' exists in the OR?
Read Answers (1) | Asked by : Rverma

More details on Question: I was trying to call the QTP Scripts from Load Runner Controller Scenario. There, I only see options for Vuser Scripts, GUI Scripts, Astra Tests and All Files(*.*) options in 
Latest Answer : there is a spcial patch from mercury should be purchased for which the qtp 8.2 scripts will be compatible with load runner ...
Read Answers (4) | Asked by : Raj


 Sponsored Links

 
Related Articles

BI Role in Making Corporate Decisions

BI Role in Making Corporate Decisions What is a Corporate Decision A decision that deals with the safety success and livelihood of a business can be defined as a corporate decision These decisions can range anywhere from financial issues and customer satisfaction to product popularity and environmen
 

C++ Decision Making Statements

C Decision Making Statements In this C tutorial you will learn about decision making statements if statement if… else statement switch statement conditional operator along with syntax and examples mosgoogle center Decision making is an important concept in any programming language and to
 

SCOR Model Process

SCOR Model Process The Supply Chain Operations Reference Model commonly known as SCOR is a diagnostic tool for the Supply Chain Management It lets the users know the various processes involved in a business and the important things that lead to customer satisfaction The Supply Chain Operations refer
 

What is Data File

In a logical data model, the conceptual data model which is based on the business semantic is being defined. Thus, entities and relationships and corresponding table and column design, object oriented classes, and XML tags, among other things are being laid regardless of the database will be physica
 

Importance of Header Files

What is the importance of header files? The main role of header file is it is used to share information among various files. In brief, if we have several functions say 4 functions named as f1, f2, f3, f4 placed in file say sample.c and if all the functions want to get accessed by each other then all
 

Simple Tips to follow Before You Quit Job

You don’t have to force yourself to work in a company you don’t like. You can easily transfer to another company or just quit and take it easy until a new opportunity comes. Working in a company that you are not at ease will only give you stress and could be dangerous for your he
 

Top 10 Application Security Vulnerabilities in Web.config Files - Part One

These days, the biggest threat to an network security comes from its public Web site and the Web-based applications found there. Unlike internal-only network services such as databases-which can be sealed off from the outside via firewalls-a public Web site is generally accessible to anyone who wan
 

Top 10 Application Security Vulnerabilities in Web.config Files - Part Two

Some of the most common and dangerous application security vulnerabilities that exist in ASP.NET Web-based applications come not from the C# or VB.NET code that make up its pages and service methods, but instead from the XML code that makes up its Web.config files. Incorrect configurations can open
 

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
 

Things To Consider When Making A Career Change

Making a career change is not easy. For one, necessary adjustments in terms of work knowledge and familiarization will surely have to start from scratch. This is one of the notable risks that anyone will surely have to go through considering that careers are usually delicate for people who may reach
 

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