|
Load Runner
A D V E R T I S E M E N T
NAVIGATIONAL STEPS FOR LOADRUNNER LAB-EXERCISES
1.Creating Script Using Virtual User Generator
- Start-> program Files->Load Runner->Virtual User Generator
- Choose File->New
- Select type and Click Ok Button
- Start recording Dialog Box appears
- Besides Program to Record, Click Browser Button and Browse for
the Application
- Choose the Working Dir
- Let start recording into sections Vuser_Init and click Ok button
- After the application appears, change sections to Actions.
- Do some actions on the application
- Change sections to Vuser_End and close the application
- Click on stop Recording Icon in the tool bar of Vuser Generator
- Insert the Start_Transaction and End_Transactions.
- Insert the Rendezvous Point
- Choose :Vuser->Run, Verify the status of script at the bottom in
Execution Log.
- Choose:File->Save.(Remember the path of the script).
2.Running the script in the Controller with Wizard
- Start-> program Files->Load Runner->Controller.
- Choose: wizard option and click OK.
- Click Next in the welcome Screen
- In the host list , click add button and mention the machine name
Click Next Button
- Select the related script you are generated in Vuser Generator(GUI Vuser Script,DB script,RTE script)
- Select Simulation group list, cilck edit button and change the group name ,No of Vuser.
- Click Next Button
- Select Finish Button.
- Choose: Group->Init or Group->Run or Scenario->Start.
- Finally Load runner Analysis graph report appears.
3.Running the script in the Controller with out Wizard
- Start-> program Files->Load Runner->Controller.
- Choose File->New, Four Windows appears
- Select Vusers window.
- Select Group->Add Group
- Vuser Information Box appears
- Select Group Name, Vuser Quantity, Host Name.
- Select Script and select Add button, select path of the script.
- Click OK button.
- Choose: Group->Init or Group->Run or Scenario->Start.
- Select Results->Analyse Results.
4.Creating GUI Vuser Script Using Winrunner(GUI Vuser)
- Start-> Program Files->Winrunner->Winrunner.
- Chose: File->New
- Start recording through
Create->Record ContextSensitive Mode
- Invoke the application
- Do some actions on the application.
- Select Stop Recording
Create->Stop Record
- Declare the Transactions and Rendezvous Point at the top of script
Declare_transaction();
Declare_rendezvous();
- Identify where the transaction points to be inserted.
Start_transaction();
End_transaction();
- Insert the Rendezvous Point
Rendezvous();
- Save the script and remember the path of the script.
5.Running the script in the Controller with Wizard
- Start-> program Files->Load Runner->Controller.
- Choose: wizard option and click OK.
- Click Next in the welcome Screen
- In the host list , click add button and mention the machine name
Click Next Button
- In GUI Vuser Script, click add button and mention the name of Script
- Click Next button.
- Select Simulation group list, cilck edit button and change the group
name ,No of Vuser.
- Click Next Button
- Select Finish Button.
- Select Vuser window, select tools->option
Select winrunner tab,set the path of Winrunner
Path:Program files->winrunner->dat->wrun.ini
- Select Host window, select Host->details
Select Vuser Limits tab, select GUI-winrunner check box.
Select winrunner tab , set path
Path:Program files->winrunner->dat->wrun.ini
- Choose: Group->Init or Group->Run or Scenario->Start.
- Finally Load runner Analysis graph report appears.
Looking for Software Testing eBooks and Interview Questions? Join now and get it FREE!
|
Recommended Resources
• Testing Interview Questions -
http://www.coolinterview.com/type.asp
• Testing Tools Interview Questions -
http://www.coolinterview.com/type.asp
• What is Software Testing?-
http://en.wikipedia.org/wiki/Software_testing
• Software QA & Testing Resource Center-
http://www.softwareqatest.com/
• Testing Faqs-
http://www.testingfaqs.org/ |
|