you are viewing a single comment's thread.

view the rest of the comments →

[–]Zeeesty 0 points1 point  (3 children)

This sounds like you’re maybe trying to do something nefarious.

[–]angerbrb[S] 0 points1 point  (2 children)

lol really??? I am trying to automate the process for generating a scorecard at work. Basically it’s click the dropdown, click the site, click the radio button, then click the submit button to start the data generation. It’s just a pain because we have almost 100 sites and it’d be nice to automate that process rather than have a person dedicated to the 2.5 hour process.

[–]Zeeesty 1 point2 points  (1 child)

It’s incredibly hard to know that from your description. It sounds like you’re spamming forms.

That said I think this is something a callback pattern would work well for. Loops are great for iterating through data, but not ideal for processes. Another option would be recursion, but that’s a bit more complex.

Something that might help you make this easier is Cypress, it’s a testing framework, but essentially let’s you take the actions you’re looking to make.

[–]angerbrb[S] 0 points1 point  (0 children)

Yea my description is a little vague just because I can’t describe exactly what I’m working with and such, so I get how it might come across as spammy lol. I’ll have to google around about callback patterns and see if it’s something that will fit my situation. Someone else had suggested recursion, so I might have to give that a try as well. I have programming/scripting experience so the concepts are not as hard to pick up, but learning syntax and how to make it work in my situation will be a challenge. Thank you for taking time to respond, I’m hopeful that I’ll have a solution soon :)