All things Marathon, Marathonite, Java and GUI Test automation, scripting and whatever is useful for test automation projects.
All things Marathon, Marathonite, Java and GUI Test automation, scripting and whatever is useful for test automation projects.
CATEGORIES
BOOKMARKS
Marathonite: Data driven testing
July 2nd, 2010
As part of Marathonite (Marathon Integrated Testing Environment) a mechanism to convert an existing test case into a data driven test case will be added.
An existing test script can be converted to a data driven test by clicking on the “Convert to Data Driven” button available in the toolbar of Marathon Main Window.
When the button is clicked playback of the test script begins, breaking at every function call to prompt the user with the available parameters in the function call which can be made data driven.
def test():
java_recorded_version = '1.5.0_24'
if window('w1'):
select('First Name', 'ABCDEF')
select('Password', 'adsf')
method1('ABC', 'DEF', 'GHI')
close()
The parameters which are to be converted to data driven can be selected by selecting the checkbox available in the first column. Clicking on the “Continue” button continues execution of test script and breaks at the next function call (usually in the next line of the script). The “Step-In” button will be enabled when there is a call to the function which is defined in a module or another test script. Clicking on “Step-In” button will enter into the module function and converts the module function to data driven. Care should be taken while converting a module function to data driven as the module function might be used in other scripts where it is not expected to be data driven.
When the playback of the script is finished, the “Save Conversion” window is displayed. All the parameters which are selected to be data driven are displayed in tables with respective window names as table-titles.
When the “Save” button is clicked, the converted data driven script and a corresponding spreadsheet containing the entered values for the respective parameters are saved. Once the data driven script is saved the user can choose to generate the data by clicking on “Generate Data” button. On clicking “Generate Data”, another window appears where user is required to configure the type, format and other attributes for each parameter for which the data is to be generated. (You will get to see another post explaining about “Data Generation” very soon.)
After configuring the parameters, when the “Generate” button is clicked, data for the required parameters is generated and saved into the spreadsheet which was created earlier while saving the data driven script.
Posted by Sampath Posted in MarathonITE
This entry was posted on Friday, July 2nd, 2010 at 6:01 am and is filed under MarathonITE. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
(C) Jalian Systems 2008 | contact
Hi
Iam very much keen for the latest release.And also want to know approximately what will be charged for the supported version.I need to give briefing on that tool to my company management
looking farward for your reply
Thanking you
regards
N.chandrasekhar
Hi
i want to know how to use checklist custimizing as i was unable to check validations inspite of giving.Iam not clear with checklist
[...] Test Data Window will appear on clicking “Generate Data” button as said in the post “Marathonite:Data driven testing”. Parameters whose test data is to be generated can be selected by selecting the checkbox in the [...]