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...

write a script to verify the image path(src property) of
the images which are in web
pages.(do it by Descriptive method by creating a
description object)

Answer Posted / amiricks

Hi friends i am using a website named www.indiabells.com to
answer this please do correct me if i am wrong


Dim ObjBsr,Pg,Img,Val,Val1
Set ObjBsr = Description.Create
ObjBsr("name").value = "India Bells: Latest Indian
News,Online News Updates,Breaking News"

Set Pg = Description.Create
Pg("title").value = "India Bells: Latest Indian News,Online
News Updates,Breaking News"

Set Img = Description.Create
Img("image type").value = "Image Link"
Img("alt").value = "Murder 3 Music Out"

val = Browser(ObjBsr).page(Pg).Image(Img).GetROProperty("href")
val1= Browser(ObjBsr).page(Pg).Image(Img).GetROProperty("src")
msgbox val
msgbox val1

Regards
Amit

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In qtp, explain what is keyword driven automation framework?

1047


Can any body please tell me the steps of keyword driven framework of QTP.

1966


How software tester can use constants and variables in scripts?

2231


How do you create regression test packs?

1196


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

3880


How to run a test using quicktest professional?

966


Should have experience in framework means?

1883


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

1028


Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)

1901


What is quick test pro? What is a quick test professional?

1093


How to modify object property in qtp ?

999


Both static and dynamic arrays are handled by the vb script. Is it true?

1031


How to execute a winrunner script in quicktest professional?

1021


What is standalone database?

2267


How do Parameterization and Data-Driving relate to each other in QTP?

1055