Thanks for the response Kavitha!
I figured that using the above code a user can click the cancel buttons on a web page based on the index provided.
But in the code i am reviewing, it doesn't have any object creation code anywhere in the test as well as in the associated function (vbs) files.
My colleague has used the With .. End With statement within which he uses .WebButton(CancelTop).Click. Can we make use of parameters to create an object name?
I figured that using the above code a user can click the cancel buttons on a web page based on the index provided.
But in the code i am reviewing, it doesn't have any object creation code anywhere in the test as well as in the associated function (vbs) files.
My colleague has used the With .. End With statement within which he uses .WebButton(CancelTop).Click. Can we make use of parameters to create an object name?