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
What the differences are and best practical application of Object Repository?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
What are the Disadvantages of shared object repository?
write script for bitmap image?
regular expression in qtp standar check point for months from accepting months from january to december only
How many tabs are available in debug viewer pane?
What are the challenges you faced during you entire life automation ?
i can done the project with QTP in that time i can say how many members in my team size?
What is reusable action?
QTP script is not working on other's machine..
can anyone tell me from where i can download qtp demo or crack version
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
How will you handle java tree in qtp?
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?