Pages

Saturday, 19 September 2015

Should you really follow BEST PRACTICES?


Once upon a time, not long ago, a developer created his own personal website. To keep the unauthorized users away, he added the login page. Being an internet savvy himself, he always knew how hackers plan their attack. So, instead of displaying direct error message for login fields, he showed a common message as “Username/Password is incorrect. Try again”. This was a smart move from him as now hacker couldn’t know which input was wrong. He showed this message to one of his developer friends and he followed the same. Similarly, it became BEST PRACTICE to display the common error message on the Login page.
The only best thing about BEST PRACTICES is that they are best in some contexts and worst thing is that people have tendency to follow the best. In fact, sometimes they are followed by everyone and hence become common. There can’t be hundred best students in class of hundred. Only one could be best in each subject among the hundred; others could be good, very good, average and poor.
The story said above is not a story, it is reality. The idea to change the error message worked for first developer but it didn’t work for his friend. Why? Let’s see.
  • The unauthorized user entered the invalid username and password, system displays an error message “The email address or password you entered isn’t correct. Please try again”. Quite good. The user doesn’t know which is incorrect – username, password or both. (This is similar to what first developer did and other followed.)
Error message on "Sign In" Page
  • Then user opened “Forgotten your password?” page and entered the same email id. The system displayed the error message that entered email is not registered with website. Boom. The security provided by the previous error message is violated by this message. Now this unauthorized user knows that this is not the correct user name so he can put his energy to find the correct user name. He has got a direction to move. (In our story, first developer didn’t provide the Forgot Password page but others did. So his solution worked for him but not for others.)
Error message on "Forgot your Password?" Page
The problem is people are so obsessed of following best practices that context is side-lined in most of the cases. See the below example:
  • Here, if an unauthorized user enters an invalid Email address – system clearly tells him that account doesn’t exist.
Error message when wrong email is entered.
  • In other case, when user enters correct email and incorrect password, system displays “Email/Password combination is wrong” (BEST PRACTICE). From previous message, it is obvious that only password can be wrong in this case but as I already said that people are obsessed of following the BEST PRACTICES that they miss the tweaks.
Error message when wrong password is entered.
There are two important learning from above examples:
  • The BEST PRACTICES are best in their contexts and might not work for you if context differs. Do what work for you and that will be your “BEST PRACTICE”. Moreover, it doesn’t make sense to me that if everyone is following the same then how it can be called as “BEST PRACTICE”. It should be called as “GENERAL PRACTICE”.
  • Don’t forget to verify linking between error messages in your application. We have seen in above scenarios that one error message is violating the rule of other. (The linking between Error messages might be new to many and should be practiced.)
If I were testing the same Forgot Password page for the website displayed above, I would ask developer to place a message like “An email will be sent shortly to registered email if it’s valid”.
Now, don’t make this as BEST PRACTICE.

PSR : This tool to write Effective Bug Report


How often as a tester do you think that you spend a big chunk of your testing time in reporting the defects rather than testing actually? There could be multiple reasons of this:
  • The defect template could be complex
  • You might be slow in typing
  • You might not be so good in vocabulary
How many times did it happen that you logged a defect and developer rejected because the steps were not detailed enough to replicate the issue.
A good bug report is responsibility of the tester and each stakeholders expect the same. I noticed the same issue within my project; Team spend too much time on writing effective bug reports. On average it takes 30 minutes to log a defect. That is a big time. If one found 6 defects that means the person had spent around 3 hours to report those defect. That was something pinning me for last few months and I was eagerly looking for a solution to get over this problem.
Recently, I came to know about “Problem Steps Recorder” which caught my attention. Microsoft has provided this utility in Windows 7 to record the problem steps in Microsoft Window. PSR captures the events happening on the screen and create a low size zip file with all steps and screenshots happening at the desktop.
PSR
PSR also provides the facility to annotate the screenshot during the runtime. Just select the screen area and enter your comment. The same will be added in the Report. Isn’t it awesome?
You can even disable the screen capture as per your need.
This is kind of what I was exactly looking for. The next step was to know how team feels about it.
On a good day, I called my team for training and demonstrated this tool. They all were quite excited and wanted to use it immediately and there was no reason to stop them. So, I asked them to use the tool and let me know their opinion. Till now, I got very positive feedback about the tool so I am thinking to take it to next level; to get it approved from important stakeholders, mainly Project Manager and Customer. No matter how others’ take this, it has already become a mandatory part of my Test Armory.
If you practice testing, How about using it in your practice sessions? Please share your opinion in this thread.

