Forum Discussion
vg14 Click ... Clicks the 'vg14' control.
textnode Click ... Clicks the 'textnode' control.
panelYYYY Click ... Clicks the 'panelYYY' control.
textboxCenterDealdealname Click ... Clicks the 'textboxCenterDealdealname' control.
textboxCenterDealdealname SetText "A New Deal" Sets the text 'A New Deal' in the 'textboxCenterDealdealname' text editor.
textnode13 Click ... Clicks the 'textnode13' control.
panelXXXXX Click Clicks the 'panelXXXXX' control.
panelBold Click Clicks the 'panelBold' control.
panel47 Click Clicks the 'panel47' control.
textnode2 Click Clicks the 'textnode2' control.
panelZZZZZ Click Clicks the 'panelZZZZ' control.
textnode12 Click Clicks the 'textnode12' control.
panel7 Click Clicks the 'panel7' control.
panel8 Click Clicks the 'panel8' control.
panel8 Keys "WEre going backwards in time" Enters 'WEre going backwards in time' in the 'panel8' object.
panel3 Click Clicks the 'panel3' control.
panel292 Click Clicks the 'panel292' control.
buttonCreateNewDeal ClickButton Clicks the 'buttonCreateNewDeal' button.
vg14 Click Clicks the 'vg14' control.
So you can see I have removed the names involved what all of those panels have multiple names that can change
what I need to do to test them is to set these up so that the system will select the textnode and then randomly select
one of the panel names that shows up once the textnode is selected. I have found a csv wants to select all the items in the
csv file and the problem with that is that I would only want it to select it once and then move on to the next menu option.
Try a csv with only one row. Put each data value in its own column, in the order they should be entered. Work with the one row until you get the behavior that you want and then add more rows and try again.
It's okay to work through all your possible data combinations in a sequential order. You won't gain anything by trying to pick the data in a random order.
- Largent8033 years agoContributor
So how would you rename the panel so that it shows as blank when its beginning because when I set the manual
test the panel name comes up with the name I selected.
Example
textnode13
panelXXXXX2
The panel name doesn't get populated until it is selected so what I am trying to do is work around that issue.
- AlexKaras3 years agoChampion Level 3
Hi,
It is my guess that you are working not with a real dropdown, but with a set of objects (text field, panel, something else) that is orchestrated by some page script and behaves like dropdown.
If my guess is correct, then your code should work with those objects sequentially. For example:
-- Click text field;
-- Wait until the corresponding panel appears on the screen;
-- Wait until this panel is populated with data;
-- Search for the object that emulates dropdown's list element and which contains required data;
-- Click the found object.
Effectively, the above procedure will emulate selection of some element from real dropdown's list.
- Largent8033 years agoContributor
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?
Related Content
- 8 months agoMehwishDaud
- 5 years agokate123
- 5 years agom_essaid
Recent Discussions
- 16 hours agovladd1