Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What the differences are and best practical application of Object Repository?

1142


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

2210


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?

1099


What are the Disadvantages of shared object repository?

1135


write script for bitmap image?

2042


regular expression in qtp standar check point for months from accepting months from january to december only

1900


How many tabs are available in debug viewer pane?

1112


What are the challenges you faced during you entire life automation ?

1521


i can done the project with QTP in that time i can say how many members in my team size?

1922


What is reusable action?

1104


QTP script is not working on other's machine..

1989


can anyone tell me from where i can download qtp demo or crack version

2009


what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana

1943


How will you handle java tree in qtp?

1119


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?

1107