Tuesday, 11 August 2015

Online or Offline??? Gmail or Gtalk doesn't matter


This is a strange behavior I observed while I was chatting online with my friend.

Application Used: Gtalk and Gmail chat
Reproducibility: 100%
Machine specific: No

---------------------------------------------------------------------------------------------------

I expect people chatting with me to reply within 5-10 seconds after I send them a message.
I also promise to reply instantly unless I'm not infront of my monitor.

It so happened that I sent my friend a message and I did not get any reply for a minute.

I got irritated by him not responding and I started banging the keys on my keyboard.
Infact I banged only one key - the DOT '.'

I pressed the '.' (DOT without quotes) and pressed enter key.
This continued for 15-20 times continuously.

Then these messages were displayed on Gmail chat window(pop up) and Gtalk application respectively.






















As you can see on both the screenshots, the user is still Online indicated by the Green dot against the name.
And the message reads: "The user did not receive your chat" or "The user's email is offline and can't receive messages right now"

I liked this bug... Use of emotions helped me find this bug.
I don't really care if this is fixed or not but the behavior definitely brought a smile on my face.

:)

Monday, 10 August 2015

Paired Testing at a distance - Part 1


Date: 01 August 2009 Saturday
Time: 2030hrs IST

Mission: To test the website http://www.vischeck.com/vischeck/vischeckURL.php and find bugs.

Time Limit: 2030hrs to 2100hrs IST.
2100hrs to 2130hrs IST: Discussion of bugs.
2130hrs to 2200hrs IST: Prepare the blog post.


Browser: Google Chrome v2.0.172.37
-------------------------------------------------------------------------------------------------
First I planned to collect some colorblind images.
Googled 'color blind images' for Images.

* Entered the URL in the Google Chrome address bar and pressed enter key.
Webpage was loaded.

* Clicked on 'Run Vischeck!' button without entering any URL. A pop up appeared. Ok, Test passed.

* Entered some random characters in the URL field. Error message was displayed.
"There seemed to be a problem with that URL- please try another."

* I wanted to check what would happen if I typed some custom error. So, I replaced the text 'There+seemed+to+be+a+problem+with+that+URL-+please+try+another.' with some text and the new text was displayed on the webpage. This seemed to a major security vulnerability as a coder/hacker might take advantage of this.

* My first Test URL with a valid colorblind image: 'http://brainden.com/images/color-blindness-test-4.jpg'. Clicked on 'Run Vischeck!'
button.

Following text and hyperlinks were displayed.



* Clicked on the image link to open in a new window: Opened the same image.
Clicked on the 'Deuteranope simulation' link to open in a new window:
A window full of JUNK characters was displayed.

* This gave me idea to change the number after the uploads/. I typed some random number. File not found 404 error was displayed.


* Removed the number part of the URL http://vischeck.homeip.net/uploads/124914450524078/ and pressed enter key.
Result:



















Then clicked on some of those folders and some random files were displayed.

* Appended '/?', '/', '?', error=.
Sometimes, only some part of the webpage was displayed.

* Also googled for large size images and tested them.

End of Testing. Time 2106hrs IST.

What could have been better:
I feel lot of time was wasted on testing the "Append text after error=".

Please feel free to comment, critique, suggest, question, discuss.

This is just the first report and intentionally titled Part 1.
More to follow...

Please find the report uploaded at http://tinyurl.com/ll78n5. The report is intentionally left as it is without any modifications.

Please find my testing partner's report and blog post at : http://curioustester.blogspot.com/2009/08/paired-testing-at-distance-part-1.html

My special thanks to Parimala. :)


Dropbox: I love you


Being a tester, I like to test many applications. This exercise also helps me in choosing a product for the weekendtesting sessions. Over the last two years, I might have installed more than a hundred applications. I would download, install, test, retain it if I like it or uninstall after few days.

