02-13-2008, 11:17 AM
1) Use GetRoProperty
2) I can see that you are trying to use COM, it will not return expected value until your object supports the said method.
I would suggest check with Spy which property returns rowcount and column count.
Once you have the property use the same with DP in your function above.
no need to add the web table to object repository since you are working with DP.
2) I can see that you are trying to use COM, it will not return expected value until your object supports the said method.
I would suggest check with Spy which property returns rowcount and column count.
Once you have the property use the same with DP in your function above.
no need to add the web table to object repository since you are working with DP.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course