Hello stackoverflowers!
I have a question to test automation (Selenium) specialists with several years experience: What is the best/distinct test automation architecture/structure of files in Java (Maven) project? Example structures are provided below.
UI view of a system:
3 pages: home, registration, accounts.
1.1.1. "Home" page has search bar with "First name" field and "Search" button.
1.1.2. "Accounts" page has the same type of search bar as "Home" page has, but with "First name", "Last name" fields and "Search" button.
1.2.1. "Registration" page has "button1" to open "modal window1", which has 2 radio buttons.
1.2.2. "Accounts" page has "button2" to open "modal window2", which has the same 2 radio buttons as "modal window1" has and 1 "Code" field.
Structures:
1.
2.
Which of these 2 architectures/structures is the better/more distinct one?
Thanks in advance for a suggestion!
You can use NoraUi framework (Gherkin > Cucumber > Java (Step/page/Selenium)).
Maven archetype for create a Robot.
You can learn here
Lot of sample here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.