Forum Discussion
Effectively what you describe is correct.
I have multiple textnode's and the panel becomes populated and visible when a option is selected.
So I need to understand how I can setup the TestComplete so that I can automatically have it randomly pick
a panel option from the textnode drop down list.
Is there a specific way that I need to set it up so that each textnode that I am using can be setup with the panel options?
Hi,
Text below is my another guess as I did not see any screenshot example of the UI portion been discussed.
Panel's binding to textboxes depends on your application. It might be that every textbox has its own panel that is opened when textbox is clicked. However it might be that the same panel is opened every time when any textbox is clicked. This is something that you need to figure out with the help of either Object Browser or your developers.
> how I can setup the TestComplete so that I can automatically have it randomly pick a panel option
After you got the panel, you need to do the following:
-- Wait until panel is populated with data (available options);
-- Get the number of options;
-- Generate a random number between 1 and number of options;
-- Click corresponding option.
Related Content
- 8 months agoMehwishDaud
- 5 years agokate123
- 5 years agom_essaid
Recent Discussions
- 3 days agovladd1