XSL

  Home  Computer Programming  XSL


“Extensible Stylesheet Language (XSL) is used to refer to a family of languages used to transform and render XML documents. XSL eventually split into three parts: 1. XSL Transformations (XSLT): an XML language for transforming XML documents 2. XSL Formatting Objects (XSL-FO): an XML language for specifying the visual formatting of an XML document 3. the XML Path Language (XPath): a non-XML language used by XSLT, and also available for use in non-XSLT contexts, for addressing the parts of an XML”



15 XSL Questions And Answers

3⟩ Can we encode mathematics using XML?

Yes, if the document type you use provides for math, and your users? browsers are capable of rendering it.It is also possible to use XSLT to convert XML math markup to LATEX for print (PDF) rendering, or to use XSL:FO.

 210 views

4⟩ Explain What is XSL-FO?

XSL-FO stands for Extensible Stylesheet Language Formatting Objects. It is used to format XML data and is also a W3C recommendation.

 199 views

5⟩ Discuss the QTP Environment?

QuickTest Pro environment using the graphical interface and ActiveScreen technologies - A testing process for creating test scripts, relating manual test requirements to automated verification features - Data driving to use several sets of data using one test script.

 220 views

6⟩ What is QTP testing process?

QTP testing process consist of seven steps- * Preparing to recoding * Recording * Enhancing your script * Debugging * Run * Analyze * Report Defects

 208 views

7⟩ What is the terms Test Object Model, Test Object and Run-Time object?

The test object model is a large set of object types or classes that QuickTest uses to represent the objects in your application. Each test object class has a list of properties that can uniquely identify objects of that class and a set of relevant methods that QuickTest can record for it. A test object is an object that QuickTest creates in the test or component to represent the actual object in your application. QuickTest stores information about the object that will help it identify and check the object during the run session. A run-time object is the actual object in your Web site or application on which methods are performed during the run session.

 313 views

8⟩ Explain more about the Test Fusion Report of QTP?

Once a tester has run a test, a TestFusion report displays all aspects of the test run: a high-level results overview, an expandable Tree View of the test specifying exactly where application failures occurred, the test data used, application screen shots

for every step that highlight any discrepancies, and detailed explanations of each checkpoint pass and failure. By combining TestFusion reports with QuickTest Professional, you can share reports across an entire QA and development team.

 183 views

9⟩ What is XSL check point?

A checkpoint checks specific values or characteristics of a page, object, or text string and enables you to identify whether or not your Web site or application is functioning correctly. A checkpoint compares the value of an element captured in your test when you recorded your test, with the value of the same element captured during the test run.

 202 views

11⟩ Explain how Does Run time data (Parameterization) is handled in QTP?

You can then enter test data into the Data Table, an integrated spreadsheet with the full functionality of Excel

, to manipulate data sets and create multiple test iterations, without programming, to expand test case coverage. Data can be typed in or imported from databases, spreadsheets, or text files.

 176 views

12⟩ How you can enhance your XSL test?

There are variety of options to enhance your test: (1) You can add checkpoints to your test. A checkpoint is a step in your test that compares the values of the specified property during a test run with the values stored for the same test object property within the test. This enables you to identify whether or not your Web site

or application is functioning correctly. (2) You can parameterize your test to replace fixed values with values from an external source during your test run. The values can come from a Data Table, environment variables you define, or values that QuickTest generates during the test run. (3)You can retrieve values from your test and store them in the Data Table as output values. You can subsequently use these values as an input parameter in your test. This enables you to use data retrieved during a test in other parts of the test. (4) You can divide your test into actions to streamline the testing process of your Web site or application. (5)You can use special QuickTest options to enhance your test with programming statements. The Step Generator guides you step-by-step through the process of adding recordable and non-recordable methods to your test. You can also synchronize your test to ensure that your application is ready for QuickTest to perform the next step in your test, and you can measure the amount of time it takes for your application to perform steps in a test by defining and measuring transactions. (6)You can also manually enter standard VBScript statements, as well as statements using QuickTest test objects and methods, in the Expert View.

 218 views

13⟩ Explain about non-XML resources?

You can use the XPointer Framework with non-XML resources. This is especially effective when your resource is backed by some kind of a DBMS, or when you want to query a data model, such as RDF, and not the XML syntax of a representation of that data model. However, please note that the authoratitive interpretation of the fragment identifier is determined by the Internet Media Type. If you want to opt-in for XPointer, then you can always create publish your own Internet Media Type with IANA and specify that it supports the XPointer Framework for some kind of non-XML resource. In this case, you are going to need to declare your own XPointer schemes as well.

 184 views

14⟩ Explain about Test Fusion Report of QTP?

Once a tester has run a test, a TestFusion report displays all aspects of the test run: a high-level results overview, an expandable Tree View of the test specifying exactly where application failures occurred, the test data used, application screen shots

for every step that highlight any discrepancies, and detailed explanations of each checkpoint pass and failure. By combining TestFusion reports with QuickTest Professional, you can share reports across an entire QA and development team.

 208 views

15⟩ What is XSL FO Documents? Explain XSL-FO Documents structure?

XSL-FO documents are XML files (.fo / .fob OR .xml ? for being accessible by XML editors) with output information about the layout and contents.

Document Structure:

As usual they need to start with the version and the encoding declaration:

<?xml version="1.0" encoding="ISO-8859-1"?>

<fo:root> </fo:root>

Namespace attribute can be written as:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">-----------------Root element of XSL-FO documents. You can have the whole document within these tags.

<fo:layout-master-set> ----------------Contains page templates

<fo:simple-page-master>----------------Contains a single page template

<fo:page-sequence> ------------------------Describes the page contents

 221 views