Hello,
I'm trying to run a test on a combo box containing variable items in a silverlight application. I need to select each item from the list and verify that a chart appears. The lists can be quite long, and sometimes a slider bar is needed to scroll to the bottom
I was hoping to use a while loop somehow, but when i try to create validations for the combo box item, I can only base it on the property, visibility, location or tooltip, nothing about the position in the list. The combobox itself also has a combobox verification "Selected item is index '0'", however I cant see a way relate this to the number of entries in the list either as it only changes between 0 and -1 for the list entries.
Another issue is that as there is also a slider bar when the list is long, i need to be able to scroll down once i reach the bottom of the visible list.
What is the best way to go about testing this? I've attached a photo which will hopefully help describe what i mean.
Thanks in advance
I'm trying to run a test on a combo box containing variable items in a silverlight application. I need to select each item from the list and verify that a chart appears. The lists can be quite long, and sometimes a slider bar is needed to scroll to the bottom
I was hoping to use a while loop somehow, but when i try to create validations for the combo box item, I can only base it on the property, visibility, location or tooltip, nothing about the position in the list. The combobox itself also has a combobox verification "Selected item is index '0'", however I cant see a way relate this to the number of entries in the list either as it only changes between 0 and -1 for the list entries.
Another issue is that as there is also a slider bar when the list is long, i need to be able to scroll down once i reach the bottom of the visible list.
What is the best way to go about testing this? I've attached a photo which will hopefully help describe what i mean.
Thanks in advance