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
How many types of run modes are there in qtp?
How did you use regular expressions in QTP and also in WR?
What is qtp window?
in my application,validation message has in japanise language.how to validate this message is appears properly or not
Explain about the test fusion report of quicktest professional?
How to carry out bit map check points in QTP
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
Hoe can we do retesting using functions please give the code for it using login page
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
Explain sub procedure of vbscript.
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?
how did u use automating testing tools in ur job?
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
Hi All, How to Compare two strings character by character in QTP
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com