Explain Checking XML....

Answer Posted / ramyab.mca@gmail.com

Hai....

Checking XML:
XML (Extensible Markup Language) is a meta-markup language
for text documents that is endorsed as a standard by the
W3C. XML makes the complex data structures portable between
different computer environments/operating systems and
programming languages, facilitating the sharing of data.

XML files contain text with simple tags that describe the
data within an XML document. These tags describe the data
content, but not the presentation of the data. Applications
that display an XML document or file use either Cascading
Style Sheets (CSS) or XSL Formatting Objects (XSL-FO) to
present the data.

You can verify the data content of XML files by inserting
XML checkpoints. A few common uses of XML checkpoints are
described below:

- An XML file can be a static data file that is accessed in
order to retrieve commonly used data for which a quick
response time is needed—for example, country names, zip
codes, or area codes. Although this data can change over
time, it is normally quite static. You can use an XML file
checkpoint to validate that the data has not changed from
one application release to another.

- An XML file can consist of elements with attributes and
values (character data). There is a parent and child
relationship between the elements, and elements can have
attributes associated with them. If any part of this
structure (including data) changes, your application's
ability to process the XML file may be affected. Using an
XML checkpoint, you can check the content of an element to
make sure that its tags, attributes, and values have not
changed.

- XML files are often an intermediary that retrieves
dynamically changing data from one system. The data is then
accessed by another system using Document Type Definitions
(DTD), enabling the accessing system to read and display
the information in the file. You can use an XML checkpoint
and parameterize the captured data values in order to check
an XML document or file whose data changes in a predictable
way.

- XML documents and files often need a well-defined
structure in order to be portable across platforms and
development systems. One way to accomplish this is by
developing an XML schema, which describes the structure of
the XML elements and data types. You can use schema
validation to check that each item of content in an XML
file adheres to the schema description of the element in
which the content is to be placed.

K,Byeeee...
Thanks & Regards
B.Ramyasri

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

2966


i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

1371


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

558


wt is the use of multiple questions in QTP

1671


Is qtp supports uni-code?

600






I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”

576


What are the types of environment variables in qtp?

540


How do I get the QTP scripts result in xml format by using vb script function?

1776


There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

1618


How you know that a test case is a regression test case

3050


i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer

3487


How many tabs are available in debug viewer pane?

639


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

596


What are the differences between qtp and winrunner?

517


How you can find length of array in qtp?

537