Write the script to delete the mail which is at 9th,13th and
18th place in INBOX of Gmail ?

Answers were Sorted based on User's Feedback



Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?..

Answer / kavitapriyacr

Browser("title:=Gmail - Inbox - xyz").Page("title:=Gmail -
Inbox - xyz").Frame("name:=abcd").WebCheckBox
("index:=9").Set "ON"
' similarly select checkboxes with index 13th and 18th and
click on Delete button
Browser("title:=Gmail - Inbox - xyz").Page("title:=Gmail -
Inbox - xyz").Frame("name:=abcd").WebButton
("text:=Delete").Click

Is This Answer Correct ?    11 Yes 5 No

Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?..

Answer / ram.polavarapu

with
browser("").page("").frame("")
.webcheckbox("index:=8").set"on"
.webcheckbox("index:=12").set"on"
.webcheckbox("index:=17").set"on"
.webbutton("text:=delete","index:=0").click
end with

Is This Answer Correct ?    2 Yes 1 No

Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?..

Answer / b.hari babu

systemutil.Run"path of the url"
Browser("title:=.*").Page("title:=.*").Frame("name:=abcd").WebCheckBox
("index:=9").Set "ON"
' similarly select checkboxes with index 13th and 18th and
click on Delete button
Browser("title:=.*").Page("title:=.*").Frame("name:=abcd").WebButton
("text:=Delete").Click

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

explain keyword driven framework?

2 Answers   Mindlance,


Hi Friends, Can any one answer this question? 17) What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value

2 Answers  


how to add a runtime parameter to a data sheet?

6 Answers  


RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?

0 Answers  


How to test menu options using qtp

2 Answers  






Hi, I Need code to click the webbutton inside of webtable. I need to click a particular 'Edit' webbutton inside of webtable. For Example... Having 5 Rows and 10 Columns. 'Edit' webbutton are placed in 10th Column. I need to click the 3rd row 'Edit' button with unique value. Browser("....").Page("...").Frame("...").WebButton("btn_Edit ") I Tried with below code: Set objButton = Browser("...").Page("...").Frame("...").WebTable("...").Chil dItem(3,10, Webbutton,0).Click - Not working this code :( Anyone can help me to sort out this simple issue ???

1 Answers  


hi all, I want to know about the QTP scripts, i have read more books but all areis to be a theory so how can i improve my script skills. if anybody knows about qtp scripts plz guide me and i need a sample scripts.my mail id is karthis4u@gmail.com, 9986667831 If you all have any data send it to akadi111@gmail.com

3 Answers  


How can we use the "CreateObject ("Scripting.FileSystemObject")" in QTP and what is the definition and purpose of it?

2 Answers  


How to find the length of the string in qtp?

0 Answers  


how to click on object? (with out knowing the object details) for ex: in a webpage one link is available.i want to click that link by using one menthod through qtp?

3 Answers   Zensar,


hi testers,one script has three actions , at the of running three actions are running , how to set run only perticular action and what is the use of split the action? when it will be useful?

3 Answers   Syntel,


How can we check whether a particular sheet loaded (existed) or not in Data Table.

7 Answers   TCS,


Categories