#How do you know that all the scenarios for testing are covered?
by using the Traceiable matrix
#Given an yahoo application how many test cases u can write?
First we need requirements of the yahoo applicaiton.
I think test cases are written aganist given requirements.So for any working webapplication or new application, requirements are needed to prepare testcases.The number of testcases depends on the requirements of the application
#What is Testing Scenario ? What is scenario based testing? can u explain with an example ?
A scenario test is a test based on a hypothetical story used to help a person think through a complex problem or system. They can be as simple as a diagram for a testing environment or they could be a description written in prose. The ideal scenario test has five key characteristics. It is (a) a story that is (b) motivating, (c) credible, (d) complex, and (e) easy to evaluate. They are usually different from test cases in that test cases are single steps and scenarios cover a number of steps. Test suites and scenarios can be used in concert for complete system tests.
#How to find out the length of the edit box through WinRunner?
We can find the length of the edit box using the
edit_get_row_length ( edit, row, out_length );
edit: The logical name of the edit object.
row The row to measure.
out_length The output variable that stores the number of characters in the row.
edit_get_row_length ("Agent Name:", 0, row_len);
printf(row_len);
#What is scenario and end to end scenario.
scenario : A scenario is a brief description of an event or a series of events.
end to end scenario:summarizes a possible migration scenario. In this scenario, you create a test system to validate your migration before you put the migrated system into production.
#what are all the scenarios to be considered while testing reports
The purpose of the Report generation is to produce lot of data about the system based on selected criteria. A particular report display the data from the different modules whick are linked in one or other way. So while testing the Report we should first understand the relation beetwen different modules about how they are linked each other and how the data flows from the one module from other.
There may be different stages in which data flows.Generate the Report in each stage and make a check data is being displayed properly or not in the Report.
If the data flows through the different work flows( which is case in most of the Reports), generate the Report at the every activity through out the work flow. Create some 4 to 5 work flow instances and keep all these instances at different stages and generate Report and make check whether data is displayed properly or not.
Also make sure that data is being displayed under the proper fileds in the genarated report.
#wht is the difference between smoke testing and sanity testing
Smoke Testing: Smoke testing is non-exhaustive software testing, ascertaining that the most crucial functions of a program work, but does not bother with finer details.
Sanity Testing: Sanity testing is a cursory testing; it is performed whenever a cursory testing is sufficient to prove the application is functioning according to specifications. This level of testing is a subset of regression testing. It normally includes a set of core tests of basic GUI functionality to demonstrate connectivity to the database, application servers, printers, etc.
#different between test scenario and test case?
test cases are derived (or written )from test scenario. the scenarios are derived from usecases.
#Please Any one send me Common Test cases or Check List for GUI Testing
Following are the common things to be tested for UI
For windows - Size, Focus, Caption, close button, Focus, Control buttons, location adjustments
For formatting - font, color, frames
For text - label, content, spelling, scrolling,l inks, bullets and numbering, usability, internationalization, localization, null entry, data type, formatting
Also we should check for keyboard access, shortcuts and tab key usage
#Can anyone prepare Regular Expression for YAHOO userid using WinRunner
The Regular expression for yahoo user id is prepared like this
Before open an yahoo window application. And select the text by entering the you interested name.
At first we have to go to create -> GUI check point-> For object/window.
for user id-> [a-z]*[ ]*[a-z]*
for my name I am creating like this kollasudhakar2005@yahoo.co.in
[a-z]*[0-9]*[ ]*[a-z]*[ ]*[a-z]*[ ]*[a-z]*
#how to test a lift?
for testing the lift, mostly performance testing comes in to play and also the different types of testing of BB techq are used, like system testing, user acceptance testing and etc