Timeline for Controlling database state in Selenium UI Testing
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 20, 2020 at 12:25 | history | edited | JAINAM | CC BY-SA 4.0 |
added 5 characters in body
|
May 23, 2017 at 12:41 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
Apr 13, 2017 at 12:41 | history | edited | CommunityBot |
replaced http://sqa.stackexchange.com/ with https://sqa.stackexchange.com/
|
|
Feb 23, 2015 at 19:19 | comment | added | Niels van Reijmersdal | You could create a users class with a method createUser("name", "password", "otherdetailsyouneedfortest"). This method could use the application code to generate the user in the system, similar to the code executed when a users is using the maintenance screens to create users or by executing a SQL query. I would prefer not to use SQL queries, because if the data model changes you need to update two locations. The original code and the test-data generation. Maybe you can ask local application developers to help you setup something like this? | |
Feb 23, 2015 at 13:58 | comment | added | saifur |
Hey man. Thanks for the answer. How do you accomplish Functions to generate users and test-data from code, preferable re-using the actual internal classes of the application. (To make sure when the application changes the generation of data also changes) with Selenium or sql and what's your suggestion
|
|
Feb 21, 2015 at 12:09 | history | edited | Niels van Reijmersdal | CC BY-SA 3.0 |
added 54 characters in body
|
Feb 21, 2015 at 11:46 | history | edited | Niels van Reijmersdal | CC BY-SA 3.0 |
added 476 characters in body
|
Feb 21, 2015 at 11:40 | history | answered | Niels van Reijmersdal | CC BY-SA 3.0 |