There are some applications/tools which have taken a permanent place in my toolkit. Today's post is about one such application and it is Dropbox.

What is Dropbox and how is it useful?
It is a free web based file hosting service. Once you install Dropbox on any computer and save files in the Dropbox folders, they automatically are backed up on Dropbox website. If you want to access the same files on some other machine, install Dropbox on that machine. If the Dropbox service is running on both the machines, any files you modify on one computer gets automatically synced and saved on both the computers and on the website too. You no longer have to copy folders/files from one computer to another. Let Dropbox do its job and you concentrate on the files.

Usefulness:


  • Backup feature: Every file you edit is saved on the Dropbox website too. 
  • Online availability: Forget your test machine, personal machine and all the different machines you use to test. Be assured that your files are always available online.
  • Freedom from emails, USBs, CDs: Are you in the habit of emailing yourself copies of the document every time you edit and switch to a different computer? Do you carry a device with the data everywhere you go? Dropbox solves it. 
  • Sharing feature: Do you share files with your friends a lot? You don't want to spend on the upload/download charges and make it a simple process to share? According to me, Dropbox solves it in a matter of few clicks.
  • Accidental Deletion: Did you delete the files by mistake and work on them from scratch? Dropbox saves even the deleted files and you can RECOVER them easily!
  • Free upto 8GB space! When you install, you get 2GB free space and when you refer friends (share link) and they install, you get 250MB/referral. 
What are you waiting for? 
Click on the link http://db.tt/xcAYzF1 , install Dropbox and enjoy the benefits! 

Post your questions about Dropbox as comments to this post and I will answer them for you. 
If you are someone like me who can't live without Dropbox, feel free to share this post or comment on how Dropbox helps you. 

Sympathetic testing


One of the reasons I like BBST courses is that there is a focused reading on a topic. There are questions asked about a document. You might have read the document before but one seems to learn more when there is a focused reading of the same document under time pressure. In the Test Design course, I learn about "Sympathetic Testing". There seems to be an excellent document explaining how to learn an application. The focus is on learning about the application and not testing the application.


I decided to learn about the application ClipX in a similar manner to how Mike Kelly learnt about the Magnifier tool. The first tour described was the 'Feature Tour' where the focus is to move through the application, getting familiar with all the controls and features one comes across.

I installed the application ClipX from http://download.cnet.com/ClipX/3000-2384_4-10315451.html
Based on the Mike Kelly's blog post, I prepared this mindmap.
Application Tours
The next few hours, I will be focusing on the application tours. Let me start with the feature tour.
When I was installing the application, I found one interesting behavior. The 'Run the application now?' popup appeared even before the progress bar on installation window was complete.
Click here to view the partial report of the feature tour. I did not do a complete feature tour.

What did I learn from this exercise?
It was a different experience to focus on learning about the application and not hunt for bugs.

Rich model
As the focus shifted from "Can I test for this bug" to "What else this product can do", I learnt about the product in detail. The additional information will help me frame better tests and target each of the areas I learnt. This also helps me in relating a test on a single feature to its effects on other feature. The rich model helps me think of the big picture.

Better bugs
As I learn more about the overall application, I ask questions related to the design of the application. If I were to concentrate on a single feature, my question might be limited to the particular feature. Looking at the bigger picture, I can find bugs related to the absence/presence of a particular feature. I can question the very existence of a feature instead of a bug in a feature.

Risk - Coverage - Priority
I can talk to my stakeholder with my initial report and ask for the areas to be tested. Based on my initial tours, I have an idea of how a test might affect the other features. How risky is a particular feature? What percent of coverage would be achieved in terms of features? Which feature demands highest priority testing? I have a better answer to such questions after this exercise than before the exercise.

Learn in five minutes
After I finished prepared the report, I realized that few of my tests could have been avoided if I had seen other features before. The next time, I will quickly go through most of the options within five minutes and then focus on tours.

I am still learning to do sympathetic testing well. Have you experienced Sympathetic Testing? What do you think? How do you learn about the application? How much time do you spend?

Tuesday, 6 January 2015

Free .... Free.... Free .... - Software Testing Books


 I did realize that many testers are still hesitant on testing books.So, here is the deal:

