i need a bit of a help with winrunner.
1. On a page 1,i have a combo box fields and text fields , let us call it combo1 ...combo2 ...till combo 5 say , and text1 ...text 5.
2.On this page there is a link called edit/add combo's which takes to page 2 which also has a single combo and text field.
The user clicks the edit/add link on page 1 and goes to page 2 to fill in combo and text details and clicks save.
now page 1 will have 6 combo's and 6 text fields.
now with winrunner if i write a script then it stores the name of combos as array elements on script and in GUI map file.
After executing the script once the next the the script throws an error as the script has the 5 in the array name for the combo but now they have become 6 and so every time they will increase.The map file has also learned the object as no 5 next time it is not able to match this number.
So please tell me
a.how do i assign/edit the logical name of the gui , i basically want to pass parameter to it so that 5 or 6 or any other value is available at runtime to the object name.
b. how do i assign the dnamic name to map file.
i will be thankful if u can help me with the same.