supu123
(supriys)
December 10, 2021, 9:07am
1
Hi Team,
On a website there are 3 dropdowns
1 for schemes
2 for funds
3 forcategory
Need to make permutations combation all these 3 dropdowns and download excels
For eg select scheme1,fund1.category1
Scheme1,fund1category2
All the possible combinations
And the elements i drop down are not fixed
How to work around this
Regards
Hi @supu123 ,
First using get attribute get all the values in each dropdown. Make a nested loop or save permutation combinations in table then make loop. After that find the selector how the dropdown is taking the value may be it is aaname. Then pass the value as variable into it.
ppr
(Peter Preuss)
December 10, 2021, 10:02am
3
retrieving the values from the drop-down can be achieved with different approaches. One option is using the find children activity:
@Aditya10989
Interacting with find children:
Lets assume you have drop down like this Link to Dropdown
[grafik]
[grafik]
Using find children needs following:
1 configuring the selector to the select element
2 configuring the filter to the options
3 defining an output variable
[grafik]
[grafik]
Selector:
<html app='firefox.exe' title='<option value=""> »' />
<webctrl tag='SELECT' />
the last part poining to the selcet element is the most important portion
Filter:
"<w…
For doing the permutations have a look here:
Welcome to the 2020 Advent Challenge #6!
All users are welcome! (You can still join. You don’t need to participate in previous challenges)
Earn Stars to increase your chances to win a prize
More info here .
Santa informed us that the some reindeers escaped again (we did hear about this ). But the reindeers did not come back after calling their names this time. So he decided to ask Claire. Claire owns a reindeer farm, is an absolute expert about reindeers and knows how …
@Addy_619
I agree to @jeevith that is related to combinations and that is recommendable to focus on team member combinations without taking the team positions into account.
For this my demo uses a stack approach
Havin a set of members:
List(12) { “A1”, “A2”, “A3”, “A4”, “B1”, “B2”, “B3”, “B4”, “C1”, “C2”, “C3”, “C4” }
Starting with 12 teams (Team stack with level 1):
List(12) { “A1”, “A2”, “A3”, “A4”, “B1”, “B2”, “B3”, “B4”, “C1”, “C2”, “C3”, “C4” }
now in the first iteration:
look for…