Feel free to download the books for free.
Book 1: A collection of tips software tester
Book 2: Win testing
Book 3: Boost your productivity
Book 4:To Improve tester-programmer relationship
Book 5: Mobile Testing 

Book 6: UI & UX Testing

I don't want to upload a zip file and let it lie unzipped for months together.
I am aware of the risk that some of you might download and not read it any time as it is free.
This post is for those who wished to buy but cannot afford it at this moment.

Testing Timeline: What is your %


Do you test software? Do you test every day? Do you get paid for it?
If you answered yes to any of the two questions, I have one more question for you :)
What percentage of office time do you actually test (interact with the software)?
The answer to 'Testing includes...' might differ from one person to another. I don't want to get into that discussion right now. I am more concerned when people spend very little time interacting with the product and complain of bugs being found by the customer. Consider the following three scenarios:

Scenario 1:
A feature has been revamped and will be released to market soon. A tester who has never worked on the feature is called to test the revamp. The tester could:
  • Understand the existing feature
  • Understand the revamp
  • Analyze the XYZ specification
  • Write test cases
  • Test the feature and file bugs
  • Test the system
Scenario 2:
Your team reaches office at 9am and is available till 6pm.
The total time spent testing the product on an average is 3 hrs. Rest of the time is spent on the following:
  • Attending meetings
  • Updating KnowledgeBase pages
  • Plan for next release
  • Taking interviews
  • Document the learning
Scenario 3:
Here is a tester who refuses to follow the rules. She never attends any meeting unless her inputs are a must-have. If she wants to learn anything, she knows the right person who can help her. She is very good at networking and has lots of friends in the whole company. She has one bad habit though, as her colleagues mention. No - not the one about rules, when she is given a feature to test, she spends most of the time interacting with the feature. Her activities can be summed up as follows: 
  • Understand the mission quickly
  • Highlight the traps and risks
  • Test the feature, system
  • Use information from different sources as a heuristic
  • Get help from those who can help her
What is your take on 'How much should you INTERACT with the feature/product/system?'
If you are smart enough, I would expect your answer to start with
.
.
.
.
.
.
.
.
.
'It Depends...' and continue the discussion. At the same time, I am open for new answers.

Saturday, 1 November 2014

Exact Difference between Positive and Negative Testing with Test Scenarios

 

 

Exact Difference between Positive and Negative Test is shown below and hope after seen these differences you do not have any queries left in your mind because I am writing the differences in tabular form so that you all can learns it easily and breaks the any sort of interview in software testing field you came across.

Positive and Negative Testing

Top Distinction between Positive and Negative Testing

    Positive Testing (Valid)
   Negative Testing (Invalid)
1. Positive Testing means testing the application or system by giving valid data.
1. Negative Testing means testing the application or system by giving invalid data.
2. In this testing tester always check for only valid set of values.
2. In this testing tester always check for only invalid set of values.
3. Positive Testing is done by keeping positive point of view for example checking the mobile number field by giving numbers only like 9999999999.
3. Negative Testing is done by keeping negative point of view for example checking the mobile number field by giving numbers and alphabets like 99999abcde.
4. It is always done to verify the known set of Test Conditions.
4. It is always done to break the project and product with unknown set of Test Conditions.
5. This Testing checks how the product and project behave by providing valid set of data.
5. This Testing covers those scenarios for which the product is not designed and coded by providing invalid set of data.
6. Main aim means purpose of this Testing is to prove that the project and product works as per the requirements and specifications.
6. Main aim means purpose of this Testing is try to break the application or system by providing invalid set of data.
7. This type of Testing always tries to prove that a given product and project always meets the requirements and specifications of a client and customer.
7. Negative Testing is that in which tester attempts to prove that the given product and project does, which is not said in the client and customer requirements.
Positive and Negative Test Scenarios with Example

Positive and Negative testing can be used in different set of scenarios, but below is given the scenario of login form on which these two types of testing are used.

For example you are doing the testing on login form which have following fields like Username field, Password field, and Sign In, Sign Up, Cancel, Login Button etc. Now you have to perform the positive and negative test scenarios on that, so your criteria for doing positive and negative testing are given below:

Now positive scenario of login form is that you enter the valid username and password in the username and password field, and then click on Login Button to check whether the user is able to login or not.

