nanda.d reddy


{ City } bangalore
< Country > india
* Profession *
User No # 6256
Total Questions Posted # 1
Total Answers Posted # 107

Total Answers Posted for My Questions # 5
Total Views for My Questions # 9073

Users Marked my Answers as Correct # 292
Users Marked my Answers as Wrong # 124
Answers / { nanda.d reddy }

Question { Polaris, 8323 }

What is deference between normal QTP testing and
descriptive programming?


Answer

i think ur question might be difference between actual
programing and descriptive programming in QTP? if it is ur
question...

when u r writing script in QTP u should store all the
objects in Object Repository.
for example:
Browser("XXX").Page("XXX").WebEdit("XXX").Set "XXX"

here the browser, page, WebEdit objects should be stored
in Object repository. then only it works, else it wil throw
an error.
when u store objects in OR, some of the properties of
that object will store in OR to identify that object.

but in descriptive programming no need to store objects in
OR. it means writing and executing ur scripts with out using OR.

for example:

Browser("Name:=XXX").Page("Title:=XXX").WebEdit("name:=XXX").Set
"sss"

here the properties of objects are throwed in to script. so
no need to store those object OR.

still not getting? mail to : nanda.dreddy@gmail.com

Regards..
Nanda

Is This Answer Correct ?    14 Yes 0 No

Question { HealthAsyst, 10990 }

How do you invoke any application and write a script to
invoke QTP using VB Script.


Answer

TO Launch IE using VB Script:

Set IE=CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.Navigate "www.google.com"

else

systemutil.run "iexplore.exe","www.google.com" (This is not VB Script, this is QTP builtin method)

But i dont understand that "when QTP is providing builting feature why do we need put more effort to write extra script instead using tool features" ( Why interviewers dont ask which are usefull)

Is This Answer Correct ?    1 Yes 1 No



Prev    1   2   3   4   5   6   7    [8]