pdhuwalia
13 years agoNew Contributor
Help with Property CP fails - TC 8.6
Hi, I am trying to create a check point to check the number of items in the drop down and compare it to a variable with a stored value. It fails everytime, even when the values are same. My code sample is below,let me know how can it be corrected.
Call aqObject.CheckProperty(ObjectUnderTest, "wItemCount",0, var1)
Further more, I got the item count from the same drop down and then did a compare to the retrieved value,this fails too.
count = ObjectUnderTest.wItemCount
Call aqObject.CheckProperty(ObjectUnderTest, "wItemCount",0, count )
Additional Info on the error I receive :
" Property: wItemCount
Expected value: "6"
Actual value: 6
What am I missing here?
Thanks,
Priya
Call aqObject.CheckProperty(ObjectUnderTest, "wItemCount",0, var1)
Further more, I got the item count from the same drop down and then did a compare to the retrieved value,this fails too.
count = ObjectUnderTest.wItemCount
Call aqObject.CheckProperty(ObjectUnderTest, "wItemCount",0, count )
Additional Info on the error I receive :
" Property: wItemCount
Expected value: "6"
Actual value: 6
What am I missing here?
Thanks,
Priya