member not found error is seen.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
member not found error is seen.
any suggestions why I am getting this error:
Run the below script:
var flag = 0;
for(var i= 0;i<Grid.wRowCount;i++){
if(String(Grid.wValue(i,1))== "500322" && String(Grid.wValue(i,2))== "COUNTRY" && String(Grid.wValue(i,3))== "TEST" && String(Grid.wValue(i,4))== "Canada"){
Log.Message("Row exists");
flag = 1;
break;
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What properties or methods can use to replace wValue? any ideas.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Robert Martin
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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");
}
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
we use 14.1.3.0 dev express Does test complete support it?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Robert Martin
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
version we use is supported, not sure why we see this issue?
