Using Selenium RC, I have developed all scripts in Java with JUnit test cases.
I am trying to click on a grid column that contains an "Edit" link. Below is the snippet of my code:
selenium.click("//table[@id='ctl00_POMSContentPlaceHolder_gvBillingCompany']//tr["+gRow+"]//td["+gCol+"]");
The variables gRow
and gCol
are integers whose values change when moving to the next row/column.
Please advise if any modifications are required for this code.