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
How is the Bitmap checkpoint different from Image checkpoint?
Tell some commonly used Excel VBA functions?
How to use the object spy in quicktest professional (qtp) 8.0 version?
What are the different types of recording modes in qtp? Which will be used when?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?
Explain more about the Test Fusion Report of QTP?
write the vb script for call to new action in qtp?
In qtp, explain what is keyword driven automation framework?
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
How to define array in qtp?
Does QTP run in any environment?
Whether qtp 9.0 supports Test director8.0
Mention the test steps of qtp.
How to save your test using quicktest professional?