Timeline for Selenium - Automated test with Random-ish data? Doable?
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 30, 2015 at 17:33 | vote | accept | Mercfh | ||
Sep 30, 2015 at 14:07 | comment | added | burythehammer | No idea. I write all my selenium frameworks in IntelliJ, no experience of the IDE. Good luck! | |
Sep 30, 2015 at 13:34 | comment | added | Mercfh | yeah I think that would work, im using the IDE however so im not used to Selenium completely and writing rspec so Im not even sure how you would do that. Is there some way to use the IDE part of the way then fill in code? | |
Sep 30, 2015 at 9:29 | comment | added | burythehammer | As said, if all of your questions are the same (strongly disagree -> strongly agree) you could just randomly fill in each question. Is it necessary to fill in specific answers for specific questions? If you need to get results back afterwards (e.g. 50% agree 50% disagree) you could still store each of your questions/answers in a list/hash/etc as you answer them, and then do queries on that. | |
Sep 30, 2015 at 9:08 | history | edited | burythehammer | CC BY-SA 3.0 |
fixed errors in code
|
Sep 29, 2015 at 18:23 | comment | added | Mercfh | I talked to a Co-worker and he said there may be a way to just "predict" how many questions there are (as the test) but the thing is.....I still need to be able to "select" them to continue on with the survey. So im really not sure if theirs a good way around this. | |
Sep 28, 2015 at 16:14 | comment | added | burythehammer | I would ask the developer if they could attach unique IDs to each question element, as it would make testing far easier. Not every organisation takes testing seriously though, so you may have to be creative. It may be possible to do a pattern match against the text of the question to uniquely identify the question, and then try to query the API/database with that - or at least store the text of the question and the answer you inputted for recall later. If they don't allow you any way to identify the question, your logic will have to be blind for each question. There's no way around it. | |
Sep 28, 2015 at 16:06 | history | edited | burythehammer | CC BY-SA 3.0 |
renamed By selectors to more meaningful names
|
Sep 28, 2015 at 16:05 | comment | added | Mercfh | Sadly unfortunately due to design decisions it's basically staying that way. And while the order changes so does the label (ie like question_81 for the first page may be question_5 labels on the next pass). And theirs like...200 possible questions it can grab from. | |
Sep 28, 2015 at 16:00 | review | First posts | |||
Sep 28, 2015 at 18:00 | |||||
Sep 28, 2015 at 15:56 | history | answered | burythehammer | CC BY-SA 3.0 |