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 should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
when to start the automation?
How to break the object spy ?
wht type of User defined functions or Java Releated functions Do we write in VB scripting
How to carry out bit map check points in QTP
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
What is the difference between Keyword Driven test and Data Driven test?
Does quicktest professional is unicode compatible?
They asked by using qtp recording writing scripting
When to use shared and local object repository?
whare exactly we have to use functions and sub routain
What is the difference between run time object and test object in QTP?
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?