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
Mention the different actions types of qtp.
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
What test you perform mostly? Regression or retesting in your testing process?
What is Port testing. Whhen will you perform?
How can i check items sorted or not in a weblist ? Give me the script for this...
What is ‘object spy’ and what is the function of object spy in qtp?
Explain the checkpoint in qtp?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.
What is output value? How many types of output values are there in qtp?
How to recognise the webelement and verifying that webelement is enabled?
what is supply chain management?
How to explain a banking project in interview as a test engineer???
How will internal and external links be validated and updated? how often?
How QTP support all types of applications (platforms)?