testcase

Test Cases Management Tool / Application / Software [closed]

巧了我就是萌 提交于 2020-05-18 16:10:12
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 days ago . Please suggest some good tool / software / application for managing test cases for an internet software product. Requirements: should not be too expensive should preferably be on an online platform (but desktop app too is okay!) should support custom fields to classify / categorize test

Test cases for string inputs [closed]

情到浓时终转凉″ 提交于 2020-01-22 11:07:39
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . What are some useful test case ideas (and test questions) related to string inputs? Usefulness need not mean applicable everywhere or all the time--just often enough to be worth considering when you address a new problem/system/domain. Individual answers may contain questions

Test cases for string inputs [closed]

会有一股神秘感。 提交于 2020-01-22 11:03:34
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . What are some useful test case ideas (and test questions) related to string inputs? Usefulness need not mean applicable everywhere or all the time--just often enough to be worth considering when you address a new problem/system/domain. Individual answers may contain questions

Test cases for string inputs [closed]

こ雲淡風輕ζ 提交于 2020-01-22 11:03:04
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . What are some useful test case ideas (and test questions) related to string inputs? Usefulness need not mean applicable everywhere or all the time--just often enough to be worth considering when you address a new problem/system/domain. Individual answers may contain questions

Selenium: Check i the testcase pass or fail

元气小坏坏 提交于 2020-01-17 05:37:09
问题 Guys First of all I am totally new for Selenium. I am having a automation project. In my project, I am creating a screenshot function to take screenshots of my event which I have created for my testcases. Now if my test cases passes then all screenshot should move to Pass folder, else fail folder. I would like to know how to detect that my test case pass? I know Nunit detects but I wanted to program it so that I cam place my screenshot as well as log file to pass or fail folder. Program in C#

Rails Testing a named_scope with a date range

元气小坏坏 提交于 2020-01-14 06:29:53
问题 SCENARIO I have a named_scope on a model called 'last_week'. All it does is it fetches the records from last week. I want to test this and my approach is to test that the results coming back are within a certain range. I don't know if this is the right way of testing this functionality on a class method. I can't use RSpec, Shoulda or other 3rd party client plugin. I am only allowed to use Mocha if I want. # Model class Article < ActiveRecord::Base scope :last_week, :conditions => { :created

测试用例设计-web登录测试

徘徊边缘 提交于 2020-01-10 15:15:02
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> ##页面描述 web登录页面:有两个文本框,一个提交按钮(注册、忘记密码等按钮) ##用例设计 ###【功能测试(Function test) 0.什么都不输入,点击提交按钮,看提示信息。(非空检查) 1.输入正确的用户名和密码,点击提交按钮,验证是否能正确登录。(正常输入) 2.输入错误的用户名或者密码, 验证登录会失败,并且提示相应的错误信息。(错误校验) 3.登录成功后能否能否跳转到正确的页面(低) 4.用户名和密码,如果太短或者太长,应该怎么处理(安全性,密码太短时是否有提示) 5.用户名和密码,中有特殊字符(比如空格),和其他非英文的情况(是否做了过滤) 6.记住用户名的功能 7.登陆失败后,不能记录密码,用户名可以保存 8.用户名和密码前后有空格的处理 9.密码是否加密显示(星号圆点等) 10.登录需要验证码的,输入完用户名和密码后,验证码为必填项 11.牵扯到验证码的,还要考虑文字是否扭曲过度导致辨认难度大,考虑颜色(色盲使用者),"刷新"或"换一个"按钮是否好用 12.登录页面中的注册、忘记密码,登出用另一帐号登陆等链接是否正确 13.输入密码的时候,大写键盘开启的时候要有提示信息。 14.输入错指定次数后,账号锁定,需要做解锁处理 15.登录失败的提示信息需要高亮处理 16

Getting iPhone Documents Directory in TestCases

左心房为你撑大大i 提交于 2020-01-06 07:15:46
问题 I'm running test cases which uses sqlite database to test my code on iPhone simulator using default SenTestingkit, when i try to get the home directory using either of the following ways NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *docsPath = [paths objectAtIndex:0]; or NSString *home = NSHomeDirectory(); i got a wrong path that points to the following bath /Users/{user}/Library/Application Support/iPhone Simulator/5.1 and i

How to write a test case for a method returning object

痴心易碎 提交于 2020-01-04 14:06:35
问题 I have a method for which the return type is object. How do I create a test case for this? How do I mention that the result should be an object? e.g.: public Expression getFilter(String expo) { // do something return object; } 回答1: try Something like this. If the return-type of your function is Object then replace Expression by Object : //if you are using JUnit4 add in the @Test annotation, JUnit3 works without it. //@Test public void testGetFilter(){ try{ Expression myReturnedObject =

How to read parameter values from a TestCase in Microsoft Test Manager

无人久伴 提交于 2019-12-30 04:40:09
问题 I am trying to execute the testcases programatically using the microsoft test manager using c#. For that I want to read the parameter values stored in Microsoft Test Manager. Please suggest me how to do that Eg:- Read the value of internal paramter "MY Value" I tried to enter the image but its not working ... Regards Harsh 回答1: I suppose you want to read the parameters from the datasource of the Test Case that your automated test implements. You have to associate your test with the Test Case