Gmail application is there.On that Inbox so many mails are
there including naukari mails.
On that mails i can select the only naukri mail checkboxes.
plz tell the descriptive code for the above..

Answer Posted / ashok kumar

Browser("Micclass:=Browser").Page("Micclass:=Page").WebEdit("name:=Email").Set
"<Email>"
Browser("Micclass:=Browser").Page("Micclass:=Page").WebEdit("name:=Passwd").Set
"<Pwd>"
Browser("Micclass:=Browser").Page("Micclass:=Page").WebButton("name:=Sign
in").Click
Browser("Micclass:=Browser").Sync
rowcount =
Browser("Micclass:=Browser").Page("Micclass:=Page").Frame("html
id:=canvas_frame").WebTable("class:=F cf zt").RowCount
For currentrow = 1 to 10'rowcount

mailsubject =
Browser("Micclass:=Browser").Page("Micclass:=Page").Frame("html
id:=canvas_frame").WebTable("class:=F cf
zt").GetCellData(currentrow,3)
If mailsubject = "Naukri.com" Then

Set oChkbox =
Browser("Micclass:=Browser").Page("Micclass:=Page").Frame("html
id:=canvas_frame").WebTable("class:=F cf
zt").ChildItem(currentrow,1,"WebElement",0)
oChkbox.Click

End If

Next

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parameter in qtp?

686


Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com

1459


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

1368


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3280


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))

1510






How to capture all the data of a webtable, weblist and combolist using QTP?

2862


How qtp recognizes the object?

681


Whats the realtime QTP testing process

1995


What is the recovery scenario in qtp?

579


How do we handle run-time errors?

592


What is action? How many types of actions are there in qtp?

622


How to use actions in qtp ?

593


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

1680


How many types of recording modes in qtp? Describe each type with an example where we use them?

627


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

1514