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
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
How many types of run modes are there in qtp?
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
if our qtp vb Script may be Currepted then What we want do?
hou can we use vb script in qtp could u tell me breafly
Which recording modes need more memory?
What are the challenges you faced during you entire life automation ?
What are output values and why they are used ?
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
Hi,All How to create a link in excel sheet using qtp
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
How many add-ins comes by default with qtp?
how to test Web application using QTP software
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question