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?

Answers were Sorted based on User's Feedback



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

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

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

Answer / saff

if u insert pagechekpoint to thatpage it will show all the
links and thier sourses

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

Give me an example where you have used a COM interface in your QTP project?

1 Answers  


What is the file extension of the code file and object repository file in QTP?

0 Answers  


How we test the logo or images in the web page using QTP? For example take google page, they change their logo for new year,christmas etc..How we test that? Plz answer this question... Thanks in advance..

2 Answers  


What is smart identification?

2 Answers   AZTEC,


1.How to find in which row or column,string "Hyderabad" exist in excel sheet? 2.How to find how many times character "a" repeated in a given string "Koteswararao"

6 Answers   Ness Technologies,






Hello, I am facing problem to check textpoint for mercury application . I have inserted checkpoint to check flight summary for place of departure and arrival with datatable and script look like "Browser("Find a Flight: Mercury").Page("Book a Flight: Mercury").Check CheckPoint("Book a Flight: Mercury_4")" but while I am executing this script at last my check point gets fail and display Text Checkpoint: captured "" between Summary and 4/31/2008FLIGHT , expected "Acapulco" Match case: ON Exact match: OFF Ignore spaces: ON I think value from data table is not fatched so please guide me what I have to do to overcome this problem.. Thanks

0 Answers  


What will be happen if i load object repository at run time, but it has already associated.

0 Answers   NTT Data,


How did u write macros?What is the main importance of VB macros in testing environment?

1 Answers  


how to convert 100 into hundred repees only and viceversa

0 Answers  


Hello Everybody, Please tell me can we create Test Plan in QTP? This I am asking irrespective to integrating with Test Director.I mean is there any option to create Test Plan in QTP itself. Thanks, Gaytri

4 Answers  


how to invoke the web application through script in qtp

8 Answers   Synechron,


What is environment variable in qtp and why to use it?

0 Answers  


Categories