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

How to import the Test Results in QTP to an Excel sheet

4 Answers   Sonata,


how to load the *.vbs (or) test generating script in a new machine?

3 Answers   Ordain Solutions,


Have you worked with QC?

1 Answers   Satyam,


What is the difference between Global and Local Data Sheets?

1 Answers  


What is XML checkpoint in QTP. How we can use in Web Based application

2 Answers   LinkEdge,


Diff b/w WEB TESTING AND Client server testing?

3 Answers   Ordain Solutions,


I have a web table,in that web table in 3rd row 4th coloumn i have a link how to click it with descriptive programming? I have a webedit without entering any value how to calculate the size of that field? I have a DB table , how to find the 5th highest salary? write query.

2 Answers   3i Infotech,


Lets say,flipkart website...in search button we have entered category[i.e watches] it displays some items...question is how to test price displayed each product is correct or not through qtp

1 Answers   Cap Gemini,


What is object state in trigger events,in recovery scenario.write a script to handle this.

0 Answers  


There are some links on the web page,write a script to count and click those links and check the text on the page displayed on clicking the links.

3 Answers   Tech Mahindra,


What are the Test design techniques you uses in ur project?

0 Answers   Accenture,


what is the difference between link and hyperlink?

2 Answers  


Categories