How Exactly we can find out the INDEX No. of any object of
an application when we test that application in QTP? Explain
this by giving me the example of all LINKS of G-Mail
(including home page, User-account page and all possible
pages you ever seen in G Mail)?????? and if your answer is
that as per appearance of objects(LINKS) in application we
can find out the index number in application then tell me
how you find out which object(LINK) having INDEX No. 1,2,3
and so on and how you say which object(LINK) is appeared
first and which is last?
Answer Posted / ira
Set oLinks = Description.create
oLinks("html tag").value="A"
oLinks("visible").value=True
oLinks("outerhtml").value= "<A class=l.*"
set tLinks = Nothing:
set tLinks = Browser("name:=.*Google.*").Page
("title:=.*Google Search").ChildObjects(oLinks)
a= tLinks.count
For i=0 to tLinks.count-1
strUrl ="" : strUrl = tlinks(i).GetROProperty("innertext")
Next
Is This Answer Correct ? | 1 Yes | 10 No |
Post New Answer View All Answers
Explain the concept of object repository?
Define Error Pane of UFT?
What are the factors on which script execution time is dependent?
What is the difference between qtp and selenium?
Explain runtime dynamic settings?
How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
How to analyzing test results using quicktest professional?
How to create runtime property for an object?
How can I import environment from a file on disk?
What are the ordinal identifiers in web page?
Does Low-level recording capture mouse movements?
How many types of recording modes in qtp?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent