software testing genius

HP LoadRunner Vugen Questions Bank-Q 21 to 30

Welcome to “Software Testing Genius”. Subscribe to my RSS feed for latest content on Software Testing.

HP LoadRunner VuGen Questions Bank: Q. 21 to 30

Learn "VuGen" Module of HP – LoadRunner through FAQ’s:

Q. 21: How can we view the VuGen Workflow while creating scripts?

VuGen provides a set of workflow screens, which guide us through the different steps of creating a script. A basic script is created in the beginning and then we adapt it for our test or production environment.

By default, after installation VuGen opens with the Workflow view. We can also work in the Tree view or Script view. The next time we start VuGen and open a script, it opens to the view that we had open when we exited VuGen the last time. We can switch back to the wizard view by clicking on any task in the Task Pane.

<<<<<< =================== >>>>>>

Q. 22: What are the steps involved in parameterizing an argument

in a script?

Various steps of parameterization are:

1) Locating the argument you want to parameterize

2) Giving the parameter a name

3) Selecting a parameter type

4) Defining properties for the parameter type

5) Replacing the argument with a parameter

<<<<<< =================== >>>>>>

Q. 23: What are the steps to run the load tests on the system to check the response and capacity of the machine?

This involves following two steps:

1) Iterations: This portion of the Workflow Wizard provides an introduction to iterations and allows us to open the Run-Time settings for setting their values.

2) Concurrent Users: This portion of the Workflow Wizard guides us through the process of creating a scenario using the LoadRunner Controller. In a scenario, we can specify the number of users to run concurrently and we can observe the behavior of our system with multiple users.

<<<<<< =================== >>>>>>

Q. 24: What are the steps involved while Finishing our Script?

The final Finishing step of the Workflow wizard involves the following actions:

1) Creating a Scenario: For running a load test on our system using the LoadRunner Controller.

2) Uploading to Performance Center: For running a test through a Performance Center server installation.

3) Uploading to Quality Center: For adding a test to the test repository.

4) Creating Business Process Report: Creating a Microsoft Word document containing a summary of the VuGen script.

<<<<<< =================== >>>>>>

Q. 25: What are the various sections of Vuser Script?

Every Vuser script created by VuGen contains a minimum of following three sections. Before and during the recording, we can chose the section of the script into which VuGen should insert the recorded functions.

1) vuser_init Section: This section is used when recording a login to a server. This section gets executed when the Vuser gets initialized or loaded. While running multiple iterations of a Vuser script, this section does not get repeated.

2) Actions Section: This section is used when recording client activity. This section gets executed when the Vuser is in Running status. When we run multiple iterations of a Vuser script, this is the only section of the script which gets repeated.

3) vuser_end Section: This section is used when recording a logoff procedure. This section gets executed when the Vuser finishes or is stopped. While running multiple iterations of a Vuser script, this section does not get repeated.

<<<<<< =================== >>>>>>

Q. 26: How do we view and edit the contents of script sections?

VuGen script editor is used to view and edit the contents of every section of the script. We can display the contents of only a single section at a time. To display a section, we just need to highlight its name in the left pane.

<<<<<< =================== >>>>>>

Q. 27: What is an actions class related to Vuser scripts?

We place all the code in the actions class, while working with Vuser scripts which use Java classes.

The Actions class contains following three methods, which correspond to the sections of scripts developed using other protocols:

1) Init method: This is used for inserting initialization routines.

2) Action method:
This is used for inserting client actions.

3) End method:
This is used for inserting log off procedures

<<<<<< =================== >>>>>>

Q. 28: How can we import actions into our script from another Vuser script?

We can import actions into our script from another Vuser script, only for the types of Vusers which support multiple actions.

We can import the actions from Vusers of the same type only. As a result, all parameters associated with the imported action, will get merged with the script.

Following two options are available for importing actions :

1) Import From Vuser.

2) Action to Import.

<<<<<< =================== >>>>>>

Q. 29: How do we convert our script to some presentable format describing the business process?

At the final stage of script creation, we can create a report describing our business process. VuGen exports the script information to a Microsoft Word document.

We can use a pre-designed template or the one provided with VuGen, to create structured reports with summary information about our test run. VuGen allows us to customize the contents of the report by indicating what type of information we want to include in it.

<<<<<< =================== >>>>>>

Q. 30: What type of preferences are necessary to be set before Script Generation?

Before recording a session, VuGen allows us to set the following preferences:

1) Specification of a language for script generation: The available languages for script generation vary according to the protocol. Some of the available languages are C, C#, Visual Basic, Visual Basic .NET, VB Script, and Javascript. By default, VuGen generates a script in the most common language suitable to the protocol, but we can change this through the Script recording options.

A script recorded in one language can be easily regenerated in another language after the recording.

2) Specification of language-specific recording options: This is done to instruct the recorder as to what to include in the script and how to generate it.

Continue to Next Part : Q 31 to 40

Study Material - HP LoadRunner Certification Exams for All Modules

Study Material - HP QTP & QC Certification Exam

Study Material - IBM RFT Certification Exam

What Successful Testers say about the Quality of this website

If you want to keep track of further articles on Software Testing,
I suggest you to subscribe my
RSS feed

You can also Subscribe by E-mail
and get All New articles delivered directly to your Inbox.

Get your Absolutely Free Copy of Several MS PowerPoint Presentations & E-Books related to ISTQB, HP Load Runner, IBM RFT, HP QTP & QC Certification Exams, prepared by Popular Writers & Trainers, by writing to:

Full Study Material for Popular Certification Exams:

Largest Database of Sample Papers - 1000+ Unique Questions for ISTQB Foundation Exam

ISTQB Foundation Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Analysts Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Manager Exam - Full Crash Course for Download

Study Material - ISTQB Certification Exam

Consolidated Study Material - Testing & QA

Most Popular Topics in Demand:

Practical Roadmap to QTP Certification

Practical Roadmap to CSTE Certification

General HR Interview Questions Common For All 

Tricky HR Interview Questions Common For All

Rehearsal of QTP in 1 Hr. -  Interview Questions


Comments :


# 1 ajay on 2011-01-31 02:09:09
hlo dear
if we wanna a application after login then how we can start?
m trying this but it gives error

Leave Your Comments: (*) Marked Fields are Mandatory

You can apply basic formatting to the text

Name *
Email Address *
Speak your mind
sex hikayeleri