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 can you create an object in vbscript?
1)How to test whether items in a weblist are in alphabetical order or not?
write a vb script to display 3*3 matrix
What is vbscript?
Write a Script for ATM in QTP
What are the environments supported by vbscript language?
Explain the filter expression?
How to create MSAcess table foriegn key
We have an application which is built using multiple technologies and are using QTP as the tool for Automating the same. While we spy over a combo box in this application, we get the object name as a "Combo Control" and we are not able to perform any action over this object in either selecting or checking any method for the same like "Exist" etc. Hence we thought of a solution and the same can be found below
How to map test cases with Automation script? Please explain in details.With example Thanks for your co-operation(In Advance)
Mention how to access array data?
When to use function procedures and what are its characteristics?