Consider there are objects in a webapp which are identified by QTP. Suppose you know only the logical name of a object(absolutely nothing else about it). Which approach will you take to find the "micClass" of the object(You can't use Object Spy, or can't add the object in repository)?
Answer Posted / lok nath
actually we ll use the descriptive programing because we know the logical name of the object so. suppose i am having web button and i know logical name then what we ll do.
set odsec = description .create
odsec.Add "micclass","WebButton"
Set str name=Browser("tittle:=*"). page("tittle:=*").childobject(odsec).GetRoProperty(name)
print str name
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
who will create the object?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
how to write validation function for date in vb script
How do i automate a website www.flyashx.com without having any test cases witin a week time.
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
When to use function procedures and what are its characteristics?
Which data type/types are supported by vbscript language and what are their specialties?
Which function is used to perform string comparison?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com
give me any information abou vb script books learn quckly
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
Explain about the functionality of vb script?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
How can you destroy an object in vbscript?