Rational Rose Tools Interview Questions
..
..
aa
Parameterization is replacing the original value with a parameter and the
value has to be in the database.
Ø Record
www.Walmart.com .
Ø Go to the “zip code” box and type a valid zip code.
Ø Click “find”. Then “Stop”.
To Parameterize:
Ø Click on “Tool”
Ø Click on “Data driver”
Ø Click on “Parameterize”
Ø Click on “Data driver wizard”
Ø Click on “Step by step parameterization”
Ø Click on “Next”
Ø Click on “Parameter name”
Ø Change the parameter [08648] by highlighting and then replacing with “zipcode”.
Ø Click “OK”
Ø Click “Finish
Ø In Data driver, - click “OK”.
An Excel sheet opens up with “zipcode” on top row.
Ø Fill in other valid zip codes and an invalid zip code. If the zip codes
start with “0” then:
Ø Highlight the cell
Ø Right click
Ø Highlight “Format”
Ø Click on “Custom No:” delete the “General” and type 5 zeros.
Ø Click “OK”
Ø Go to “Test”
Ø Click on “Settings”
Ø Click on “Run”
Ø In “Test settings” choose “Run from all rows”
Ø Click “OK”
Then run from the top. When we run from all rows it gives us as many results
as the number of zip codes. For the invalid zip code there would be no sight
and it should say “Please enter a valid zip code”.
If we want to watch the pages closely we can put wait statement right in
front of the “Start transaction” after the comment. E.g. wait (time).
Multiple Parameterizations
Let us take the example:
www.Greyhound.com>
anywhere> US.
Then we fill up the form with starting city, destination, time, number of
adults, children, seniors etc. After we fill up the form and run. We must
parameterize every single area. For example:
1) Start city
2) End city
3) Start month
4) Start day
5) Start time
6) Adults
7) Children
8) Seniors
All the values that we choose must be in the database in the exact same way
we use it to give parameter. After we do that we run it the same way. Since
we parameterize multiple values it is called multiple parameterizations.
photo