How to click on a specific link/checkbox in a tab.
Based on the text value, I want to click on a specific link/checkbox in a web table. I will iterate all the rows and columns, then click on the specific link/checkbox.
I don't know how to achieve this, please advise.
Is this the correct way to do this, or is there any better way?
public void clickObjectInTable(String tableprop)
String t = selenium.getTable(tableprop +"." + i + "." + 2);
if (t.contains("0000112251-Care Center"))
selenium.click(tableprop ..........); - I don't know what property should be here...
How to pass a table/table's property into the function below to get rows and all columns:
Eg: String tableprop="name=mytable";
int rc= selenium.getXpathCount("//table[@" + tableprop + "//tr )
Re: How to click on a specific link/checkbox in a tab.
Got answer for this. So no need to spend time on this (others).
It's an old technique, so just search the web and the answer will be shown.