Extensible Stylesheet Language (XSL) Interview Preparation Guide
Download PDF

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:

1 :: 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.

2 :: Which is the best tool one should learn i.e the tool having demand in the market for XSL?

QTP.QTP Is the best automation tool

3 :: 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.

4 :: 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.

5 :: Explain in details about the XSL-FO?

A subcomponent of XSL used for describing font sizes, page layouts, and how information flows from one page to another.

6 :: 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.

7 :: 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.

8 :: 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.

9 :: What is the advantage of automated testing over manual testing?

Automated Testing is performed using various tools, hence it takes less amount of time and effort while delivering accurate test results.

10 :: 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.