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
Hoe can we do retesting using functions please give the code for it using login page
What is the registration process and examination fees?
1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)
In qtp is it possible to check broken links of a page?
Which scripting language used by quicktest professional (qtp)?
Tell me about your project? please help me how to tell about insurance project
how do i know how to use tools
any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in
Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
What is parameter in qtp?
What are the trigger events in qtp?
What is expert view and keyword view?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
What is quick test pro? What is a quick test professional?