当前位置:网站首页>Test basis 3
Test basis 3
2022-07-16 08:27:00 【Inexhaustible hand of God】
One 、 route
route : Write the resource location you want to find ( The front end needs to understand : Relative path resources cannot be queried across drive letters )
1、 Relative paths : Relative to current html File the way to find other resources
(1) Peer search : At present html In the same level of directory as the target ; grammar : Write the name of the resource directly
<img src="t1.gif" alt="" />
(2) Superior search : At present html And the target are in the parent directory ; grammar :../ Just write the name of the resource
<img src="../t1.gif" alt="" />
(3) Subordinate search : At present html And the target are in the subordinate Directory ; grammar : Folder name / Write the name of the resource
<img src="tu/t1.gif" alt="" />
2、 Absolute path : The specific location of resources in the computer ( When copying a specific location in the computer , Don't forget to add the specific name of this resource , And slashes !)
<img src="F:\ test \ Fundamentals of testing 03\tu2\t1.gif"/>
Be careful : In front-end Syntax , Absolute path is not recommended !!! Only relative paths are recommended !!!
Two 、 list
Unordered list :ul Nested several li, Every li It's an option
example :
<ul>
<li>js</li>
<li>css</li>
<li>html</li>
</ul>
Ordered list :ol Nested several li, Every li It's an option
example :
<ol>
<li>css</li>
<li>js</li>
<li>html</li>
</ol>
3、 ... and 、 Label of layout
Layout labels : When there is no semantics , You can use div or span To wrap the content , The purpose is to css The code can find the content in the corresponding label to set the style
div: A single line of space , Call it a big box
span: A row can hold multiple , Call it a small box
example :
<div> I am a div</div>
<span> I am a span</span>
Four 、 The sound 、 video 、 Test point
audio The sound 、video video
Test details : Because of historical development , Lead to sound 、 Video tag compatibility is poor , For testing , We need to test whether the three mainstream browsers can work normally 、 video ;
Ie Test the lower version (ie7、8、9、10、11)
The test method : open ie,f12, Find simulation ( Must be ie Only the higher version can test the lower version )
When to test the lower version : User requirements , Retest !
5、 ... and 、form Form labels
form Inside the form tab is the form data filled in by all users ;
action="xxx.jsp" Which background program to submit the form data to
method="post" How to transfer data ,post Represents the implicit submission of data ;get Send data in clear text
6、 ... and 、input Labeled type type :
type="text" Normal input box
type=”password” Password box
type="radio" Radio buttons
checked="checked" This attribute can express the default selected state
Test details :
1、 Click to see if it is a radio effect
2、 Whether there is a default selected state when refreshing
3、 Can I switch by clicking the text
type="checkbox" Checkbox 、 Check box
checked="checked" Selected by default
Test details :
1、 Whether there is a default selected state when refreshing
2、 Can I switch by clicking the text
Be careful : All tests should be traced back to the needs of users
select Labels are nested several option label , Each group option It is an option in the drop-down menu
selected="selected" The drop-down menu is selected by default
Test details :
1、 The order of content
2、 Default selected state
3、 Number of content
textarea Text domain
Test details :
1、 Test whether the appearance and size of the three mainstream browsers are consistent
2、 Remind programmers to disable the function of dragging size
type="button" General button , need js Cooperation can achieve other effects
value Property to set the text on the button
type="reset" Click to restore the form data to the default value
value Property to set the text on the button
type="submit" Click to submit the form to the designated background processing
value Property to set the text on the button
After clicking, no matter whether an error is reported , It has nothing to do with us , At the end of the test , Just pay attention to whether the content in the database is added normally
placeholder=" Please enter a user name " Text reminder attribute
边栏推荐
- From the perspective of global value chain, how will JD cloud digital intelligence supply chain affect the future economy?
- mySQL上的应用了解
- cuDNN神经网络加速库的配置
- [daily question 1] judge whether it is a complete binary tree
- 函数式模型
- VRRP基础配置
- Libraries in dart
- FreeBSD bnxt以太网驱动源码阅读记录。
- Wechat classroom appointment of applet completion works (5) assignment
- Small program graduation design of wechat enterprise company (2) small program function
猜你喜欢

Small program graduation project of wechat enterprise company (8) graduation project thesis template

Suddenly announce the dissolution!

51 single chip microcomputer smart home environment detection smoke temperature GSM SMS prompt alarm (schematic + program + simulation +pcb)

猫狗分类-VGG16-Finetune
![[daily question 1] judge whether it is a balanced binary tree](/img/4b/6d87c67182e56d3f107370b3625b82.png)
[daily question 1] judge whether it is a balanced binary tree

The command prompt checks the occupation of a port and clears the occupation

Introduction to word2vec and the application of CNN in natural language

word2vec介绍及CNN在自然语言中的应用

(手工)【sqli-labs27、27a】报错回显、布尔盲注、过滤后注入

【每日一题】判断是不是平衡二叉树
随机推荐
[binary tree] find elements in the contaminated binary tree
猫狗分類-VGG16-bottleneck
[Unity] 初探
Google/facebook third party login
typeof关键字
"Everyday Mathematics" serial 59: February 28
小程序毕设作品之微信教室预约小程序毕业设计(1)开发概要
函数式模型
golang 处理web post、get请求以及string to json格式的转化
2022 cloud native programming challenge starts! Tutor analysis service grid competition questions
How to turn off the dareu keyboard light
Explain ebpf in simple terms | 7 core issues you need to understand
Profile - sessions_ per_ User: limit the number of user sessions
杰理之电话本同步蓝牙可能会没有声音【篇】
Cat and dog classification vgg16 finetune
[daily question 1] judge whether it is a balanced binary tree
送你的代码上太空,一起开发“最伟大的作品”
win10系统如何实现开机启动程序?用shell:startup命令
一个XML文件例子
How does the distribution system bring a revolution in transaction efficiency to chain convenience stores?