1. 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
2. What is QTP testing process?
QTP testing process consist of seven steps- * Preparing to recoding * Recording * Enhancing your script * Debugging * Run * Analyze * Report Defects
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.
4. 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.
5. 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.
6. 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.
7. 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.
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. 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.
10. 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.
11. 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.
12. 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.
13. 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.
14. 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
XSL-FO stands for Extensible Stylesheet Language Formatting Objects. It is used to format XML data and is also a W3C recommendation.