Negative scenario of login form is that you leave the password field blank and fill the username field, and then click on Login Button to check whether the user is able to login or not.

Monday, 22 September 2014

Load Runner for Beginners




Hi Guys..

Here's a new way to learn load runner easily. Basically I worked on 9.0 version. So, Here are the basic concepts of the load runner which are helpful for beginners.

Basically Load Runner is automated performance tool which comes under performance testing.
Let's see what is performance testing and what we do in performance testing.

Performance Testing:
Performance testing will be done to ensure that there are no performance related risks at the time of production or live environment. It's a means of Quality Assurance.

The focus of Performance testing is checking a software program's



·   Speed:       Determines whether the application responds quickly.

·  Scalability:  Determines maximum user load the software application can handle.

·  Stability:      Determines if the application is stable under varying loads.

 There are different types of performance testing. They're

Load Testing: checks the application’s ability to perform under anticipated user loads. The objective is to identify performance bottlenecks before the software application goes live.

Stress Testing: involves testing an application under extreme workloads to see how it handles high traffic or data processing .The objective is to identify breaking point of an application.

Endurance Testing: is done to make sure the software can handle the expected load over a long period of time.

Spike Testing: tests the software’s reaction to sudden large spikes in the load generated by users. The best example for spike testing is train reservation during tatkal time.

Scalability Testing: The objective of scalability testing is to determine the software application’s effectiveness in “scaling up” to support an increase in user load. It helps plan capacity addition to your software system.

Volume Testing: Under Volume Testing large no. of. Data is populated in database and the overall software system’s behavior is monitored. The objective is to check software application’s performance under varying database volumes
 Common Performance Problems:

    Long Load Time.
    Poor response time.
    Bottle necking.
    Scalability.

There are different types of performance testing tools

    Load runner
     J Meter
    Open STA
    Neo Load
     Open Load
    Load Impact

The above are the mostly used automation tools in most of the organizations. Some are free to use and some are paid. The major difference between free and paid tools is some free tools won't support all types of environments and some do. Coming to paid tools, they support all type of environments with respective number of Vusers as per the price what you're paying for.
LOAD RUNNER

 Why Load Runner:

    Load Runner: One of the best automated performance testing tool.
    Uses ANSI C as the default programming language and other languages like Java and VB.
    No need to install it on the server under test. It uses native monitors.
     Supports all types of protocols (HTTP, FTP and SMTP).
     Easy to analyze the results and creating scripts.


As we know Load Runner was invented by Hewlett-Packard organization. One of the best and most used tool by the organizations. Though it's a paid tool, for perfect and easiness in use this tool is the best.

For every tool, there is a testing process to test an application. For Load Runner tool, the best process to follow is :

The above model is the best model to follow to perform a performance test.
Let's discuss much about the tool.
 There are different components of Load Runner. They' are


Components of Load Runner:

1) Vuser Generator
2) Controller
3) Analyzer

Let's discuss about each component briefly with related examples.
VUser Generator:
The first component and the basic component is "Vuser Generator". In Load Runner tool humans are replaced by Vusers who are replica of humans. More number of Vusers can be worked on a single work station with different scenarios. Load runner can accommodate hundreds or even thousands of Vusers with different scenarios.
With the help of Vuser script, Vusers can perform the tests. User can record and playback the application for script generation.
By modification or editing the scripts, user can create different scenarios for different Vusers. With this load test can be made simple and easy with one workstation.

Controller:
In Load Runner ‘Controller’ is used to control the VUsers with single work station with different scenarios assigned to VUsers.
Analysis:
After the performance test the user can view the results of the test in graphs.

More into the concepts of Load Runner. As we discussed, we start with 'Vuser Generator'.

Vuser scripts are created by Virtual User Generator with the recording of activities between client and server. It records the scripts. These scripts are used to emulate the steps of real human users. Using Vugen, we can also run the scripts for debugging.
VuGen can be used for recording in windows platforms. But, a recorded Vuser script can also be run on Unix platform.

