How do you test the different ads displayed in the Inbox
home page of Yahoo.

Once u login Yahoo mail, in inbox page there will a banner,
where different ads are scrolling, how do you test that
using qtp?

Answer Posted / tathagata mukherjee

By Using Descripttive programming you can resolve this
proble.

set img_obj =Description create
img_obj("html tag").value="IMG"
img_obj("class name").value="Image"
img_obj("image type").value="imagelink"

Browser("title:=.*").Page("title:=.*").Image
(img_obj,"index:=*").click

It will the generic code to click any image link

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

your coming from electrical backgroung..but y ur coming to software side?

1579


UFT 12.02 which ALM version will support

1214


What is QTP scenario.

1932


Define Environment Variable in UFT and its uses?

810


What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)

1238


How to associate shared object repository to test in qtp?

742


Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.

3643


i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

1755


what could go wrong with test automation?

1778


How you calling actions in qtp?

841


QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue

5885


What are the key points to create a framework in QTP for oracle forms?

2028


How to modify object property in qtp ?

783


can u explain relative path architecture framework in qtp?

1782


How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric

1885