摘要: 今天去一家外包公司面试,也是我之前的老东家。第一个面试官考我技术的一些问题,直接现场出题(没有单独的笔试)。第一题是问我委托和事件。什么是委托,什么是事件,两者之间的关系?第二题是问我box和unboxing是可逆的嘛?第三题是问我垃圾回收第四题问题接口和抽象类,有什么共同点和区别?第五题考我sql,从一个表中选出第五条和第十条记录。最后是一个算法题,比如给定一个字符串,返回字符串中相邻的字符个数大于等于2的记录数,比如aaa,算1个记录,aaabb,算2个记录,abbccaaa,算3个记录, aaabbbcccefffghhh,算5个记录.当时第一时间考虑的使用hash表来实现,发现不是最优 阅读全文
posted @ 2012-08-28 22:24 xiaoshiyilang 阅读(7580) 评论(71) 推荐(3) 编辑
摘要: 1 使用客户端代理: CalculatorClient proxy = new CalculatorClient(); Console.WriteLine(proxy.Add(10, 20)); Console.WriteLine(proxy.Multiple(10, 20)); Console.Read();2 使用ChannelFactoryView Code ChannelFactory<ICalculator> factoryProxy = new ChannelFactory<ICalculator>(); ... 阅读全文
posted @ 2012-08-16 11:01 xiaoshiyilang 阅读(581) 评论(0) 推荐(0) 编辑
摘要: 1 Fetching a Pagedriver.Url = "http://www.google.com";2 Locating UI Elements (WebElements)¶By ID¶This is the most efficient and preferred way to locate an element. Common pitfalls that UI developers make is having non-unique id’s on a page or auto-generating the id, both should b 阅读全文
posted @ 2012-07-31 21:03 xiaoshiyilang 阅读(2238) 评论(0) 推荐(0) 编辑
摘要: 第一部分: how to integrate Selenium WebDriver with Visual Studio 20101 Open Package Manager Console(http://docs.nuget.org/docs/start-here/using-the-package-manager-console)Tools->Library Package Managerinput the command below:Install-Package Selenium.WebDriver2 There are some reasons though to use th 阅读全文
posted @ 2012-07-31 20:51 xiaoshiyilang 阅读(272) 评论(1) 推荐(0) 编辑
摘要: 编辑器加载中... http://www.mountaingoatsoftware.com/topics/scrumA typical product backlog comprises the following different types of items:FeaturesBugsTechnical workKnowledge acquisitionFour meetings:1 Scrum planning meeting2 Daily meeting3 Scrum Review4Scrum retrospective 阅读全文
posted @ 2012-06-28 11:23 xiaoshiyilang 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Let’s have first web testing checklist. 1) Functionality Testing 2) Usability testing 3) Interface testing 4) Compatibility testing 5) Performance testing 6) Security testing1) Functionality Testing:Test for – all the links in web pages, database connection, forms used in the web pages for submit... 阅读全文
posted @ 2012-06-28 10:16 xiaoshiyilang 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 发布时间: 2012-6-27 10:37 作者: 李丽君 来源: 51Testing软件测试网采编字体: 小 中 大 |上一篇下一篇 |打印 |我要投稿 |推荐标签:软件测试 今天回论坛里看看,有这么个帖子,标题是:“如何测试一个印有广告的水杯?”;挺有意思的,我进行了回答,因此把回答内容也收入到了这里,做个收藏吧。嘿嘿。。。。。。 如何测试一个印有广告的水杯?看到这个标题,你想过会如何去测试吗?你的回答和我一样吗?感兴趣的同行可以看看我的回答。^_^ 这个问题我曾经想到,如果那一天我要面试某一个测试人员,我会把这个问题做为一道面试题目来考.通过应聘者的回答,可以知道其对测试点的思考是... 阅读全文
posted @ 2012-06-27 18:31 xiaoshiyilang 阅读(548) 评论(0) 推荐(0) 编辑
摘要: HTML 文档中的每个成分都是一个节点。节点根据 DOM,HTML 文档中的每个成分都是一个节点。DOM 是这样规定的:整个文档是一个文档节点每个 HTML 标签是一个元素节点包含在 HTML 元素中的文本是文本节点每一个 HTML 属性是一个属性节点注释属于注释节点HTML 文档对象模型(HTML Document Object Model)定义了访问和处理 HTML 文档的标准方法。 阅读全文
posted @ 2012-06-27 15:49 xiaoshiyilang 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Gray box testingLast updated 13 days agoFrom Wikipedia, the free encyclopediaJump to: navigation, searchGray-box testing is a combination of white-box testing and black-box testing. The aim of this testing is to search for the defects if any due to improper structure or improper usage of application 阅读全文
posted @ 2012-06-27 15:06 xiaoshiyilang 阅读(364) 评论(0) 推荐(0) 编辑
摘要: SessionsSessions are stored per-user in memory(or an alternative Session-State) on the server. Sessions use a cookie(session key) to tie the user to the session. This means no "sensitive" data is stored in the cookie on the users machine.Sessions are generally used to maintain state when y 阅读全文
posted @ 2012-06-27 14:37 xiaoshiyilang 阅读(339) 评论(1) 推荐(0) 编辑