Software Testing Techniques Homework 1
I have met some errors in recent years, one of them which impress me most. It happend when I try to finish a web project with javascript for my web final project.
In a web project, we often use 'button' to trigger some events, some times it is very simple, we just write like this, it is enough, we don't need parameters.

But, if we try to use the button to select the object we have selected before, we don't want to use the selector again in the binded-function, like this.

At first, I wrote the code like this,
$(obj).click(dele(obj2));
Then, there is an error, the most upset me was the Click function always autorun without any click!
I used Bind() function, used global variables as the parameter, no matter how I correct the parameter, the error always happen. It cost too much time!
Finally, I had solved the problem, because I found the reason that I shouldn't send the parameter to a callback function use a normal way!
The most important thing I learned from this error is I should figure out something totally before I used it.
Software Testing Techniques Homework 1的更多相关文章
- Software Testing Techniques Homework 3
		
1. a.This is the chart b. initial numPrimes = 4, t1 would over the loop. c. t = ( n = 1) d. node cov ...
 - Software Testing Techniques Homework 2
		
Problem 1 1. The fault is i > 0, it should be i >= 0, because if the case is x = [0], y= 0, w ...
 - Software Testing Techniques LAB 02: Selenium
		
1. Installing 1. Install firefox 38.5.1 2. Install SeleniumIDE After installing, I set the view o ...
 - Software Testing Techniques LAB 01: test Junit and Eclemma
		
1. Installing 1. Install Junit and hamcrest First, I download the Junit-4.12.jar and hamcrest-core- ...
 - 读书笔记-Software Testing(By Ron Patton)
		
Software Testing Part I:The Big Picture 1.Software Testing Background Bug's formal definition 1.The ...
 - Web Application Penetration Testing Local File Inclusion (LFI) Testing Techniques
		
Web Application Penetration Testing Local File Inclusion (LFI) Testing Techniques Jan 04, 2017, Vers ...
 - 101+ Manual and Automation Software Testing Interview Questions and Answers
		
101+ Manual and Automation Software Testing Interview Questions and Answers http://www.softwaretesti ...
 - Exploratory Software Testing
		
最近找到去年上半年看过一本关于测试方面书籍的总结笔记,一直放在我的个人U盘里,当时是用Xmind记录的,现在重新整理下分享给大家了! James A.Whittaker [美] 詹姆斯·惠特克(软件测 ...
 - 软件测试software testing summarize
		
软件测试(英语:software testing),描述一种用来促进鉴定软件的正确性.完整性.安全性和质量的过程.软件测试的经典定义是:在规定的条件下对程序进行操作,以发现程序错误,衡量软件质量,并对 ...
 
随机推荐
- 【Maven学习】maven-enforcer-plugin的使用
			
我们会经常碰到这样的问题,在pom中引入了一个jar,里面默认依赖了其他的jar包.jar包一多的时候,我们很难确认哪些jar是我们需要的,哪些jar是冲突的.此时会出现很多莫名其妙的问题,什么类找不 ...
 - Debugging Ruby in VS Code
			
原文 https://dev.to/dnamsons/ruby-debugging-in-vscode-3bkj https://github.com/Microsoft/vscode-recipe ...
 - js处理小数方法
			
1.丢弃小数部分,保留整数部分 js:parseInt(7/2) 2.向上取整,有小数就整数部分加1 js: Math.ceil(7/2) 3,四舍五入. js: Math.round(7/2) 4, ...
 - Java代码解决ElasticSearch的Result window is too large问题
			
调用ElasticSearch做分页查询时报错: QueryPhaseExecutionException[Result window is too large, from + size must b ...
 - AutoMapper控件
			
1.下载AutoMapper控件. 2.定义类,实现Profile. 3.在定义类的构造方法中使用如下代码进行转换 // 1.匹配,o,t代表TDestination;s代表TSource,返回TDe ...
 - struts2 ognl存放数据
			
ongl存放数据可以存放在对象栈(root),也可以存放在map中 一.存放在map中 1.存放在map中可以分为存放在request.session.application public Strin ...
 - 在超链接href中实现form的提交
			
<form name="form1" method="post" action=""> <div class=" ...
 - 724_Find-Pivot-Index
			
目录 724_Find-Pivot-Index Description Solution Java solution Python solution 724_Find-Pivot-Index Desc ...
 - JAVA练手--集合
			
集合框架体系如图所示 Collections:是一个工具类java.util.Collections(可以使用它对集合对象进行操作) Collection:除了map(键值对)其他集合的父类 1. S ...
 - iOS开源项目周报0309
			
由OpenDigg 出品的iOS开源项目周报第十期来啦.我们的iOS开源周报集合了OpenDigg一周来新收录的优质的iOS开源项目,方便iOS开发人员便捷的找到自己需要的项目工具等.LazyScro ...