InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Is Rft? |
|
Answer» RFT Stands for Rational Functional Tester, It’s an IBM Product.IBM’s Rational Functional Tester is most powerful next GENERATION functional-testing and automation tool from Rational and is based upon object-oriented TECHNOLOGY. Due to its extreme SIMPLICITY & robustness, it is in GREAT demand all across the industry involved in Application Development & Testing. It is an Automation Testing tool used for Automation and regression testing. RFT Stands for Rational Functional Tester, It’s an IBM Product.IBM’s Rational Functional Tester is most powerful next generation functional-testing and automation tool from Rational and is based upon object-oriented technology. Due to its extreme simplicity & robustness, it is in great demand all across the industry involved in Application Development & Testing. It is an Automation Testing tool used for Automation and regression testing. |
|
| 2. |
What Are The Local And Agent Computers / Machines In Rft? |
|
Answer» When we ASSOCIATE Rational Functional TESTER project with a Rational project, we can use Test MANAGER to run the RFT scripts on computers that are designated as Agent computers from a single Windows COMPUTER called the Local computer. When we associate Rational Functional Tester project with a Rational project, we can use Test Manager to run the RFT scripts on computers that are designated as Agent computers from a single Windows computer called the Local computer. |
|
| 3. |
What Is Purpose Of Playback Monitor In Rational Functional Tester? |
|
Answer» Using PLAYBACK monitor, during the playback of script; we can view the script name, NUMBER of the line that is executing, status icons and a DESCRIPTION of the action in PROGRESS. Using playback monitor, during the playback of script; we can view the script name, number of the line that is executing, status icons and a description of the action in progress. |
|
| 4. |
What Are The Six Steps Involved In Regression Testing Phase Using Rational Functional Tester? |
Answer»
|
|
| 5. |
What Are The Two Main Phases Of Script Playback? |
|
Answer» TEST DEVELOPMENT PHASE and REGRESSION TESTING Phase Test Development Phase and Regression Testing Phase |
|
| 6. |
What Are The Six Steps Involved In Test Development Using Rft? |
Answer»
|
|
| 7. |
What Is The Purpose Of Hover Feature During Recording? |
|
Answer» HOVER FEATURE is useful to move the mouse towards a PARTICULAR place during playback in HTML application. It is helpful for clicking on menus or LINKS in HTML TESTING. Hover feature is useful to move the mouse towards a particular place during playback in HTML application. It is helpful for clicking on menus or links in HTML testing. |
|
| 8. |
Ways Of Using Scriptassure In Rft? |
|
Answer» Standard WAY: ScriptAssure Page - Standard controls object-matching SENSITIVITY during playback by using a slider CONTROL. ADVANCED way: The ScriptAssure Page - Advanced sets thresholds for recognition scores. You can set a maximum score to CONSIDER a test object as a candidate for recognition. Standard way: ScriptAssure Page - Standard controls object-matching sensitivity during playback by using a slider control. Advanced way: The ScriptAssure Page - Advanced sets thresholds for recognition scores. You can set a maximum score to consider a test object as a candidate for recognition. |
|
| 9. |
What Is The Purpose Of Using Script Assure In Rft? |
|
Answer» This feature helps the successful playback of scripts EVEN when the application under test has been updated. We can play BACK scripts in RFT by using the ScriptAssure feature to control object-matching sensitivity. For RFT to RECOGNIZE an object in the application-under-test, the object properties must match the properties recorded in test object map. RFT can find the object if 1 or 2 properties do not match. If 2 properties do not match, RFT gives a WEAK recognition warning to the log. If more than 3 properties do not match, RFT cannot find the object in the application. This feature helps the successful playback of scripts even when the application under test has been updated. We can play back scripts in RFT by using the ScriptAssure feature to control object-matching sensitivity. For RFT to recognize an object in the application-under-test, the object properties must match the properties recorded in test object map. RFT can find the object if 1 or 2 properties do not match. If 2 properties do not match, RFT gives a weak recognition warning to the log. If more than 3 properties do not match, RFT cannot find the object in the application. |
|
| 10. |
What Is Required To Run A Rft Script From Test Manager? |
|
Answer» Java SCRIPTING / VB.NET Scripting. On a remote computer, you need to install Rational Test Agent software on the Agent computer and start the agent. However, if we need external library to run scripts, then we need to install the software on the system on which we plan to run the SCRIPT. To install a .dll, you need to add the library to directory that is in system SEARCH paths and to install a .jar file, you will need to add it to the Functional Tester customization directory. DEFAULT location for the customization directory is: C: Documents and Settings All Users Application DataIBMRFTcustomization Java Scripting / VB.NET Scripting. On a remote computer, you need to install Rational Test Agent software on the Agent computer and start the agent. However, if we need external library to run scripts, then we need to install the software on the system on which we plan to run the script. To install a .dll, you need to add the library to directory that is in system search paths and to install a .jar file, you will need to add it to the Functional Tester customization directory. Default location for the customization directory is: C: Documents and Settings All Users Application DataIBMRFTcustomization |
|
| 11. |
What Are The Actions Performed By The Agent Computers? |
| Answer» | |
| 12. |
Sometimes Record Monitor Goes Blank When Recording Against Java Or Html Application. What Is The Reason For That? |
|
Answer» Record Monitor goes BLANK while RECORDING against JAVA or HTML application when JREs or browsers are not ENABLED. Record Monitor goes blank while recording against Java or HTML application when JREs or browsers are not enabled. |
|
| 13. |
In How Many Ways Test Scripts Can Be Saved In Rft? |
|
Answer» THREE ways: Save the CURRENT TEST script or FILE, Save all test scripts & files and Save a script under ANOTHER name Three ways: Save the current test script or file, Save all test scripts & files and Save a script under another name |
|
| 14. |
Name The Various Types Of Data Pools In Rational Functional Tester? |
|
Answer» There are two TYPES of DATAPOOLS: PRIVATE datapool and SHARED datapool There are two types of datapools: Private datapool and Shared datapool |
|
| 15. |
Name Two Methods To Select An Object In An Application Under Test In Rft? |
|
Answer» OBJECT FINDER Tool METHOD and TEST Object BROWSER method Object Finder Tool method and Test Object Browser method |
|
| 16. |
How Data Driving Testing Is Helpful In Rft? |
|
Answer» During data driven testing, the script uses variables for KEY application input fields and programs instead of literal VALUES so that we can use external data to DRIVE the application being TESTED. Data driven testing uses data from an external FILE called as datapool. We can add data to the data pool after finishing the recording of the test script. During data driven testing, the script uses variables for key application input fields and programs instead of literal values so that we can use external data to drive the application being tested. Data driven testing uses data from an external file called as datapool. We can add data to the data pool after finishing the recording of the test script. |
|
| 17. |
What Happens To The Related Files When We Rename A Test Asset? |
|
Answer» When we rename a script, RATIONAL Functional Tester renames all its related files like the helper script files, private OBJECT MAP and any verification point files. If you rename a test object map, the ASSOCIATED scripts with the new name gets UPDATED. When we rename a script, Rational Functional Tester renames all its related files like the helper script files, private object map and any verification point files. If you rename a test object map, the associated scripts with the new name gets updated. |
|
| 18. |
What Is The Wait State Feature For The Objects? |
|
Answer» In RFT, this FEATURE is used to set wait state for an object during the playback to check its existence. It is useful when WAITING for an object after starting the application or after other ACTIONS TAKING a long time. In RFT, this feature is used to set wait state for an object during the playback to check its existence. It is useful when waiting for an object after starting the application or after other actions taking a long time. |
|
| 19. |
Explain The Purpose Of Test Object Inspector? |
|
Answer» It is used to get a display of the test object information in running application. The information can be of parent HIERARCHY, inheritance hierarchy, test object properties, non-value properties and method information. Test Object Inspector automatically tracks the CURSOR and performs live updates after the application is OPENED. Test Object Inspector does not capture the object / OBJECTS in the application if it is not active. It is used to get a display of the test object information in running application. The information can be of parent hierarchy, inheritance hierarchy, test object properties, non-value properties and method information. Test Object Inspector automatically tracks the cursor and performs live updates after the application is opened. Test Object Inspector does not capture the object / objects in the application if it is not active. |
|
| 20. |
Name The Two Types Of Datapool Record Selection Orders Available In Rft? |
|
Answer» SEQUENTIAL RECORD SELECTION ORDER and RANDOM record selection order. Sequential record selection order and Random record selection order. |
|
| 21. |
Which Events Take Place When We Run A Script? |
|
Answer» VERIFICATION point ACCESSES the data in the datapool and creates the expected results from the baseline and the active data pool record. Datapool reference resolves and supplies data to verification point. The expected result is compared to the ACTUAL result. The expected and actual results are recorded in the log. Any deviations from the expected results are logged as a FAILURE in the TEST log. Verification point accesses the data in the datapool and creates the expected results from the baseline and the active data pool record. Datapool reference resolves and supplies data to verification point. The expected result is compared to the actual result. The expected and actual results are recorded in the log. Any deviations from the expected results are logged as a failure in the test log. |
|
| 22. |
Can We Replace Literal Values In A Script With Data Pool References? |
|
Answer» Yes. We can replace LITERAL VALUES in existing script with data pool references to add realistic data to the script. We can replace all literal values or just the number or STRING or BOOLEAN literals with a data pool reference. If we do not use an existing datapool variable, then the same literal values are used each TIME we run the script. Yes. We can replace literal values in existing script with data pool references to add realistic data to the script. We can replace all literal values or just the number or string or Boolean literals with a data pool reference. If we do not use an existing datapool variable, then the same literal values are used each time we run the script. |
|
| 23. |
What Type Of Changes We Can Do In A Data Pool? |
|
Answer» Once we DATA drive a TEST to CREATE a data pool or create an empty data pool, then we can edit the records and variables in the data pool. We can
Once we data drive a test to create a data pool or create an empty data pool, then we can edit the records and variables in the data pool. We can |
|
| 24. |
What Is The Procedure To Create Data Pools In Rational Functional Tester? |
|
Answer» A data pool is a TEST data set - a collection of related data records which supplies data VALUES to the variables in test script during test script play back. You can create data for a data pool from scratch or we can import existing data into a new data pool from another Functional Tester data pool or from a .csv file. NOTE: If you need to import the data, you will need to import the data into the same RATIONAL Functional Tester project as the test scripts that access the data. If you need to import data from Test MANAGER data pool, you will need to first associate a RFT project with a Rational project to use the Test Manager data pool. A data pool is a test data set - a collection of related data records which supplies data values to the variables in test script during test script play back. You can create data for a data pool from scratch or we can import existing data into a new data pool from another Functional Tester data pool or from a .csv file. Note: If you need to import the data, you will need to import the data into the same Rational Functional Tester project as the test scripts that access the data. If you need to import data from Test Manager data pool, you will need to first associate a RFT project with a Rational project to use the Test Manager data pool. |
|
| 25. |
Describe The Process Of Debugging Of Scripts In Rational Functional Tester? |
|
Answer» If the SCRIPTS are recorded in the Java programming language - debugging scripts is the same PROCESS as debugging a Java application. If the scripts are recorded in the VB.NET SCRIPTING - debugging scripts is the same process as debugging a Visual Basic application. If the scripts are recorded in the Java programming language - debugging scripts is the same process as debugging a Java application. If the scripts are recorded in the VB.NET Scripting - debugging scripts is the same process as debugging a Visual Basic application. |
|
| 26. |
Out Of Test Scripts Or Test Cases Which One Should Be Run To Generate Test Case Results? |
|
Answer» TEST cases should be run to generate test CASE results instead of the script. If we run a script the Test Manager does not generate test case COVERAGE results. Test cases should be run to generate test case results instead of the script. If we run a script the Test Manager does not generate test case coverage results. |
|
| 27. |
When We Run A Rft Script What Actions Are Performed? |
|
Answer» When script runs from RATIONAL Functional Tester, it plays back all recorded ACTIONS. Playback Monitor STARTS and provides information when the script plays back. A log file gets displayed after the script runs completed. When script runs from Test MANAGER, Test Manager creates a temporary suite, runs the suite and removes the suite after the run is completed. We can run a script either from the Test Manager Test Scripts WINDOW or from the Test Manager File menu. When script runs from Rational Functional Tester, it plays back all recorded actions. Playback Monitor starts and provides information when the script plays back. A log file gets displayed after the script runs completed. When script runs from Test Manager, Test Manager creates a temporary suite, runs the suite and removes the suite after the run is completed. We can run a script either from the Test Manager Test Scripts window or from the Test Manager File menu. |
|
| 28. |
What Are The Environmental Prerequisites Prior To Playback Of Rft Scripts? |
Answer»
|
|
| 29. |
How Can We Record Script For Testing The Html Applications Using Rft? |
Answer»
|
|
| 30. |
Can We Do Recording In An Existing Rft Script? |
|
Answer» YES. We can do the recording in EXISTING RFT script by bringing our cursor to the desired location & just start the recording. Start the application >> insert verification points >> and ADD all script support functions. Yes. We can do the recording in existing RFT script by bringing our cursor to the desired location & just start the recording. Start the application >> insert verification points >> and add all script support functions. |
|
| 31. |
How Can We Create A New Rft Script Without Recording? |
|
Answer» In new SCRIPT > RFT includes IMPORT statements for files we need to compile the script and comments containing information of ARCHIVING. Functional Tester uses the script NAME as the class name and sets up testMain. Here, you can add the commands to include in the script. In new script > RFT includes import statements for files we need to compile the script and comments containing information of archiving. Functional Tester uses the script name as the class name and sets up testMain. Here, you can add the commands to include in the script. |
|
| 32. |
What Is A Test Project In Rft? |
|
Answer» Location where Functional Tester keeps all of the scripts, ALONG with expected and actual results is called as a TEST project. The format of test project is governed by the environment being used. Note: If you are using the JAVA LANGUAGE, create a Java test project. However you are using Visual Basic.NET, create a .NET test project. Location where Functional Tester keeps all of the scripts, along with expected and actual results is called as a test project. The format of test project is governed by the environment being used. Note: If you are using the Java language, create a Java test project. However you are using Visual Basic.NET, create a .NET test project. |
|
| 33. |
How An Application Starts During Recording The Tests? |
|
Answer» While recording tests the application can be started by using startApp COMMAND. It makes playing BACK the tests more reliable because startApp uses the application CONFIGURATION information. RFT will open either JAVA applications that we specify or HTML pages in our BROWSER, or run applications in executable form. While recording tests the application can be started by using startApp command. It makes playing back the tests more reliable because startApp uses the application configuration information. RFT will open either Java applications that we specify or HTML pages in our browser, or run applications in executable form. |
|
| 34. |
Rft Provides How Many Type Of Delete Cookies Methods? |
| Answer» | |
| 35. |
Name The Functional Test Project Items That Can Be Imported? |
|
Answer» Project items like scripts, test object maps, Java files or Visual BASIC files, and datapools can be imported into a Functional Tester project. Functional Tester adds all the project items from the data TRANSFER file into the project SPECIFIED by us. We can use any file COMPRESSION program which support the .zip to view and work with items in the data transfer file. Project items like scripts, test object maps, Java files or Visual Basic files, and datapools can be imported into a Functional Tester project. Functional Tester adds all the project items from the data transfer file into the project specified by us. We can use any file compression program which support the .zip to view and work with items in the data transfer file. |
|
| 36. |
What Is The Helper Superclass In Rft? |
|
Answer» All FUNCTIONAL Tester scripts use default HELPER superclass. These scripts extend the RationalTestScript class and thereby inherit a NUMBER of methods. HOWEVER, advanced users can create their own helper superclass (if they want to add additional methods or OVERRIDE the methods within RationalTestScript). All Functional Tester scripts use default helper superclass. These scripts extend the RationalTestScript class and thereby inherit a number of methods. However, advanced users can create their own helper superclass (if they want to add additional methods or override the methods within RationalTestScript). |
|
| 37. |
Type Of File Extensions Created While Exporting Functional Test Project Items? |
|
Answer» RFT compresses a copy of the files into a data transfer file with the name SPECIFIED by us. It also APPENDS a .rftjdtr (Functional Tester Java Scripting) or .rftvdtr (Functional Tester VB.NET Scripting) extension to it. RFT compresses a copy of the files into a data transfer file with the name specified by us. It also appends a .rftjdtr (Functional Tester Java Scripting) or .rftvdtr (Functional Tester VB.NET Scripting) extension to it. |
|
| 38. |
What Types Of Nesting Of Objects Is Supported By Functional Tester? |
|
Answer» Parent-child NESTING and Owner-owned nesting Parent-child nesting and Owner-owned nesting |
|
| 39. |
What Host & Test Platforms Supported By Rft? |
|
Answer» Functional Tester runs on the FOLLOWING Host and Test platforms: Windows XP Professional, Windows 2000 Professional & Server, Windows 2000 Server & ADVANCED Server, Windows 2003 Enterprise, Standard & Server Platforms supporting all functions of RFT EXCEPT the recording: Red Hat LINUX Enterprise WORKSTATION 4.0, SuSE Linux Professional version 9.0, SuSE Linux Enterprise Server 10.0, Novel Desktop 10.0 Functional Tester runs on the following Host and Test platforms: Windows XP Professional, Windows 2000 Professional & Server, Windows 2000 Server & Advanced Server, Windows 2003 Enterprise, Standard & Server Platforms supporting all functions of RFT except the recording: Red Hat Linux Enterprise Workstation 4.0, SuSE Linux Professional version 9.0, SuSE Linux Enterprise Server 10.0, Novel Desktop 10.0 |
|
| 40. |
How Rft Playback Depends Upon The Platform And The Browser? |
|
Answer» Test playback in RFT is independent of the platform as WELL as independent of browser. E.g. we can record script on Windows and play it back on Linux. Also, the script contains no references to the browser during the recording, we can play back the script using any of the supported VERSIONS of FIREFOX, Mozilla, Internet EXPLORER or Netscape. Test playback in RFT is independent of the platform as well as independent of browser. E.g. we can record script on Windows and play it back on Linux. Also, the script contains no references to the browser during the recording, we can play back the script using any of the supported versions of Firefox, Mozilla, Internet Explorer or Netscape. |
|
| 41. |
What Types Of Verification Points Are Provided By Rft? |
|
Answer» Rational FUNCTIONAL TESTER has two types of VERIFICATION POINTS: Object properties verification point and Data verification points. Data verification point has five further points: MENU hierarchy verification point, Table verification point, Text verification point, Tree hierarchy verification point, List verification point. Rational Functional Tester has two types of verification points: Object properties verification point and Data verification points. Data verification point has five further points: Menu hierarchy verification point, Table verification point, Text verification point, Tree hierarchy verification point, List verification point. |
|
| 42. |
What Is The Utility Of A Verification Points In Rational Functional Tester? |
|
Answer» During the RECORDING verification points can be INSERTED in the script to confirm the state of an object in the application. A verification point captures the object information based UPON the type of verification point and stores it in a BASELINE data file. The information in the BASE file becomes baseline of expected state of object during subsequent builds. During the recording verification points can be inserted in the script to confirm the state of an object in the application. A verification point captures the object information based upon the type of verification point and stores it in a baseline data file. The information in the base file becomes baseline of expected state of object during subsequent builds. |
|
| 43. |
Can We Export Functional Test Project Items? |
|
Answer» We can export PROJECT ITEMS like scripts, TEST object maps, Java files, Visual Basic files and data pools to another Functional Tester project. When we export a script Functional Tester includes all necessary files like shared test object maps EVEN THOUGH it was not selected by us. We can export project items like scripts, test object maps, Java files, Visual Basic files and data pools to another Functional Tester project. When we export a script Functional Tester includes all necessary files like shared test object maps even though it was not selected by us. |
|
| 44. |
Name Three Buttons Available In Functional Tester Projects View Banner? |
Answer»
|
|
| 45. |
Are There Any Restrictions When We Disassociate A Project From The Current Rational Project? |
|
Answer» Yes. We can not play back Functional Tester script or test cases or SUITES that include Functional Tester scripts in DISASSOCIATED project from TestManager. Test Manager deletes test script source from the disassociated project. This operation can not be undo. If we ASSOCIATE Functional Test project with Rational project again, TestManager creates NEW test script source. Yes. We can not play back Functional Tester script or test cases or suites that include Functional Tester scripts in disassociated project from TestManager. Test Manager deletes test script source from the disassociated project. This operation can not be undo. If we associate Functional Test project with Rational project again, TestManager creates new test script source. |
|
| 46. |
What Are The Benefits Of Associating A Functional Tester Project With Rational Project? |
Answer»
|
|
| 47. |
What Is The Use Of Associating A Project With Testmanager In Rft? |
| Answer» | |
| 48. |
What Is A Rational And Functional Test Project? |
|
Answer» RATIONAL Test PROJECT is used for storing test assets like test PLANS test cases, test logs, reports, builds etc. To associate a Functional Tester project with a Rational project, a Rational project NEEDS to be created to store the test assets. Functional Test project stores all application test assets like scripts, object maps, verification point baseline files and script templates. Functional Test project is created before recording the scripts. Rational Test project is used for storing test assets like test plans test cases, test logs, reports, builds etc. To associate a Functional Tester project with a Rational project, a Rational project needs to be created to store the test assets. Functional Test project stores all application test assets like scripts, object maps, verification point baseline files and script templates. Functional Test project is created before recording the scripts. |
|
| 49. |
What Are Two Types Of Testmanagers In Rft? |
|
Answer» TestManager: It includes the Test Manager Log, running Windows & Linux remote playback agents and test management features LIKE running scripts as part of a test suite. FUNCTIONAL Tester has its own logs and does not depend on the TestManager log INTEGRATION. ClearQuest Test Manager: It helps us in associating functional test scripts to Test Cases and executes them. USING CQTM we can ANALYZE the received execution results and record those results for reporting and analysis. TestManager: It includes the Test Manager Log, running Windows & Linux remote playback agents and test management features like running scripts as part of a test suite. Functional Tester has its own logs and does not depend on the TestManager log integration. ClearQuest Test Manager: It helps us in associating functional test scripts to Test Cases and executes them. Using CQTM we can analyze the received execution results and record those results for reporting and analysis. |
|
| 50. |
In How Many Ways We Can Test The Applications On Linux Using Rft? |
|
Answer» First Way: We can record a script on Windows Environment and export it to Linux & then play it back on Linux. Second Way: By writing scripts USING the Test Object Insert TOOL. Instead of creating an object map through recording we populate it OUTSIDE of the recorder by opening the map and selecting OBJECTS in the test application. We can insert verification points without recording, by opening the Verification Point wizard from the Script Explorer. First Way: We can record a script on Windows Environment and export it to Linux & then play it back on Linux. Second Way: By writing scripts using the Test Object Insert tool. Instead of creating an object map through recording we populate it outside of the recorder by opening the map and selecting objects in the test application. We can insert verification points without recording, by opening the Verification Point wizard from the Script Explorer. |
|