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 |
How to use output values in qtp ?
I Selected for TCS-Chennai(Contract to hire) position plz suggest me whether i have to join or not
how to compare two excell sheets by using vbscript??
Is it possible to test Flat file using QTP? I have two file- first file is Input file and second file is output file. Input file has Format like first 2 field is record type, next 10 field is Description. Output file also has format. I want to check this file format using QTP. Is it possible?? please reply with example.
What is RTM (require ment tracebulity marix) fromate?
How to retrieve the property of an object?
what is the difference between link and hyper link?
Hi, I want to write the script for a webpage. But i didn't added the properties of the objects to the object repository. Without adding the object properties to the object repository, how to write the script. When i am writing the script, Let us say i typed as Browser (""). after selecting ".", if the object is added to the object repository it will display atomatically. But in my case it is not as i didn't added the object properties. How to proceed further in the above mentioned case to write the script manually. Pls let me know if you didn't understand the question.
What is the limitation to XML Checkpoints?
How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions?
Can we do Load Teting with QTP?
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.