Explain Checking XML....



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

Post New Answer

More QTP Interview Questions

There are some links on the page,count and click those links and check the text on the page displayed on clicking the link.write script for this scenario.

0 Answers  


hen do start automation testing after manual testing

1 Answers   Infosys,


What is action? How many types of actions are there in qtp?

0 Answers  


in my system object spy show the web application as a window based propeties ex:winedit like that and also not recording scripts also so what should i do

2 Answers  


Hello Guys, Can anybody Explain me about Automation framework?? and how can we prepareAutomation Framework using QTP

3 Answers   CTS, IBM, Sapient,






How to convert manual test cases to automated testcases

1 Answers   TCS,


Is it possible to check the Run time value property of a field through a Database Checkpoint ? Further, is it possible to localize and mention a particular cell , in the database dynamically. My requirement is that I would need to check the status of a particular field , that would change from an "Active" state to a "Stopped" state dynamically.

1 Answers   CTS,


How to Compare two database tables by using QTP?Please give me code details.

1 Answers  


How can the expected image for a bitmap checkpoint be recaptured in QTP

2 Answers   Ordain Solutions,


I am testing a website TheLancet in qtp 9.2 and running a script but its not working.Tell me if m doing anything wrong in the script. If Browser("TheLancet.com - Home Page").Page("TheLancet.com - Home Page").Link("Clinical").exists then msgbox "object exist" Else msgbox"object doesnt exist"

2 Answers   Rolta,


What is the Obect Repository type, we use in Automated Testing..in Real time.. Pls anybody can give the answer.. Thanks in advance...

5 Answers   Navis,


Hello everyone, I am trying to parametrize a script. Its clear to me that, we use data table to enter various text data. but if I want to change the radiobutton (e.g. if for first iteration I selected radio button 'A' and for second iteration I want to use 'B' radio button for second iteration) then how can I make it happen. I have tried to define the question but still if not clear plz tell me. Thanks everyone

1 Answers  


Categories