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 the process to follow between writing the test cases & then atomating it?
What is the BPT(bussiness process testing ).and what is the main difference between BPT and QTP
3 Answers EDS, GL Noble Denton, IIST,
Can we do Load Testing with QTP?
can anyone please tell me what are all the shortcut keys used for qtp9.2? Thanks in advance..i expect ur valuable reply that help us our team???
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
wt is memory leakage?
How do Parameterization and Data-Driving relate to each other in QTP?
What is a Run-Time Data Table? Where can I find and view this table?
what are the mandatory properties in qtp? what are the library functions in qtp?
how do find current links in webpage for ex: in yahoowebsite today mainpage is having 50 links and next day same page is having 60 links. if i run same programe it should display total links in webpage ?
any body want to learn qtp with real time concept on Banking domain contact ciraaj@gmail.com
when a test case is written how u test using qtp