Forum Discussion
dhanapal1
13 years agoContributor
Hi
I tried in below ways even though I got error like "'ObjectType' is null or not an object" could pls tell me what mistake i did. I need to find ObjectType = RadioButton and want to click the radiobutton.
I tried in below ways even though I got error like "'ObjectType' is null or not an object" could pls tell me what mistake i did. I need to find ObjectType = RadioButton and want to click the radiobutton.
Trial -1
var rbtn;
rbtn = objName.rows(i).cells(0)["FindChild"];
rbtn = objName.Parent.Find("0bjectType", rbtn.ObjectType, 2);
rbtn.Click();
Trial -2
Here I got error like "You are trying to call the "Click" method or property of an object that does not exist."
var proValue, actValue, w;
proValue = new Array("0bjectType", "RowIndex");
actValue = new Array("Cell",1);
// Searches for the cell then focus that item
w = objName["Find"](proValue, actValue, 1);
w["Click"]();
Thanks
Dhanapal
Related Content
- 9 months agoLuukdb
- 7 months agoḼari
- 9 years agoilovechiku