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 |
Why do we use text checkpoint as we can make use of the same in the standard check point?
what is the difference between Automation object model(AOM) and test object model(TOM)
waht is the difference between QTP 8.2 and 9.0 version
15 Answers AppLabs, CTS, Polaris,
Check point what is how many types of checkpoint and explain
Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a parent object for a "Link" in a web page. thanks
can u please explain what r the challenges u faced in ur automation testing
How qtp identifies objects?
anyone can explain the following concepts. 1.diff b/w Linear and modular framework 2.diff b/w keyword and hybrid framework
IF THE GUI OF APPLICATION IS CHANGED THEN IS THERE ANY NECISSITY TO CHANGE OR UPDATE OUR TEST SCRIPTS
How do Parameterization and Data-Driving relate to each other in QTP?
Can we record a video in qtp recording??
How many add-ins comes by default with quicktest professional?