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

How to write script to display a message box having
the "Date" value of the fourth mail(yahoo account).
I've tried it with the web table concept but the content
doesn't get displayed?
Please help me out to resolve this :-)

Answer Posted / amarendra kothuru

In Yahoo mail, if you want to fetch the Date of the four row
(mail), use the following code

E.g: Using record and playback
msgbox Browser("Yahoo! Mail - amar_kothuru@yah").Page
("Yahoo! Mail - amar_kothuru@yah").WebTable
("Sender").GetCellData(4,9)

E.g.:Using Descriptive Programming
msgbox Browser("name:=Yahoo! Mail -
amar_kothuru@yahoo.co.in").Page("title:=Yahoo! Mail -
amar_kothuru@yahoo.co.in").WebTable
("name:=toggleAll").GetCellData(4,9)


Why you are not able to fetch the date value is

Sometimes QTP gives invalid column count of the webtable
and if you follow the same, you can't able to fetch all
column values.. So try different combinations of column
numbers(more than actual columnCount) and get the results.

When you add Webtable object to object repository and it
shows the column count as 7. I think, you tried upto the
column number 7. But if you pass the column number as 9,
you could get the date value. if pass column number as 10,
you would get Size value.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of run modes are there in qtp?

1034


How did you use regular expressions in QTP and also in WR?

2641


What is qtp window?

1002


in my application,validation message has in japanise language.how to validate this message is appears properly or not

2057


Explain about the test fusion report of quicktest professional?

947


How to carry out bit map check points in QTP

2197


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

7531


Hoe can we do retesting using functions please give the code for it using login page

1945


tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?

2163


Explain sub procedure of vbscript.

1053


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

968


how did u use automating testing tools in ur job?

1979


Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version

1843


Hi All, How to Compare two strings character by character in QTP

1504


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

2233