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

I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

0 Answers  


what is the difference between invoke application and system.util.run

24 Answers   HP, Syntel,


You have an application version 1 with 5 combo boxes, Developers develop version 2. Here they replaced bottom 3 combo boxes with each other. While executing the Test script for version1 no errors. When we execute the Test script for version2 that QTP showing the error message "Object not identified" remember no property changed in version 2, ordinal identifier also disabled. Find what properties might change here in this scenario

6 Answers   ADP,


How to make "TEST Batches" in manual testing . How it is possible plz explin in detail?

1 Answers  


How to export data present in Datatable to an ".xls" file?

1 Answers   Crea,






How to convert non-reusable action into reusable action in QTP?(i know by default QTP will take it as a non-reuable action )(Chandana) plz urgent?

4 Answers   Wipro,


how to pass parameters from one action to another using output parameters I am not calling action 2 from action 1, they are being called individually I need syntax please .. Requirement: Action 1 customer = Browser(" ").Page(" ").Link(" ").GetROProperty("value") I want to use the value stored in customer in Action 2 I do not want to use any of these actions as re-usable actions

2 Answers  


Syntact for how to call one script from another? and Syntax to call one "Action" in another?

1 Answers  


What is object repository?

3 Answers  


What is optional step in qtp? How you can add optional step in qtp?

0 Answers  


What is regular expression?

0 Answers  


How many regression test suits in your appliction?

2 Answers   CTS,


Categories