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 / bfakruddin

exp="Link Name" '''

' You can get LINK Properties from any where.... Like
passing parameter value from external source like
DataTable, Environmental Variables, Externally
using "inputbox", etc.,

dim des

set des=description.create

set lnk=browser("...").page("...").childobjects(des)

for i=0 to lnk.count-1

act=lnk(i).getroproperty("outerhtml")

'act=browser("....").page("....").link("...").getroproperty
("outerhtml")

if (exp=act) then

reporter.reportevent micpass,"Link is found","Test is
passed"

End For

else

reporter.reporterever micFail,"Link is not found","Test is
Failed"

End if

Next

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain more about the Test Fusion Report of QTP?

1085


Is QTP supports Unix. If yes, then how the test automation is done?

2235


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????

2223


what is meant by Implicit and explicit requirements?

4170


What is the quicktest professional (qtp) testing process?

1061


What is the use of text output value in quicktest professional (qtp)?

1091


Name the different types of recording modes?

1075


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

2014


What is text/text area checkpoint?

1113


Is text area check point supports for web applications?

1019


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

2093


How to use output values in qtp ?

1066


How qtp recognizes the object?

1277


Explain the difference between call to action and copy action?

1033


How many types of recording modes in qtp? Describe each type with an example where we use them?

1094