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
How will you format a number in percetage format in vbscript?
about vb scripting programs this type of all question& answers
What are the different types of loops available in the vbscript language?
How to add actions in driver script to run those actions in QTP?
What is the difference between vbscript and vba?
Description.Create
What is the difference between javascript and vbscript?
Explain the support of asp for vb script functionality?
How will you release the memory acquired by an array variable in vbscript?
filter the array values without using filter function?
Mention what is variant in vbscript?
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
how to increasing the numbers in a given text box please write a vb script
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
Which operator can be used to check if two numbers are equal or not in vbscript?