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
What is a Patch in QTP?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
What is the pros and cons between QTP and Rational Robot
whare exactly we have to use functions and sub routain
What is the difference between run time object and test object?
Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.
Difference between test object and run time object?
Can anybody post some real time scenario in qtp? please its very urgent.
write script for bitmap image?
How many add-ins comes by default with qtp?
what is vmodel?advantages and disadvantages of vmodel?
How will you test a stapler?
Object repositories types, which and when to use?
Name the properties you would use for identifying a browser and page when using descriptive programming?
how many maximum number of virtual users we can create?