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" '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 |
Post New Answer View All Answers
To which environments does quicktest professional supports?
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
what is output value in QTP and how it can be used in automation testing
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)
Hi All, I need code for how to execute qtp scripts from excell sheet
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
What r the different filters in defect in quality center
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
What is the XML file architecture ?
What is the standard timing delay for web based application in qtp?
how to find that tools work well with your existing system?
Can we run multiple QTP scripts one after the other without manual intervention? How?
any body can you help me what is the script to automate an comand promt