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 to use import and export sheet methods in qtp

1 Answers  


Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks

0 Answers  


Can we use same virtual objects in many number of tests?

1 Answers   TCS,


write a regular expression pattern for xyz?123?

1 Answers   FAI,


How to use actions in qtp ?

0 Answers  






Explain about Hybrid Framework

2 Answers   IBM,


how to click the link in webpage by using QTP Script????????

3 Answers  


Can we Script any test case with out having Object repository? or Using Object Repository is a must

3 Answers   Crea,


How we can merge the object repositories?say if we have 2 or 3 object repositories then how we can merge them?Is there any option in QTP to merge the object repositories?

2 Answers  


Hi,iam new to automation and i have 1 year experience in manual testing.I have a little bit idea about QTP9.0 .But i have no idea about script writing using VB.Please help to learn script writing.

1 Answers  


What is the difference between link and hyperlink?

1 Answers  


when u script reveiwing in which area u more concentrates?

0 Answers   IBM,


Categories