WR Testing Tutorial

WR History
WR Integrations

WR Testing

WR Testing Process
WR Recording
WR CheckPoints
WR FunctionGen
WRGUI Spy
WR GUI Map
WR GUI Configuration
WR V User Object
WR Data Driven Test
WR Parameterization
WR TSL
Learn More...

WR Examples(Script)

WR Script1
WR Script2
WR Script3
WR Script4
WR Script5
WR Script6
WR Script7
WR Script8
WR Script9
WR Script10
WR Examples More...

WR Interview Q&As
WR Q&As1
WR Q&As2
WR Q&As3
WR Q&As4
WR Q&As5
WR Q&As6
WR Q&As7
WR Q&As8
WR Q&As9
WR Q&As10
WR Q&As11
WR Q&As12
WR Q&As13
WR Q&As14
WR Q&As15
WR Q&As16
WR Q&As17
WR Q&As18
WR Q&As19
WR Q&As20
WR Q&As More...

WR FAQ(mp3)
Listen WR FAQ1
Listen WR FAQ2
Listen WR FAQ3
Listen WR FAQ4
Listen WR FAQ5
Listen WR FAQ6
Listen WR FAQ7
Listen WR FAQ8
Listen WR FAQ9
Listen WR FAQ10
Listern More on WR
pixels

THE LARGEST SOFTWARE TESTING SITE ON THE NET

KabInfo.Net  - Full Testing Tutorials - All Free

 

At KabInfo.Net you will find all the Manual and Automation Testing tutorials,
from basic Testing Definition and Testing Types,Testing Methodologies to advanced  Automation Tools like, WinRunner, LoadRunner and a Test Management Tool like TestDirector.

KabInfo.Net - The Largest Enterprise Application Testers site on the Net

Best Tester:- who gets the most bugs fixed :: Smart Tester:- Balances between listening and implementing

:::

KabInfo.Net                                     

 

1)       Write and explain various loop command?

a)        A for loop instructs WinRunner to execute one or more statements a specified number of times.

 

It has the following syntax:

 

for ( [ expression1 ]; [ expression2 ]; [ expression3 ] )

statement

 

                                                               i.      First, expression1 is executed. Next, expression2 is evaluated. If expression2 is true, statement is executed and expression3 is executed. The cycle is repeated as long as expression2 remains true. If expression2 is false, the for statement terminates and execution passes to the first statement immediately following.

                                                              ii.      For example, the for loop below selects the file UI_TEST from the File Name list

                                                            iii.      in the Open window. It selects this file five times and then stops.

set_window ("Open")

for (i=0; i<5; i++)

list_select_item("File_Name:_1","UI_TEST"); #Item Number2

b)        A while loop executes a block of statements for as long as a specified condition is true.

 

It has the following syntax:

 

while ( expression )

statement ;

 

i.                             While expression is true, the statement is executed. The loop ends when the expression is false. For example, the while statement below performs the same function as the for loop above.

set_window ("Open");

i=0;

while (i<5){

i++;

list_select_item ("File Name:_1", "UI_TEST"); # Item Number 2

}              

c)        A do/while loop executes a block of statements for as long as a specified condition is true. Unlike the for loop and while loop, a do/while loop tests the conditions at the end of the loop, not at the beginning.

 

A do/while loop has the following syntax:

do

statement

while (expression);

 

i.                      The statement is executed and then the expression is evaluated. If the expression is true, then the cycle is repeated. If the expression is false, the cycle is not repeated.

ii.                     For example, the do/while statement below opens and closes the Order dialog box of Flight Reservation five times.

 

set_window ("Flight Reservation");

i=0;

do

{

menu_select_item ("File;Open Order...");

set_window ("Open Order");

button_press ("Cancel");

i++;

}

while (i<5);

 

2)       Write and explain decision making command?

a)        You can incorporate decision-making into your test scripts using if/else or switch statements.

                                                               i.       An if/else statement executes a statement if a condition is true; otherwise, it executes another statement.

                        It has the following syntax:

                        if ( expression )

                                        statement1;

                        [ else

                        statement2; ]

                       

                expression is evaluated. If expression is true, statement1 is executed. If expression1 is false, statement2 is executed.

b)        A switch statement enables WinRunner to make a decision based on an expression that can have more than two values.

 

        It has the following syntax:

        switch (expression )

        {

                        case case_1: statements

                        case case_2: statements

                        case case_n: statements

                        default: statement(s)

        }

         The switch statement consecutively evaluates each case expression until one is found that equals the initial expression. If no case is equal to the expression, then the default statements are executed. The default statements are optional.

 

KabInfo.Net                                     

 

:::

Where to Start

What does a Software Test Engineer have to know? What will the future bring?

KabInfo.Net will try to answer this, and help you become a professional Software Test Engineer, well prepared for the future.

Before you study the tutorials, Read this introduction.

:::

Quick and Easy Learning

Because time is valuable, we deliver quick and easy learning. At KabInfo.Net, you can study everything you need to learn, in an accessible and handy format.

                        "No One Is Great, And Every One Is GREAT"

K.A.Babu (2004)

:::

Testing Joke

Tester : "I Delivered a 100% Bug Free Product!"

:::

KabInfo.Net - Testing School is for self training only. We do not warrant the correctness of the content. The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 2004 . All Rights Reserved.

Logo Courtesy - Venkat Battu

KAB SEARCH

                     About KabInfo.Net
KabInfo downloads

REFERENCES
Test Case Doc
Test Plan Doc
B.R.S/B.R.D
Fun.Spec/Fun.Doc
System Req. Spec. Design Doc
Bug Report
Check List
Test Discussions Doc
.....Other Docs

Listen Testing


After A Bug Is Found
Integreation Testing
Quality
Software Life Cycle
Test Engineer
Types Of Testing
Unit Testing
Testing Concepts
WinRunner
QTP
More MP3s soon...
Q & A Section

Teting
Manual Testing
Automation
WinRunner
LoadRunner
TestDirector
Q.T.P
SQL
CERTIFICATION(S)

CSQA Certification
CSTE Certification
CSPM Certification
VALIDATION
Validate Date
Validate ComboBox
Validate Traingle
Validate Login   Validate E-Mail
Freshers
Seeking S/W Testing Job?

 
 

pixels  

Best Tester???