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 / santhosh
Set a = Description.Create
a("micclass").Value = "Link"
Set b = Browser("name:=Yahoo! India").page("title:=Yahoo!
India").ChildObjects(a)
msgbox b.count
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
what is clean sweep?
What is different command used in command Prompt while using QTP?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
can u explain relative path architecture framework in qtp?
what is the latest version of QTP? Main difference between 9.2 and 10 version
What is a Patch in QTP?
what is description object?
What is the difference between run time object and test object?
How to analyzing test results using quicktest professional (qtp)?
Both static and dynamic arrays are handled by the vb script. Is it true?
How many types of recording modes in qtp? Which will be used when?
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma
How to record a qtp script ?
What is difference between shared and local object repository?