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

How u do the back end testing in QTP?

2 Answers   HP, SunGard, TCS,


Hi any body can tell me the in detaled information about Description.Create() thanks in advance

2 Answers  


How did u write macros?What is the main importance of VB macros in testing environment?

1 Answers  


How many lines of code in each script of QTP?

0 Answers  


What is the difference in testing a client-server application and a web application?

0 Answers  


Hi I am working with QTP.If I want to write a certification exams,Which one is the best one suggest me friends!!

2 Answers  


In qtp, how you can remove the spaces from string?

0 Answers  


how can we merge the object repositories?is ther any option in qtp to merge the object repositories if we have two or three object repositories?

6 Answers   IBM,


How to use Regular Expressions in QTP? give an example.

10 Answers   ABC, Accenture, Ordain Solutions, SCL,


Hi Friends,I hav Just finished QTP course.Can any body suggest me which is the best place to go and post resume(Ban,Chennai,Pune,Mumbai,NCR,Kolkata).I mean how r calls in these cities,the best one?

3 Answers  


In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!

0 Answers  


In a yahoo web Application there are 65 links.one day it will opens 50 links and another day it will open 55 links.In this scenerio write Descriptive programing for Automation?....Pls write the code for this scenerio.

1 Answers   College School Exams Tests, UHG,


Categories