in qtp how i can retrive from a browser how many links are
there.means total no of links used in a browser
Answer Posted / rajanikanthreddy
set desc=description.create()
desc("html tag").value="A"
set a=browser("name:=Book Store").page("title:=Book
Store").ChildObjects(desc)
print a.count
For i=o to a.count-1
b=a(i).getroproperty("text")
print b
next
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
If you are testing a web application then what will you test in that application?
When to use descriptive programming?
What are the Test design techniques you uses in ur project?
Your roles and responsibilities and daily tasks? (As automation tester)
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
If I give some thousand tests to execute in two days what do you do?
What are test settings and global settings?
What are the different types of recovery operation?
what r the main attributes of test automation?
How will you report the bug and explain the defect tracking sheet you handled?
whow much strong on VB and C?
Which environments does qtp support?
what is supply chain management?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code