Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how do check the links in a webpage ?

Answer Posted / deven mehta

Set desc = description.Create
Desc(“micClass”).value = “Link”
Set obj_link = Browser(“creationtime:=0”).page
(“title:=.*”).childobject(desc)
Msgbox obj_link.count
Datatable.globalsheet.addparameter”Link_Google”,”
For I=0 to obj_link.count –1 step 1
Datatable.setcurrentrow(I+1)
‘datatable(“Links_google”)=obj_link(i).getroproperty(“name”)
If NOT strcomp(datatable(“Link_Google”).obj_Link
(i).getroProperty(“name”) = 0 then
Reporter.reporterevent.micfail.”google_page”.datatable
(“Links_Google”)&”Not found”
End if
‘Mesbox obj_link(i).getRoporperty(“name”)
Next
‘Datable.export”C:\google_links.xls”

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we record using all the modes in a single script? Explanation with example is appreciated

1796


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

1882


What are the general steps involved in the data driven framework?

958


What are the recording modes in wave event?

1954


Describe how Smart Identification is used

2176


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

1478


What is a data driven test in qtp?

958


Hi How to retrieve data from web element line by line?

1994


How to record a qtp script ?

986


How to suppress warnings from the test results page?

961


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1783


Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

2334


What are the different types of checkpoints?

994


could any help me please, how to work on visual foxpro application using UFT

2283


How to test background color and dynamic images during run time can you put the check point for moving objects?

1860