my assignment is,how can i differentiate between readed &
unreaded mails in my inbox ?, since for both readed &
unreaded having same properties for both test objects &run
time objects
Answer Posted / tvs ramakrishna chowdary
ya its possible by checking the object "webelement" html
tag property value
------------------------------------------------------------
htmal tag="B"
htmal tag="SPAN"
mail info generally as a webelement
set myreadwe=description.create
readwe("html tsg").value="B"
set myunreadwe=description.create
myunreadwe("html tag").value="SPAN")
all these read and unread mail web elements present in the
same frame underhierarchy as follows
cntread=browser(Gmail - Inbox (1) - krishnat.q).page(Gmail -
Inbox (1) - krishnat.q).frame(framname).childobjects
(myreadwe)
cntunread=browser(Gmail - Inbox (1) - krishnat.q).page
(Gmail - Inbox (1) - krishnat.q).frame
(framname).childobjects
(myunreadwe)
msgbox "total no of read mails :"&cntread
msgbox "total no of un read mails :"&cntunread
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
What are the types of properties that quick test learns while recording?
Generic function to search for the unique link in webtable and click on it
How is a Step generator used in UFT?
What is active screen?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
Define Environment Variable in UFT and its uses?
What are test settings and global settings?
What is the quicktest professional (qtp) testing process?
Can I change properties of a test object?
What is environment variable in qtp and why to use it?
What are the Application Functions available in QTP?
What is Unicode Compatibility?
What is quicktest professional (qtp)?