|
INTERVIEW QUESTIONS
SOFTWARE TESTING TYPES
FUNCTIONAL TESTING
DETAILS
Question: How to write functional tests
Answer: Even though functional testing is so important, it has a reputation as the ugly stepchild of development. On most projects, there is a separate group that does functional testing. There is usually an army of people constantly interacting with the system to determine whether it behaves correctly. This attitude and group setup is foolishness.
Functional testing should be approached much like unit testing. Write the tests as soon as there is code to be written that produces something a user will interact with (such as a dialog), but before actually writing the code. Work with a user to write functional tests that capture the user requirements. Whenever you start a new task, describe the task in the functional testing framework. Your development effort then moves forward, unit testing when you add new code. When all of the unit tests pass, run the original functional test to see if it is passing or if it needs modification.
Ideally, the concept of a functional testing group should disappear. Developers should be writing functional tests with users. After there is a suite of functional tests for the system, the members of the development team responsible for functional testing should bombard the system with variations of the initial tests.
|
|
|
Category |
Functional Testing Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 7940 users |
Added on |
8/26/2014 |
Views |
67909 |
Rate it! |
|
|
Question:
How to write functional tests
Answer:
Even though functional testing is so important, it has a reputation as the ugly stepchild of development. On most projects, there is a separate group that does functional testing. There is usually an army of people constantly interacting with the system to determine whether it behaves correctly. This attitude and group setup is foolishness.
Functional testing should be approached much like unit testing. Write the tests as soon as there is code to be written that produces something a user will interact with (such as a dialog), but before actually writing the code. Work with a user to write functional tests that capture the user requirements. Whenever you start a new task, describe the task in the functional testing framework. Your development effort then moves forward, unit testing when you add new code. When all of the unit tests pass, run the original functional test to see if it is passing or if it needs modification.
Ideally, the concept of a functional testing group should disappear. Developers should be writing functional tests with users. After there is a suite of functional tests for the system, the members of the development team responsible for functional testing should bombard the system with variations of the initial tests. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How to write unit tests
|
View Answer
|
|
Unit versus functional tests
|
View Answer
|
|
Testing and the development process
|
View Answer
|
|
Some elements on the web page I am testing contain leading (trailing) whitespaces. I am using the Utilities.Trim function to remove them, but sometimes it does not work. What is wrong?
|
View Answer
|
|
How do I work with HTML tables from scripts?
|
View Answer
|
|
How can I find a specific image within a web page?
|
View Answer
|
|
How can I check if a web page contains specific text?
|
View Answer
|
|
How can I find a web page element that contains specific text?
|
View Answer
|
|
The web page I am testing displays the Login dialog. How can I access this dialog?
|
View Answer
|
|
I would like to add an HTML document to the Tested Applications collection. How can I do this?
|
View Answer
|
|
The script recorded over the tested web page is not played back correctly. What is wrong?
|
View Answer
|
|
Does TestComplete support testing of Flex applications?
|
View Answer
|
|
Does TestComplete support testing of Flash elements on web pages?
|
View Answer
|
|
Does TestComplete support testing of AJAX applications?
|
View Answer
|
|
Does TestComplete support testing of applications that use ASP, ASP.NET, CGI, ISAPI or PHP on the server side?
|
View Answer
|
|
Which browsers does TestComplete support for testing web pages?
|
View Answer
|
|
Is there any way to test browser-based programs? Can I test HTML pages?
|
View Answer
|
|
Do you test web pages containing Active X components ?
|
View Answer
|
|
Do you have any list of the commands / functions used in webscripts ?
|
View Answer
|
|
Can I call another webscript from the current webscript ?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Functional Testing Interview Questions & Answers - Exam Mode /
Learning Mode
|