Developing Vuser Script is a five step process:

    Record a Vuser script
    Vuser Script Enhancement – by adding the control statements and other functions
    Run time Settings Configuration
    Running of Vuser Script on Stand Alone machine – Verify that the script runs correctly
    Integration of Vuser Script – into a LoadRunner scenario or Performance Center or Tuning module session or Business process monitor profile etc.


Steps to create scripts:

Vuser generator will be able to record the scripts from the application. User can record the application script.


    Launch Load Runner-> Select record or create script.
    Select New Vuser Script-> Select Next.
    Select the needed protocol (Supports multiple and single protocols) -> Click OK.
    Select ‘Tools’ from menu bar ->Recording Options-> Under Recording options Select ‘Recording’
    Select the particular protocol type and script types (with or without user actions i.e. only URL’s)
    Select ‘start Recording’ under menu pane.
    Enter the website on the dialog box-> Select ‘OK’.
    Perform the actions on the website opened.
    Automatic script creation will be done in load runner.
    End of Script creation.

With the user script created, we can parametrize the  recorded script. Parametrization helps us to create different actions for different Vusers which will be allocated in run-time settings.




Parameterization:
User can parameterize the created script with respective parameters in the application. Major advantage of load runner is that the user can insert any number of parameters in to the script with respect to application.
Watch this tutorial for more info on parametrization
.

Process to parametrize:

    Right click on the appropriate parameters in the script.
    Select replace parameters.
    The parameter name must be generic(the parameter naming is user-defined and named as per ease of use) as per the application defined.
    Insert with respective parameters in the parameters window.
    Select ‘OK’.


Before running the scripts, user has to change the runtime settings as per the modified script and with respect to the number of iterations.
Menu->View->run time settings-> change the settings as per the requirements.
There are few ways to adopt a parameter and as per the availability we can assign the type of the parameter to it.
Types of Parameters:

    File
    Table
     XML
     Random Number
     Iteration Number
     Unique Number
     Load generator Name
     Date/Time
    Vuser ID
    User-Defined parameter.



The above are the types of parameter files we can use in Load Runner. Let's see in-depth about types.


File and Table:
These are the most widely used parameter types in the performance testing domain. Vusers take value from the data file and table.
When a file type or table type parameter is used, a .dat file is created. By default all the data files are named as <Parameter Name>.dat and are stored in the script’s directory.
When VuGen opens the data file, it displays the first 100 rows. To view all of the data, click ‘Edit with Notepad’ and view the data in ‘parameter properties’.

 XML type parameters:
XML Parameter Types are used for multiple valued data contained in an XML structure. It replaces a complex structure in which an array can be made a part of another array.
The complex structure as required in a web-service call can be replaced with a single XML parameter.
E.g., An XML parameter by the name Contact can replace a name, email id, mobile number, and address.
XML parameterization helps to have cleaner input of the data, and enables efficient parameterization of Vuser scripts. XML parameters are widely used with Web Service scripts and with SOA services.

Random Number:
Random Number replaces the parameter with a random number. While creating random type parameter, a minimum and maximum value of the range (the range, out of which the random number is planned to be selected) is required to be set.
A Random type parameter can be used -
·                                 To sample a system’s behavior within a possible range of values. E.g. To randomly view the details of 50 incidents being created in the system, one can specify the range for 50 serial incident ids (e.g., Min – 40001, Max - 40050) and emulate the situation. Randomly incident details will be viewed by Vusers.

·                                 Percentage distribution of tasks’ execution by Vusers. Random number can be set to have a range of 100. Using if loop one can achieve appropriate percentage distribution of different tasks.

Iteration Number:

Iteration number parameter type replaces the parameter name with Vuser’s current iteration number.
An iteration type parameter can be used -
·                                 To print the Vuser’s iteration number in external file as sometimes required while debugging scripts for data-issues.
·                                 To allocate a unique data input per Vuser.


 Unique Number:
Unique number parameter replaces the parameter with a unique value. This value is taken from the range set by entering the start value and the size of the range.
Unique number type of parameter is used -
·                                 To enter a unique value in the data field while script execution. (E.g. setting a unique username for a Signup transaction of a website).

·                                 To check system’s behavior for all possible values of the parameter.
E.g., Executing a query for all employees, whose ID numbers range from 100 through 199, create 100 Vusers and set the start number to 100 and block size to 100.
 
