Experimental report of Hubei Institute of automotive industry  

Experiment 4 Automated test tools

* Complete the utilization according to the above experimental steps Junit yes Calculator Class test process , Test exceptions , The screenshots of the running results of the parameterized test and other test methods are guaranteed as follows .

 

2. use QTP yes Windows in “ Calculator ” Conduct tests ,“ Calculator ” The main operation step is to start the calculator , adopt “ see ” Menu selection “ Scientific type ”, calculation 90 Degree Sin value , A screenshot of the recorded script is shown below .

 

  Recording scripts

Window(" Calculator ").WinButton("Button").Click

Window(" Calculator ").WinButton("Button_2").Click

Window(" Calculator ").WinButton("Button_3").Click

Window(" Calculator ").WinButton("Button_4").Click

Window(" Calculator ").Close

test Result Result screenshot

Modify script , Add two addends , Operator parameterization

1. Recording scripts

Window(" Calculator ").WinButton("Button").Click

Window(" Calculator ").WinButton("Button_2").Click

Window(" Calculator ").WinButton("Button_3").Click

Window(" Calculator ").WinButton("Button_4").Click

Window(" Calculator ").Close

2. Parameterize data sources

 

3. Manually select the modify key

 

4. Modifying data through scripts

 

5. Output results

 

6. test Result Result screenshot

 

Insert checklist

Recording scripts

Window(" Calculator ").WinButton("Button").Click

Window(" Calculator ").WinButton("Button_2").Click

Window(" Calculator ").WinButton("Button_3").Click

Window(" Calculator ").WinButton("Button_4").Click

Window(" Calculator ").WinButton("Button_4").Check CheckPoint("Button_4")

Window(" Calculator ").Close

test Result Result screenshot

 

3. The harvest and experience of this experiment .

Testing will exist throughout the project cycle , That is, it starts when various analysis and research are required at the beginning of the project . Especially when the requirements specification is formed, there are test requirements for the document , Even lead the trend of the whole project . The influence of software testing on logical thinking , learning ability , High response requirements , Whether there is strict thinking and reverse thinking is also very important . The test also takes into account the possibility of all errors , Sometimes some unconventional test methods are used .

 

 

Technology
©2019-2020 Toolsou All rights reserved,
C++ of string of compare usage Python Study notes ( one )evo Tool usage problems ——Degenerate covariance rank, Umeyama alignment is not possibleRISC-V_GD32VF103-TIMER0 timer interrupt java Array subscript variable _Java Basic grammar : array be based on stm32 Control four-wheel trolley motor drive ( one ) be based on redis Design of liking function Software engineering career planning mysql Query random data by conditions _MySQL Random query of several qualified records centos7 install RabbitMq