systemInput: User name, password, Verification code text box input data, click LoginOutput: Login success or Login failed!2. Determine the system test typefunctional tests to verify that the functions implemented by the system are consistent with those described in the requirements specification. For example, whether
=driver.find_element_by_name (' NR ') #设置每页搜索结果为100条, first find id= Nr label, and then find the option tag under the Id=nr tabA Select button with value equal to 100 m.find_element_by_xpath ("//option[@value = ' 100 ' ]. Click () time.sleep (2) #保存设置的信息 driver.find_element_by_xpath ("//input[@ Value= ' Save Settings ']. Click () time.sleep (2) n=driver.switch_to_alert () n.accept () defteardown (self): Self.driver.quit () self.assertequal ([],self.verificationerrors) ' teardown The method
file.
Second, the use of jmeter for pressure testing
Open the. jmx file that you just saved through Badboy in JMeter
Leave the content you want to test and delete some of the extra content from the recording process.
Set up thread groups and listeners:
Thread groups: Set the three parameters of a thread group to b
Label:First of all, I would like to explain that the user registration action in the method does not make any judgment can be registered, nothing to consider, even if all is empty, he can register successfully. If you want to write a test case, follow my steps, useraction In The register () method to add some judgment, and in the JSP page to give the corresponding hint, because there are too many loopholes, I wrote only one judgment-if the user name i
From use CASES to TEST CASES-test note of "Essential software Test Design"2015-08-31Content:12.1 What is use Cases?12.2 Use Cases12.2.1 Example:use Case–withdraw Money12.3 The model–compiling the Flow Graph12.4 Creating Base
Orleans Initial Contact (2) test cases and orleans Use Cases
Return to navigation]
After a brief understanding of Orleans, we can use several examples to deepen our impression.I. Quick Start example
This example is also followed by Microsoft Orleans Getting Started Guide (ht
enough, you can write test requirements, because after all, the test is basically the tester himself to perform their own test requirements and test cases, if the test requirements are listed in the function points, the operation
cases. For example, the requirement documents are frequently changed, which leads to more detailed test cases and greater maintenance workload.
Therefore, there is no standard answer to the detailed requirements of test cases, a
:\\users\\dell\\desktop\\2.a. py a report\\'+now+ "category.html "FP=file (filename,"WB")Runner=Htmltestrunner.htmltestrunner (Stream=FP, title=u"Product Classification Test", Description=u"use case Execution")Runner.run (Suite)Fp.close ()The test report is as follows:Three. How multiple. py files are executed, how to generate a test report, structure optimizatio
+ "category.html" Runner.run (Suite) Fp.close ()The test report is as follows:Three. How multiple. py files are executed, how to generate a test report, structure optimizationTest report Optimization Ideas: (1) all test cases (including common login) are placed
will be converted to login Tests, Dhcp_and_dns will be converted to DHCP and DNS.
Name of the test case
The name of the test case should be similar to the name description of the package.
If a suite contains many similar test cases, and the
When using jmeter for interface testing, you must first compile the response interface test case according to the interface definition. When writing interface test cases, we will focus on different tests, use different methods to compile test cases.
One is: the entire reques
The daily web site development process, in order to improve the security of the login or prevent the user through the script of the Ox operation (the universe most expensive tin celestial Vehicle License plate Auction), many websites in the time of login, added verification code verification, and the implementation of the verification code is more and more complex, the difficulty of script recognition is mo
Software Test Communication Group, Welcome to test the prawns, new entrants to the group, together to explore the study of testing technology, the group also has a lot of information, 656721740
The Web input box is the control that the page uses very frequently in the B/S architecture system. For example, we login to a
. It affects other principles more or less. The following is an example. If you want to test function a, it has three sub-functions: A1, A2, and A3. You can use the following two methods to design a test case:Method 1: Use a test case to cover three sub-functions-test_a1_a2_a3,Method 2: Use three separate use
lower bounds. For example, if you are checking a birth date field, it is likely that the date of birth cannot be earlier than 150 years ago. Similarly, the date of birth should not be one day in the future."Kiki Supplement" in general, each database system has a range of dates, such as the SQL Server minimum date of January 1, 1753, so if the date field is an input type, it should also test the date earlie
example, 0,-1,-2, 1000, 10001... and so on to determine whether it has exceeded our range.
3. Cause and Effect
The Cause-to-cause method generates a discriminant table,It is suitable for checking various combinations of program input conditions. For example, the reason is: a = 0, B = 0, and I can determine that a = B. Specifically, he is a causal relationship. It guides this
testing, software testing has been developed to develop automatic testing. The central task of automated testing is to write test scripts. If the software engineering software programming must have the design specification, then the test script Design specification is the test case.
4. Measure benchmark for evaluating test
start from the base stream, execute under a specific condition, and then rejoin the base stream, or it may originate from another alternate stream, or terminate the use case, not in the underlying stream; (various error cases)
The following is the basic design step 1 of the scenario method. According to the description, the basic flow of the program and the alternative Flow 2 are described. Different scenario 3 is generated based on the basic stream
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.