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 to analyzing test results using quicktest professional?
How to test background color and dynamic images during run time can you put the check point for moving objects?
What is the virtual object?
Difference between copy to action and call to action?
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?
What is the use of Debug Viewer?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
What is the difference between local and shared object repository in qtp?
What is the difference in testing a client-server application and a web application?
What are the types of object repository?
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
How do you configure QTP AND Test director?
How does you pass optional arguments in qtp?
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?