Page 1 of 1

Verify Item Does NOT Exist in Combo Box

Posted: Wed Jun 17, 2009 8:51 pm
by costamesakid
I have a combo box containing various cities. One of my tests is to create a new city, verify it displays in the combo box, then delete the city and verify it does not appear in the combo box.

Does Ranorex have a method for verifying an item does NOT exist? Thanks

Re: Verify Item Does NOT Exist in Combo Box

Posted: Wed Jun 17, 2009 11:23 pm
by Ciege
What is your method for verifying an item DOES exist in the combo box?

If you are reading all the combo box items into an array you can parse the array and if the item exists in the array set a boolean variable to true. If it doesn't exist, set the boolean variable to false.