Explain Checking XML....
Answer / 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 |
Shall we add Local Repository to shared object repository,if yes,how we add
Can we create user defined functions in qtp?
Hi i want to export the data from applicatioon to excel and later i want to import and use it for my scripts hoe can i do this?
Explain the difference between call to action and copy action?
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
is we can import the object repository from external source. if it so then how?
What is a Patch in QTP?
How to retrieve the data from database?
How smart identification works in qtp ?
what is the syntax for regular expression in QTP? how to create user defined functions in QTP?
How do you data drive an external spreadsheet?
If I want to run more than one test (With different functionality) with in one script, then what i do? plz. explain with any example.