İstanbul evden eve nakliyat Beylikd¨¹z¨¹ evden eve nakliyat Tuzla evden eve nakliyat
Best Practices during Recording in IBM-RFT
Delicious Bookmark this on Delicious
software testing genius

Best Practices during Recording in IBM-RFT

Welcome to “Software Testing Genius”. Subscribe to my RSS feed for latest content on Software Testing.

As Featured On Ezine Articles

Best Practices during Recording in IBM - RFT

This article describes useful tips we can take advantage of, while recording in IBM Rational Functional Tester - RFT

1) Best Practices of changing the State of Application while Recording:

a) Changing the State of Application while Recording Verification Point:

# When we pause the recorder for creating a verification point, we should bear it in mind that if we happen to make any change in the state of the application, it is going to affect our script.

# If we change the state of the application while the recorder is paused; all actions recorded after this event could prevent the script from playing back, since the application is in the incorrect state to play back the actions.

# Before beginning to create a verification point, we need to put the application in a state, which is ultimately

desired. For example, if we need to do some actions in the user interface to locate the object desired to be tested, we need to put the application in that state before we start the verification point.

# In the "Select an Object page" of the Verification Point and Action Wizard, we can use the delayed object selector to pause the recorder while we access an object in the application. All actions performed while the delay is in effect will not be recorded.

b) Changing State of Application while Recording a Data-Driven Test:

# When we pause the recorder for creating a data-driven test, we should bear it in mind that if we happen to make any change in the state of the application, it is going to affect our script.

# If we change the state of the application while the recorder is paused; all actions recorded after this event could prevent the script from playing back, since the application is in the incorrect state to play back the actions.

# Before beginning to create a verification point, we need to put the application in a state, which is ultimately desired. For example, if we need to do some actions in the user interface to locate the object desired to be tested, we need to put the application in that state before we start the verification point.

# You can take the advantage of the paused recorder to change the data contents of the controls we are going to data drive. This way, the recorder will not record redundant actions to set the data contents of the controls.

2) Best Practices of Naming Conventions:

a) Java Script Naming Conventions

Scripts created in RFT - Java Scripting, must follow Java Class naming conventions. For example,

# Script names should not contain spaces or non-alphanumeric characters

# Script name should not begin with a number. As per a traditional practice, a Java class name is made to begin with a capital letter.

# As per a traditional practice, the names of Java methods are made to begin with a lower case letter.

# As per a traditional practice, we capitalize the additional words when a class or method name is

made up of multiple words. For example, we can use ApplicationMenuTest for a class name and validateFileMenu() for a method name.

b) VB.Net Script Naming Conventions

Scripts created in RFT - VB.Net Scripting, must follow VB.Net Class naming conventions. For example:

# Script names should not contain spaces or non-alphanumeric characters

# Script name should not begin with a number. As per a traditional practice, a VB.Net class name is made to begin with a capital letter.

# As per a traditional practice, the names of VB.Net methods like verification point helper methods are made to begin with an upper case letter.

# As per a traditional practice, we capitalize the additional words when a class or method name is

made up of multiple words. For example, we can use ApplicationMenuTest for a class name and ValidateFileMenu() for a method name.

3) Best practices while HTML recording:

# While recording actions in HTML applications, we should take the advantage of the hover feature to move the mouse to a particular place during playback. This is very useful for clicking on menus or links in HTML testing.

# To use the hover feature, we need to move the mouse pointer onto the object for which we want to record a hover. Press and then release the Shift key to record the hover. This will cause the recorder to insert a hover() method in the script. At playback, the mouse will then be able to activate links and menus by hovering on them, instead of clicking.

# We can use multiple hover actions to support a cascading menu. The Record Monitor will give us a warning message if we click where there is no object or if hover is not supported for an object.

Many More Articles on IBM Rational Functional Tester 

Study Material - IBM RFT Certification Exam

Download Full Study Materia-HP QTP & QC Certification Exams

Study Material HP LoadRunner Certification Exams for All Modules

What Successful Testers say about the Quality of this website

If you want to keep track of further articles on Software Testing,
I suggest you to subscribe my
RSS feed
.

You can also Subscribe by E-mail
and get All New articles delivered directly to your Inbox.


Quick Navigation of Software Testing Genius

Get your Absolutely Free Copy of Several MS PowerPoint Presentations & E-Books related to ISTQB, HP Load Runner, IBM RFT, HP QTP & QC Certification Exams, prepared by Popular Writers & Trainers, by writing to: Software.testing.genius@gmail.com

Full Study Material for International Certification Exams:

Largest Database of Sample Papers - 1000+ Unique Questions for ISTQB Foundation Exam


ISTQB Foundation Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Analysts Exam - Full Crash Course for Download


ISTQB Advanced CTAL Test Manager Exam - Full Crash Course for Download


Consolidated Study Material - All ISTQB Certification Exams

Practical Roadmap to CSTE Certification

Study Material to prepare for other Automation Tools & QA:

Practical Roadmap to QTP Certification

Consolidated Study Material - Testing & QA

Rehearsal of LoadRunner in 1 Hr.-Interview Questions

Rehearsal of QTP in 1 Hr.-Interview Questions

 

Comments :

comments ↓


Leave Your Comments: (*) Marked Fields are Mandatory

You can apply basic formatting to the text

Name *
 
Email Address *
 
Website
 
Speak your mind
characters
sex hikayeleri