当前位置:网站首页>Automatic generation of interface automatic test cases by actual operation

Automatic generation of interface automatic test cases by actual operation

2022-07-04 20:42:00 Xiaowu knock code

​ The question drawn out in this issue is about how to use Eolinker Automated test case generation , Also is to API Document changes are synchronized to test cases , Here is an example analysis of the process .

Import and associate API Documentation and automated test cases

The first is to log in Eolinker, It can be used directly online . Enter the process test case details page , Click add test step , Select from the drop-down menu “ from API New document API test ”, Just follow the instructions , At this time, the test step will be automatically associated with the corresponding API file . Insert picture description here
If you add test cases manually , It can be in the process test case interface , Enter the test management interface , Select the test steps that need to be associated , Click the bind button , Select the one that needs to be bound API After confirmation, you can bind . You can also click Edit , Enter the test step details page to bind . Insert picture description here
You can also click Edit , Enter the test step details page to bind . Insert picture description here
take API Document changes are synchronized to test cases

When API When the document changes , You can click the sync button on the edit page of the test step to update the current status API testing procedure ; Insert picture description here
Alternatively, you can update multiple test cases by batch operation on the test case details page API testing procedure . Insert picture description here
Why not automatically API Document changes are synchronized to the test step

API Automated testing is generally used for more stable API To test , these API Generally available . however API Document changes are generally fast , When API When the document changes , The new version of API Not necessarily already available , The document only records the new version of API What should it be like . If you will API Document changes are automatically synchronized to automated testing , It is likely to cause your test case execution to fail , And you don't know what's synced . Moreover, there may be multiple versions of API. That's about all the questions in this issue , Welcome to comment and communicate

Finally, thank everyone who reads my article carefully , The following online link is also a very comprehensive one that I spent a few days sorting out , I hope it can also help you in need !

 Insert picture description here

These materials , For those who want to change careers 【 software test 】 For our friends, it should be the most comprehensive and complete war preparation warehouse , This warehouse also accompanied me through the most difficult journey , I hope it can help you ! Everything should be done as soon as possible , Especially in the technology industry , We must improve our technical skills . I hope that's helpful ……

If you don't want to grow up alone , Unable to find the information of the system , The problem is not helped , If you insist on giving up after a few days , You can click the small card below to join our group , We can discuss and exchange , There will be various software testing materials and technical exchanges .

Click the small card at the end of the document to receive it

Typing is not easy , If this article is helpful to you , Click a like, collect a hide and pay attention , Give the author an encouragement . It's also convenient for you to find it quickly next time .

Self study recommendation B Stop video :

Zero basis transition software testing :25 Days from zero basis to software testing post , I finished today , Employment tomorrow .【 Include features / Interface / automation /python automated testing / performance / Test Development 】

Advanced automation testing :2022B The first station is super detailed python Practical course of automated software testing , Prepare for the golden, silver and four job hopping season , After advanced learning, it soared 20K

原网站

版权声明
本文为[Xiaowu knock code]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/185/202207041905523511.html