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

How will you check a web application for broken links using qtp?

1073


How to handle Java tree in QTP?

1396


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

2070


can any body give the banking domain concepts/links

4112


whow much strong on VB and C?

2000


In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?

2075


How the smart identification is used in real time?Please explain with an example

2101


Explain the concept of object repository and how quicktest professional recognises objects?

1071


What is the Difference between copy to action and call to action?

1183


What is ‘object spy’ and what is the function of object spy in qtp?

1173


write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading

1924


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

2705


in my application,validation message has in japanise language.how to validate this message is appears properly or not

2111


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

2433


How can we conduct U-I Testing by using QTP??????

1937