Verify Item Does NOT Exist in Combo Box

Ask general questions here.
costamesakid
Posts: 94
Joined: Tue Jun 16, 2009 10:27 pm

Verify Item Does NOT Exist in Combo Box

Post by costamesakid » Wed Jun 17, 2009 8:51 pm

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

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Verify Item Does NOT Exist in Combo Box

Post by Ciege » Wed Jun 17, 2009 11:23 pm

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.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...