Is it possible to refer the same object for referring more
than one object that are of different class using the
descriptive programming approach?

Suppose my code is

'To create the object named as obj
Set obj=Description.Create()

'To define the values
obj("title").value="IE"
obj("type").value="text"
obj("html tag").value="INPUT"

'To set the value
Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz"

Can I refer the "obj" object for the three objects like
Browser,page and webedit objects?
If so how?



No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More QTP Interview Questions

Can any body explain me how to prepare QTP frame work with an example?? alexander.gdk@gmail.com

1 Answers  


why do we go for Test Automation?

2 Answers  


What is difference between web object and web items

2 Answers   Patni,


Explain calling sub procedure.

0 Answers  


What does VBS file contain?

1 Answers  






results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file

1 Answers  


How many types of recording facility are available in QTP?

1 Answers  


how to create the varibles and how these are connect to qtp? plz tell me

3 Answers  


How to record object in runtime. I am testing one Image website in which every time image change on home page.so if i records the image list but during running image get change, and QTP gives error

1 Answers  


how can we preform retesting(DATA driven test) using function please gine the code for loginpage

0 Answers   W3 Solutions,


what type of scripts are asked in qtp?

2 Answers  


How to Test the mainframe application?

0 Answers   Unisys,


Categories