Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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.



Hi Guys, In one of my interviews, I was asked to Write a paragaraph explaining how much scripting..

Answer / sreeprasad

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,

2nd answer

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

3rd answer

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 Correct ?    3 Yes 0 No

Post New Answer

More QTP Interview Questions

When u ll use Record Button in QTP?Is VB script is Mandatory in QTP? What is Meaning of Frame("v1")?

1 Answers   TCS,


How to test the mandatory fields in QTP?

1 Answers   SoftSolve, TE,


I'm having a problem to get the status(pass or fail) during runtime for every iteration ran, and must get the results stored to an excel sheet if possible.

1 Answers   FAI,


How u call functions in QTP Function to calculate the length of characters in a word -

5 Answers  


what is the difference between xmlutil and xmlDOM in qtp?

2 Answers  


PLS REAL TIMERS WRITE THE ANS FOR THIS? WHICH SCRIPT IS USED IN REAL TIME NOW A DAYS 1)SHARED REPOSITORY BASED SCRIPT 2)DESCRIPTIVE PROGRAMMING BASED SCRIPT?

1 Answers  


what is the difference between link and hyper link?

1 Answers   Ordain Solutions,


What is the new version of qtp which is recently released in the market?

0 Answers  


Is it possible to test Flat file using QTP? I have two file- first file is Input file and second file is output file. Input file has Format like first 2 field is record type, next 10 field is Description. Output file also has format. I want to check this file format using QTP. Is it possible?? please reply with example.

2 Answers   Wipro,


Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?

0 Answers   CTS,


In qtp, how you can exit for loop?

0 Answers  


what is the default ordinal identifier.what are the send keys in qTP.

1 Answers  


Categories