How do you handle a test case when the test data created with an AGE field becomes invalid since the date of the system changes over time? For example, a person who could be a < 18 years old last month is now > 18 years and the whole scenario fails? Do you keep updating the test data or is there another creative solution here (besides changing the system date & time which can't be done as it is an Internet app)?

Answer Posted / phu

You should put dynamic data by expression, e.g: Birthday = Now.AddYear(-18.1)

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is test driver and test stub?

700


negative test cases on banking domain ?

3403


how to explain banking domain project in testing?

10297


what are all the things we will include in " what to be tested and what not to be tested" in Test Plan

1650


What is difference between web site testing, desktop application testing and wireless application testing? what is the difference in testing strategy to test them?

1596






Our software designers use UML for modeling applications. Based on their use cases, we would like to plan a test strategy. Do you agree with this approach or would this mean more effort for the testers.

1649


When new application ready to test than whats your testing strategies?

1244


Why you are selected software testing as career ?

865


value momentum

1279


Can Anbody please send me Daily Work status format in which I can save my daily work activity

2112


can anyone tell me the questions that can be posed in an interview for a 5 year experienced person in manual testing

1590


How will you prepare traceability matrix if there is no Business Doc and Functional Doc?

1798


When to stop testing? (Or) how do you decide when you have tested enough?

643


In our project, we use Withdrawal Indent, we are confused to use heading as "Withdrawal Indent" or "Withdraw Indent". Please suggest me which one to use ASAP, Thanks in advance

1542


Tell me the algo for convering number into words. Meanse if the number is 4567 then it should print Four Thousand Five Hundred Sixty Seven

1570