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 manual testing and what is it process?

1042


Hi there, I am new to the world of testing. Is there any place where I can have a look at an actual specification documents or test plans or test cases. This will help me in generating a level of confidence. Looking forward to your replies

1459


What is Web architecture that are followed while doing online project and tell the samples of architecture?

1803


What are differences in testing a client server and a web application?

1516


What is a test scenario?

706






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


What is the difference between IE, Opera & Mozilla Firefox in web Testing and which brower will think that is much better?

1584


What does 100% statement coverage mean?

1813


State a generalized process for load test? Or explain how you did it previously.

2086


how to indentify memory leakages after the build

1644


WHAT IS OBJECT REPOSITORY? AND IT TYPES? HOW MANY TYPES OF ACTIONS ARE THERE IN QTP? CAN WE ADD NEW OBJECTS AND PROPERTIES INTO SHARED OBJECT REPOSITORY?

1460


What is revision history and the content of revision history table?

1565


KINDLY FORWARD ME THE INTERVIEW QUESTIONS & ANSWERS FROM REAL TIME POINT OF VIEW FOR 1.5 YEARS EXPERIENCED CANDIDATE. MY EMAIL ID IS sky_bird433@yahoo.com

2314


What is a bug triage?

685


What do you plan to become after say 2-5yrs (Ex: QA Manager, Why?)

1666