LoadGenerator Name:
A LoadGenerator is the machine on which Vusers perform the steps as in the scripts. During test execution, Load Generator Name type parameter replaces the parameter with the name of the Vuser script’s load generator.
A LoadGenerator type of parameter is used -
·                                 While debugging scripts, to understand if failures exist only at a particular loadgenerator.
·                                 To segregate results and logs between different loadgenerators.

Date/Time parameter type:
A Date/time parameter replaces the parameter with a date and/or time. One can specify one’s own format of date/time representation.
Date/time parameter type is used in -
·                                 Business scenarios in which vuser wants to get specific details for specific duration of time. In the form data, the ‘from’ field-type will have value of last month’s date-time and the ‘to’ field will have date/time of current date-time.
·                                 Scenarios in which vuser has to enter a date-time value.
·                                 Scenarios in which vusers have to enter a unique string value for a field.

Vuser Id parameter type:
A Vuser ID replaces the parameter with the ID number assigned to the Vuser by the Controller during a scenario run. When you run a script from VuGen, the Vuser ID is always 1.
Vuser id parameter type is used -
·                                 To print the vuser id in an external file for script-debugging purpose.
·                                 To segregate transaction volume based on Vuser ids.

 User defined parameter type:
A User defined parameter type is a user-defined function in which call to the function is made and the value returned by the function replaces the parameter name.
This type of parameter is used in following cases -
·                                 Random function can be called to capture one out of the many co-related values stored in an array (created by web_reg_save_param).
·                                 To obtain a value in a specific format that is not supported by other parameter types.

We can observe while recording a script , a window with some buttons will be displayed. Which contains vuser_init, action,vuser_end. These are the options which are useful for the user at the time of recording script.

Like generally,
What is the purpose of vuser_init action in LoadRunner?
Vuser_init action contains details of procedures to login to a server.


With this the parametrization of script will be done to allocate to different Vusers.


CATCH ME

Monday, 21 July 2014

HR Interview Questions




1. Tell me about yourself?
I am down-to-earth, sweet, smart, creative, industrious, and thorough.
2. How has your experience prepared you for your career?
Coursework:
Aside from the discipline and engineering foundation learning that I have gained from my courses, I think the design projects, reports, and presentations have prepared me most for my career.
Work Experience:
Through internships, I have gained self-esteem, confidence, and problem-solving skills. I also refined my technical writing and learned to prepare professional documents for clients.
Student Organizations:
By working on multiple projects for different student organizations while keeping up my grades, I’ve built time management and efficiency skills. Additionally, I’ve developed leadership, communication, and teamwork abilities.
Life Experience:
In general, life has taught me determination and the importance of maintaining my ethical standards.
3. Describe the ideal job?
Ideally, I would like to work in a fun, warm environment with individuals working independently towards team goals or individual goals. I am not concerned about minor elements, such as dress codes, cubicles, and the level of formality. Most important to me is an atmosphere that fosters attention to quality, honesty, and integrity.
4. What type of supervisor have you found to be the best?
I have been fortunate enough to work under wonderful supervisors who have provided limited supervision, while answering thoughtful questions and guiding learning. In my experience, the best supervisors give positive feedback and tactful criticism.
5. What do you plan to be doing in five years’ time?
Taking the PE exam and serving in supervisory/leadership roles both at work and in professional/community organization(s).
6. What contributions could you make in this organization that would help you to stand out from other applicants?
In previous internships, my industriousness and ability to teach myself have been valuable assets to the company. My self-teaching abilities will minimize overhead costs, and my industriousness at targeting needs without prompting will set me apart from others. Additionally, one thing that has always set me apart from my scientific/engineering peers are my broad interests and strong writing abilities. I am not your typical “left-brained” engineer, and with my broad talents, I am likely to provide diverse viewpoints.
7. What sort of criteria are you using to decide the organization you will work for?
Most importantly, I am looking for a company that values quality, ethics, and teamwork. I would like to work for a company that hires overachievers.
8. What made you choose your major?
My academic interests are broad, so I sought civil engineering to achieve a great balance of mathematics, chemistry, biology, physics, and writing.
9. Have your university and major met your expectations?
The College of Engineering at MSU has exceeded my expectations by providing group activities, career resources, individual attention, and professors with genuine interest in teaching.
My major has met my expectations by about 90%. I would have enjoyed more choices in environmental courses, and would have preferred more calculus-based learning.
10. What made you choose this college?
I chose this college for the following reasons: my budget limited me to in-state schools, I was seeking an area with dog-friendly apartments, the MSU web site impressed me, I saw active student groups, and the people were very friendly.
11. List 2-3 of your greatest achievements since you’ve been in college and why? 
 Receiving the SWE Outstanding Member Award and College of Engineering Student Service Award
