Web automated testing simple example

Reprinted https://blog.csdn.net/u011054333/article/details/78767724

problem:

  A lot of unexpected places, in the middle undergone a reconstruction, good egg pain;

  xpath positioning using skilled enough, a lot of positioning problems, can only rely forced to wait to solve;

  Repeat function methods exist, because xpath different positioning, can only be written separately and have time to continue to optimize;

  selenium drop functionality, without success;

  Small function is not perfect;

  Print Log plus part, incomplete;

  

Do not continue to perfect reason:

  Close of the year, trouble, no power; going to take the time to understand the next year to AirtestIDE;

 

--------------------------------------------------------------------------------------------------------------------------

 

What the code and BeautifulReport app UI test automation to achieve  similar, mainly to design a simple and efficient test cases according to their own project ....

 Project directory:

case directory:

page directory:

 

html report shows:

 

 

Here you can set their own theme is shown in the lower size report;

In addition Amway a tutorial: Web Selenium automated testing basic to enterprise applications (video + source code)

Share a resource site platform:      Click to enter

problem:

  A lot of unexpected places, in the middle undergone a reconstruction, good egg pain;

  xpath positioning using skilled enough, a lot of positioning problems, can only rely forced to wait to solve;

  Repeat function methods exist, because xpath different positioning, can only be written separately and have time to continue to optimize;

  selenium drop functionality, without success;

  Small function is not perfect;

  Print Log plus part, incomplete;

  

Do not continue to perfect reason:

  Close of the year, trouble, no power; going to take the time to understand the next year to AirtestIDE;

 

--------------------------------------------------------------------------------------------------------------------------

 

What the code and BeautifulReport app UI test automation to achieve  similar, mainly to design a simple and efficient test cases according to their own project ....

 Project directory:

case directory:

page directory:

 

html report shows:

 

 

Here you can set their own theme is shown in the lower size report;

Guess you like

Origin www.cnblogs.com/alex96/p/12152231.html