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..




Answers were Sorted based on User's Feedback



Gmail application is there.On that Inbox so many mails are there including naukari mails. On that ..

Answer / 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

Gmail application is there.On that Inbox so many mails are there including naukari mails. On that ..

Answer / muthukaruppiah

select * from inbox where naukari=nanukari;

Is This Answer Correct ?    4 Yes 21 No

Post New Answer




More QTP Interview Questions

What is the difference between wait and synchronization point?

3 Answers  


How to handle run time errors?

7 Answers  


how to run the script If QTP tool not identify object in web page

2 Answers  


can the activities of test case design be automated?

0 Answers  


hi,which is the best book to refer QTP 9.2 and Faq's.

2 Answers  






1. Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). 2. Using descriptive programing, how do you handle changing URLs. Pls anyone, very urgent

2 Answers   Infotech,


Write a function which returns the addition of two numbers. give the value of the numbers outside the function.

3 Answers   SAP Labs,


What r the advantages of automation?

3 Answers  


What is different command used in command Prompt while using QTP?

0 Answers  


please tell me how to identify the index of the link in the web table .links are not constant.example i want to click the link in the inbox ,search the item and click the partcular mail.(mail links count is not constant)

1 Answers   IBM,


what type of scripts are asked in qtp?

2 Answers  


Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

0 Answers  






Categories