GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 430 of 691    Print  
Hi Guys, In one of my interviews, I was asked to Write a paragaraph explaining how much scripting I did in QTP? I don't know where to start and what to write. So I need your help in writing that.

Thanks
Dachepally

  
Total Answers and Comments: 6 Last Update: December 19, 2006     Asked by: Dachepally 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 08, 2006 05:48:12   
vasavi Member Since: July 2006   Contribution: 13    

RE: Hi Guys, In one of my interviews, I was asked to W...

Hi Dachepally

I think in order to test your skills in QTP they must have asked like that.You must have taken one screen in your project and must have written Script for that.For Example i think you are familiar with Login page which has the username and password textfields with Login Button.

Step1:

Open QTP and load the Webaddins and VB addins if required.

In New test First Learn the Objects Username textfield Password textfield Login button of that Login page using Add object Concept in Object Repository and adds the objects information to the ObjectRepository.

Step2:Go to Expert view and then start writing the Script as

Browser( Login ).Page( Login ).WebEdit( username ).Set username --- 1

1--- this script enters the data username into the username field by placing the cursor to the username field which is in the page Login of Browser Login

Browser( Login ).Page( Login ).WebEdit( username ).SetSecure password -2

2--- this script enters the data password in secure format in the password field by placing the cursor to the password field which is in the page Login of Browser Login .

Browser( Login ).Page( Login ).WebButton( Login ).Click

---this script clicks on the Login button by placing the cursor on the Login button which is in the page Login of Browser Login.

This is how you need to explain the script what you have written.

Regards

Vasavi


 
Is this answer useful? Yes | No
December 11, 2006 05:29:47   
KodumuruRamesh        

RE: Hi Guys, In one of my interviews, I was asked to W...

Hi Vasavi

Your Answer is 100 perfect for this Question.

kodumururamesh@yahoo.co.in


 
Is this answer useful? Yes | No
December 12, 2006 15:18:59   
Jenita Member Since: November 2006   Contribution: 8    

RE: Hi Guys, In one of my interviews, I was asked to W...

vasavi you mentioned we have to learn the object that sounds like WinRunner i think we don't have to learn the object in QTP.


 
Is this answer useful? Yes | No
December 13, 2006 01:52:36   
vasavi Member Since: July 2006   Contribution: 13    

RE: Hi Guys, In one of my interviews, I was asked to W...

Hi Jenita

Learning of objects is same in any functional testing tools either WinRunner or QTP.

While recording the actions on objects it will automatically learn the objects information.But this is not the appropriate thing when we follow Automation architecture. The first step in any automation Architecture is to learn the objects in your application then do the remaining....

Jenita

If u have any doubts regarding this you can feel free to ask me.

Thanks and regards

Vasavi


 
Is this answer useful? Yes | No
December 13, 2006 02:33:05   
Kumar L S        

RE: Hi Guys, In one of my interviews, I was asked to W...

Hi...

Scripting is not the recorded lines that appears in the main window of QTP Screen. He means to say any programming that you have added into your recorded lines .

You can give this example:

You can tell them that you have used some Condition Statements to check the records in your database.

IF Condition THEN

Reporter.reportevent -------

END IF

Regards..

Kumar L S (kumar_ait@rediffmail.com)


 
Is this answer useful? Yes | No
December 19, 2006 14:13:05   
Nadem Sharifuddin        

RE: Hi Guys, In one of my interviews, I was asked to W...

1# Scripting in QTP is about working in expert view.

2# Creating User defined Functions using VB Scripts.

3# Using Conditional loops.

4# Manipulating with Functions Test objects and Utilities.

5# Creating Libraries creating startup script creating init script.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape