cancel
Showing results for 
Search instead for 
Did you mean: 

member not found error is seen.

Frequent Contributor

Re: member not found error is seen.

hey martin

 

correct wValue is not a supported for this grid.

Community Hero

Re: member not found error is seen.

That's could be why you're getting the "member not found" error.  

Double check... at the top of that screenshot you posted, there's a link to see the "Advanced" view of the grid.  If you click that, you'll get additional properties as well.  See if wValue shows up there.

If not, you may need to find other methods and/or properties on the grid to retrieve the data you want...

What type of grid control is this?  


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Frequent Contributor

Re: member not found error is seen.

I dont see wValue in advanced tab . its devexpress xtra grid control property.

 

Frequent Contributor

Re: member not found error is seen.

What properties or methods can use to replace wValue? any ideas.

Community Hero

Re: member not found error is seen.

That grid type SHOULD be supported and include wValue (https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/desktop/dev-express/... Why it's not showing up... not sure.

What version of DevExpress are you using?  That could be partly the issue.  Also, what version of TC are you using?

It also appears (based upon the wItemCount property) you may have added this grid to Object Mapping since that property is generating an error.  Could you make sure you don't have this grid added to Object Mapping somewhere in your project?  Double check that you have this grid in your object mapping in the proper place and don't have it added in some other section.

ObjectMappingDevExpress.png


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Frequent Contributor

Re: member not found error is seen.

Yes, I did add to the Object mapping. I removed this grid from the object mapping and was able to see the wvalue but wrowcount , find row are missing. In case I add this grid to the object mapping, I dont see the wvalue property but wrowcount property is seen..how can I fix this where I can see this, my script needs both wrowcount and wvalue.

I am using 12.50 testcomplete version.

 

var flag = 0;
for(var i= 0;i<Grid7.wRowCount;i++){
if((aqConvert.VarToStr(Grid7.wValue(i,1))== "500322") && (aqConvert.VarToStr(Grid7.wValue(i,2))== "COUNTRY") && (aqConvert.VarToStr(Grid7.wValue(i,3))== "TEST") && (aqConvert.VarToStr(Grid7.wValue(i,4))== "Canada")){
Log.Message("Row exists");
flag = 1;
break;
}
}
if(flag ==0){
Log.Message("Row does not exist");
}

 

Community Hero

Re: member not found error is seen.

Again... what version of Dev Express?  TestComplete only supports, natively, up to a particular version so you could have a version problem where TC doesn't support your particular version of Dev Express.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Frequent Contributor

Re: member not found error is seen.

we use 14.1.3.0 dev express Does test complete support it?

Community Hero

Re: member not found error is seen.

Reposting.

https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/desktop/dev-express/...

 

 


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Frequent Contributor

Re: member not found error is seen.

version we use is supported, not sure why we see this issue?

New Here?
Join us and watch the welcome video:
Top Kudoed Authors