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
In qtp, explain what is keyword driven automation framework?
Can any body please tell me the steps of keyword driven framework of QTP.
How software tester can use constants and variables in scripts?
How do you create regression test packs?
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
How to run a test using quicktest professional?
Should have experience in framework means?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
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?)
What is quick test pro? What is a quick test professional?
How to modify object property in qtp ?
Both static and dynamic arrays are handled by the vb script. Is it true?
How to execute a winrunner script in quicktest professional?
What is standalone database?
How do Parameterization and Data-Driving relate to each other in QTP?