Q. 28: What are the environmental prerequisites prior to playback of RFT scripts?
Ans. – Make sure that the application under test is in the same state that it was in when you record the script.
– Ensure that applications and windows that were open or displayed or active when we started recording the script must be open or displayed or active when we start playback.
– Ensure to restore relevant network settings, active databases and system memory (if any) to the same state as when the script was recorded.
Q. 29: When we run a RFT script what actions are performed?
Ans. 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.
Q. 30: Out of test scripts or test cases which one should be run to generate test case results?
Ans. 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.
Q. 31: Describe the process of debugging of scripts in Rational Functional Tester.
Ans. 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.
Q. 32: What is the procedure to create data pools in Rational Functional Tester?
Ans. 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.
Q. 33: What type of changes we can do in a data pool?
Ans. 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
1) Add – Remove – Move – Edit a record and variable
2) Edit data pool values
4) Cut – Copy or Paste a cell or record or a variable
Q. 34: Can we replace literal values in a script with data pool references?
Ans. 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.
Q. 35: Which events take place when we run a script?
Ans. 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.
Q. 36: Name the two types of datapool record selection orders available in RFT?
Ans. Sequential record selection order and Random record selection order.
Q. 37: Explain the purpose of Test Object Inspector?
Ans. 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.
Q. 38: What is the wait state feature for the objects?
Ans. 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.
Q. 39: What happens to the related files when we rename a test asset?
Ans. 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.
Note: After renaming operation, we need to change all callScript commands in scripts which reference the old script name.
Q. 40: How Data driving testing is helpful in RFT?
Ans: 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.
Q. 41: Name two methods to select an object in an application under test in RFT?
Ans. Object Finder Tool method and Test Object Browser method
Q. 42: Name the various types of datapools in Rational Functional Tester.
Ans. There are two types of datapools: Private datapool and Shared datapool
Q. 43: In how many ways test scripts can be saved in RFT?
Ans. Three ways: Save the current test script or file, Save all test scripts & files and Save a script under another name
Q. 44: Sometimes record monitor goes blank when recording against Java or HTML application. What is the reason for that?
Ans. Record Monitor goes blank while recording against Java or HTML application when JREs or browsers are not enabled.
Q. 45: What are the actions performed by the agent computers?
– Running the scripts on more than one computer.
– Test different machine configurations.
– Run Functional Tester scripts remotely on Linux or Windows computers.
Q. 46: What is required to run a RFT script from Test Manager?
Ans. 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 Data\IBM\RFT\customization
Q. 47: What is the purpose of using Script Assure in RFT?
Ans. 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.
Q. 48: Ways of using ScriptAssure in RFT.
Ans. – 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.
Q. 49: What is the purpose of Hover feature during recording?\
Ans. 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.
Q. 50: What are the six steps involved in test development using RFT?
Ans. – Restore test environment and set the playback options.
– Play back each script against the same version of the application under test that was used for recording.
– Analyze the results in the Rational Functional Tester log.
– Use Functional Tester Verification Point Comparator for determining the cause of verification point failures.
– If the script fails; then edit it or debug it or re record it so that it runs as required.
– If we associate a Rational Functional Tester project with the current Rational project, we can group various scripts into test suite and play back the suite to verify that the scripts work properly.
Q. 51: What are the two main phases of script playback?
Ans. Test Development Phase and Regression Testing Phase
Q. 52: What are the six steps involved in regression testing phase using Rational Functional Tester?
Ans. – Restore testing environment and set playback options.
– Play back test script against a new build of the application under test.
– Analyze the test results in the Rational Functional Tester log.
– Use the Rational Functional Tester Verification Point Comparator to determine the cause of verification point failures.
– If required, revise your test scripts to use new features in the application under test and playback the revised test scripts.
Q. 53: What is purpose of Playback Monitor in Rational Functional Tester?
Ans. 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.
Q. 54: What are the Local and agent computers / machines in RFT?
Ans. 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.
– Rational Functional Tester Interview Questions – 1
Rahnuma is a technical content writer at software testing stuff. A software engineer by degree and a dynamic content creator by passion, she brings to table over 3 years of writing experience in tech niche. Combining her enthusiasm for writing and technology, she loves to share her thoughts on the latest tech trends.