Ehat is the descriptive programing in QTP?

Answer Posted / nath .t

Descriptive programming means we can write VB Script
without objective Repository. we can write program with
the help of object properties.

ex: if u want to write descriptive program for login page

login page have userid and password and ok, cancel button

every object have some common properties with that we can
write descriptive program suppose u take here login is
window.

Window have some properties like TEXT, ATTACHED TEXT,
NATIVE CLASS, WINDOW ID.....


same as for Text boxes having TEXT, ATTACHED TEXT, NATIVE
CLASS, WINDOW ID....

with the help of above properties we can write descriptive
program

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In qtp, how you can get the last character from a string?

556


How to find Operating system information using QTP script?

578


How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.

1693


What is output value? How many types of output values are there in qtp?

580


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

1627






how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

1677


Which features or drawbacks of QTP lead to the upgrade for a newer version?

576


How to use reporter.report event in qtp ?

559


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

1910


Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?

653


Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.

1392


How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is

6307


diff between qtp versions from 8.5

1571


How to record a qtp script ?

562


What are the types of object repositories? Which one is you are using?

634