what is descriptive.create()in qtp?
Answers were Sorted based on User's Feedback
Answer / ani
To create properties collection and we can create
properties object(MYDescription).once we have filled
properties collection with a set of properties objects
(properties,values) we can specify properties object in
place of an obj name
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / rashmi jaiswal
Set objdesc = Description.Create is used to create an object from which we can get child objects from any page like number of links present in a page or number of browser opened.
Ex:-
Set objdesc = Description.Create
objdesc("micClass").value ="Link"
Set childObj = Browser("Anyproperty").Page("Anyproperty").ChildObjects(objdesc)
print childObj.count will give you number of links present in the page.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / m dora babu
Incase, Two objects are same , While recording the
application, and adding the objects in the Object
Repository of application then we have to use Descriptive
Programming.
Below:
Property assign a property value
EX:-
Browser("Flight").Page
("Height:=22","Widht:=71","Classname:=FlightPage").Exist
M Dora Babu S O N T A S O F T W A R E
BANGLORE Mail me @ mdorababum@gmail.com
| Is This Answer Correct ? | 0 Yes | 4 No |
What is meant by Environmental variables?2 types r there know…can u pls explain clearly?
In ordinal identifier there r 3 options available. Which one will be enabled first when ordinal identifier is invoked.
what is profile tool?
Can u call winRunner scripts from QTP?
i want know iam working 2+ exp in QTP can i do performence testing (eg:loadrunner) yes r no?
HI, Anybody can explain Automation Test Framework...and wht do we do before start of Automation.....
Regular expressions..... Actually how to use this and what is the exact syntax and can anybody can help me out this with example.is there any docs pls send to my mailid rvreddy82@gmail.com
Suppose u run ur script today and it is working fine ,nobody has changed the setting and all.u r the owner for the script. But when tomorrow I ran the same script again it got failed and It didn't able to identify one object. Can you tell me what would be the reason for this
I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.
What is the file extension of the code file & object repository file in QTP?
What is throw object?
What are the key elements available in test result window?