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)?
Answers were Sorted based on User's Feedback
Answer / 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 |
If without using object repository and object spy for identify the object then first i will record the test script(application)
| Is This Answer Correct ? | 0 Yes | 2 No |
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
write generic functions for webapplication?like generic function for webedit generic function for webbutton generic function for links
how to write vb script code for login gmail page by using notepad and how to run script in notepad
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
How do display output message without using msgbox function?
write a vb script to generate the following pattern ***** **** *** ** *
When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?
What is the technology used by vb script?
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
how to add the shared repository file to the script file while running the script manuall
How do you create a recordset object in VBScript?