How to get Links count in an web application,without
descriptive programming?

Answer Posted / priya

here is an example to get the link count in google page
Just try out this

SystemUtil.Run ("www.google.com")
Set Links = Browser("title:=.*").Page("title:=.*").Object.Links
Msgbox "Total links: " & Links.Length

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Shall we add Local Repository to shared object repository,if yes,how we add

5712


How many types of recording modes are there?

600


Does Low-level recording capture mouse movements?

586


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

1452


What is text/text area checkpoint?

565






Explain about datafile/verification of date file when file is not available in local system?

2232


How QA specialist can identify when programmatic descriptions are useful?

1974


What is the quicktest professional (qtp) testing process?

572


How to use transactions in qtp?

565


What are advantages of test automation?

672


Explain the features and benefits of quick test pro(qtp)?

519


Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?

2146


what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”

1491


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

1362


When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti

2492