IBM RFT Interview Questions: Q. 91 to 100
Q. 91: What are the advantages of snapshot views over dynamic view?
The advantage of using a snapshot view with RFT is that, only the scripts that we change gets compiled when we record or play back.
This makes its performance faster than a dynamic view.
<<<<<< =================== >>>>>>
Q. 92: What are the disadvantages of using a snapshot view?
1) Files are not updated automatically. We need to always get the latest files from the VOB on a regular basis. Otherwise the changes which others check in can break the script.
2) A snapshot view uses a lot of disk space on the local hard disk drive because a snapshot view copies every file in the Functional Test project to the local hard disk drive.
<<<<<< =================== >>>>>>
Q. 93: What are the Advantages and disadvantages of dynamic views?
Following are the advantages of using a dynamic view with RFT:
1) Files do not take a large amount of disk space on the local machine because only the files that we check out or create exist on the local hard disk drive.
2) Files in a dynamic view are always current with the VOB. We do not have to remember to get the latest files from the VOB as we do in a snapshot view.
Following are the disadvantages of using a dynamic view with RFT:
1) In a large team, when many users change scripts, it may take a long time for all the changes to compile when we record or play back a script.
2) Functional Teste r- Java cripting, compiles the project when an element changes. If we are using a dynamic view, automatic compilation can be time consuming, depending on the size of the project.
<<<<<< =================== >>>>>>
Q. 94: What is MultiSite ClearCase?
MultiSite is a product layered on ClearCase, to support parallel software development across geographically distributed project teams.
MultiSite lets testers work on the same VOB concurrently at different locations. Each location works on its own copy of the VOB, known as a replica.
To avoid conflicts, MultiSite uses an exclusive-right-to-modify scheme, called mastership. VOB objects, such as streams and branches, are assigned a master replica. The master replica has the exclusive right to modify or delete these objects.
<<<<<< =================== >>>>>>
Q. 95: How many type of element checkouts are there while using ClearCase?
There are two kinds of checkouts for an element when we use ClearCase to manage our RFT test assets:
1) Reserved checkouts: The view with a reserved checkout has the exclusive right to check in a new version for a branch or stream. Only one reserved checkout is allowed on each branch of the element.
2) Unreserved checkouts: These type of checkouts do not guarantee the right to create the successor version. Any number of unreserved checkouts are possible.
<<<<<< =================== >>>>>>
Q. 96: What are Hijacked files in relation to ClearCase?
When Rational ClearCase loads a file element into a snapshot view, it applies the file system read-only attribute to the file.
If we change this attribute and modify a loaded file without checking it out, ClearCase considers the file as hijacked.
Hijacking takes a file outside of direct ClearCase control. Although the update operation detects whether we have hijacked a file, it is recommended that we should not hijack files as a standard practice.
<<<<<< =================== >>>>>>
Q. 97: How many types of script templates are available in RFT?
We can customize the default script templates used by RFT to format and provide basic information when we create our script.
Following types of script templates are available:
1) Script: Header of the file: Customizes the layout of new script files.
2) Script: Comment for Test Object: Customizes a test object comment line inserted into a script by the recorder.
3) Script: Comment for top level Test Object: Customizes a top-level test object comment line inserted into a script by the recorder.
4) Script: HTML Test Object Name: Customizes the names of HTML test objects in a script.
5) Script: Java Test Object Name: Customizes the names of Java test objects in a script.
6) Script: .Net Test Object Name: In Functional Tester – Java Scripting, customizes the names of .NET test objects in a script.
7) Script: Windows Test Object Name: In Functional Tester – VB.NET Scripting, customizes the names of Windows test objects in a script.
8) VP: Verification Point Default Name: Customizes the names of verification points which RFT generates by default in the Verification Point and Action Wizard.
9) Script Helper: Header of the file: Customizes the layout of a helper class when auto generated.
10) Script Helper: Test Object Method: Customizes the layout of test object methods in the helper class.
11) Script Helper: Verification Point Method: Customizes the layout of verification point methods in the helper class.
12) Script Helper Superclass: Functional Tester – Java Scripting: Customizes the layout of the script helper superclass.
13) Script Helper Base Class: Functional Tester – VB.NET Scripting: Customizes the layout of the script helper base class.
<<<<<< =================== >>>>>>
Q. 98: What is the use of object map property placeholders?
The object map property placeholders resolve object map placeholder values into property values. They also resolve default placeholder values.
<<<<<< =================== >>>>>>
Q. 99: What is the use of script placeholders?
Script placeholders resolve script-level placeholder values into script values. As the values are resolved, several lines of information can be cached, depending on the placeholder.
<<<<<< =================== >>>>>>
Q. 100: What is the use of script placeholders?
VP placeholders resolve Test Object and verification point (VP) placeholder values into property strings. Default placeholders values are also resolved.
Continue to Next Part : Q 101 to 110
An expert on R&D, Online Training and Publishing. He is M.Tech. (Honours) and is a part of the STG team since inception.