I got involved with student activities to overcome my debilitating shyness. Receiving these awards signified that I had accomplished a transition from dragging myself to participate to feeling energized by it.
Receiving the SWE Web Site Award
Without training in web design, I competed against not only the other student sections, but professional sections around the nation. Despite competing with more HTML-experienced people, I brought this award to my section. After getting so much from SWE, I was able to give something back.
Earning the highest grade in an organic chemistry class of ~200 people
I worked very hard for this grade and loved the subject, so it was a great feeling to see that the hard work paid off.
12. Which subjects have you enjoyed studying the most and why?
I have enjoyed hydrology, fluids, solid & hazardous waste management, water and wastewater treatment, and oceanography because I love water and environmental topics.
Calculus and linear algebra excite me because I love logic.
I enjoyed the writing and analysis in economic history.
Business law thrilled me because I have a strong interest in legal matters.
13. Which subjects did you dislike and why?
Introductory soil elicited little interest in me, most likely because the professor was inexperienced, the book was ineffective, and I had little spare time that semester to look into other resources.
14. Do you have plans to continue your education?
Yes, but not immediately. I plan to continue part time with either an MBA or an environmental engineering masters, depending on which will be more beneficial to my work.
15. How would a professor who knows you well describe you?  One who does not know you well?
A professor who knows me well would likely describe my personal qualities: sweet, down-to-earth, smart, hard-working, and conscientious.
As specific examples of those who did not know me well, my soils professor and soils teaching assistant each considered me smart and respectful, and both thought that I must have enjoyed the class a lot, due to my performance.
16. Given the chance, how would you alter your education?
Knowing now what I like the most, I would have used my electives for extra math and psychology classes, since I tend to be well-rounded enough that a variety of classes are unnecessary; my personal reading is diverse enough. I have found that mathematics and psychology are helpful to all career and life paths.
17. Which part-time job did you enjoy the most and why?
Working for PM Environmental was most enjoyable to me, since I felt like I was significantly contributing to the company, and I enjoyed learning on my own.
18. Interests?
Some of my interests include dogs, hiking, snow-shoeing, water sports, writing, reading (especially Charles Dickens’ novels), skiing, drawing, crafts, and computers.
19. What are your strengths?
My strongest strength is the ability to teach myself difficult material, regardless of the subject (with the exception of theater and drawing blood from dogs, which I have no talent for). Additionally, I have always excelled verbally and look forward to writing opportunities.
20. What are your weaknesses?
I tend to try to do too many things, leaving little time for myself. I have worked on balancing myself for the last several months. I am also working on improving my public speaking skills.
21. What sort of serious problems have you experienced, and how have you handled them?
My apartment building burned down at the end of January during one of my semesters at MSU. Before the fire got too bad, I was able to rescue my pets and the neighbor’s dog, as well as my textbooks and backpack, but I lost most of my mementos and possessions. While the firemen were preparing their hoses, I drove to school (with the animals in the car) to meet my lab partners, who were waiting for me. I explained the situation, emailed my professors, and rushed back to the apartment.
Fortunately, I had renter’s insurance. I missed about a week of school to deal with the insurance matters and find a new place to live. In order to salvage my grades and sanity, I dropped a course and honored my existing student group and research commitments. Staying active socially and keeping myself well-rounded were the best healing tools for me. Within a few weeks, I was caught up and had recovered reasonably from the loss of sentimental items.
22. Do you or have you in the past experimented with illegal drugs?
No. My only addictions are caffeine and sugar.
23. Would you be willing to take a drug test?
Of course.
24. Do you drink alcohol socially?
No, but I enjoy Shirley Temples quite a bit.

click hear