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 the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
What is object repository in qtp?
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that
Why to use descriptive programming?
What is QTP and the use of QTP in TD?
How to find operating system information using the qtp script?
What are the different recording modes and how do they work?
Can launch two instances of qtp on the same machine?
diff between qtp versions from 8.5
Difference between copy to action and call to action?
Explain how you can delete excel file in qtp?
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
How to check bitmap output value?
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me