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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / tvs ramakrishna chowdary
ya its possible by checking the object "webelement" html
tag property value
------------------------------------------------------------
htmal tag="B" 'for to count unread mails
htmal tag="SPAN" ' for to count read mails
mail info generally as a webelement
set myunreadwe=description.create
myunreadwe("html tsg").value="B"
set myreadwe=description.create
myreadwe("html tag").value="SPAN")
all these read and unread mail web elements present in the
same frame underhierarchy as follows
cntunread=browser(Gmail - Inbox (1) - krishnat.q).page
(Gmail -
Inbox (1) - krishnat.q).frame(framname).childobjects
(myunreadwe)
cntread=browser(Gmail - Inbox (1) - krishnat.q).page
(Gmail - Inbox (1) - krishnat.q).frame
(framname).childobjects
(myreadwe)
msgbox "total no of read mails :"&cntread
msgbox "total no of un read mails :"&cntunread
| Is This Answer Correct ? | 0 Yes | 0 No |
Hi, Can anyone help me in esimating time for an application using QTP tool.. What factors should be considered while calculating the estimation time for QTP... Thanks in advance... Prasad Gali
how to write script in qtp(vbscript)..i mean with out application deployed..and how to call script1 into script2?
8 Answers INCA, Infosys, Logix, SLK Software, Symphony, Wipro,
What are the three challenges U faced during automation testing of your application.
write a script to verify the image path(src property) of the images which are in web pages.
How do u connect database through QTP tell me both Ms Access and SQL
How to do call a output parameter from one action to another action??/
Hi All, I need code for how to execute qtp scripts from excell sheet
Give me some scripts for 1). checking webpage links (counting links,opening web pages,counting child elements)
hi i am new to qtp i need to run all files by a batch what is the procedure and what are following actions to be take?
Do we have to Enable Smart Identification while running Or will it automatically be enabled ?
can any one say that where we can download the QTP trail version ??????????
Hello friends..... On which areas of an application we can not test with QTP
0 Answers Thatavarti Technologies,