Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Open Yahoo Login Page
in that page Suppose i have 100 mails and i want to delete
10'th mail now give procedure & Coding For that Scenario

Answers were Sorted based on User's Feedback



Open Yahoo Login Page in that page Suppose i have 100 mails and i want to delete 10'th mail..

Answer / ddpras

Browser("Yahoo!").Page("Yahoo!").Link("Mail").Click
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit
("login").Set "ch_sumathi2004"
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit
("passwd").SetSecure "486c6f4be481a70bf13b2b81453298b462a1"
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebButton
("Sign In").Click
Browser("Yahoo!").Page("(10 unread) Yahoo! Mail").Link
("Inbox (10)").Click
Set k=Browser("Yahoo!").Page("Inbox (10) - Yahoo!
Mail").webtable("inbox(10)").ChildItem
(10,1,"WebCheckBox",index)
k.Set "ON"
Browser("Yahoo!").Page("(10 unread) Yahoo! Mail").WebButton
("Delete").Click

Is This Answer Correct ?    9 Yes 0 No

Open Yahoo Login Page in that page Suppose i have 100 mails and i want to delete 10'th mail..

Answer / jaipalreddy

Option explicit
Dim a,b,c,d,e,odesc
set odesc=description.Create
odesc("micclass").value="WebCheckBox"
Set a=Browser("Business Mail").Page("Business Mail").Frame
("abody").WebTable("From").ChildObjects( odesc)
b=a.count
For c=1 to b step 1
If (c=10) Then
a(c).set "ON"

Browser("Business Mail").Page("Business Mail").Frame
("abody").WebButton("Delete").Click
End If
Next

Is This Answer Correct ?    6 Yes 2 No

Open Yahoo Login Page in that page Suppose i have 100 mails and i want to delete 10'th mail..

Answer / sumathi

Browser("Yahoo!").Page("Yahoo!").Link("Mail").Click
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit
("login").Set "ch_sumathi2004"
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit
("passwd").SetSecure "486c6f4be481a70bf13b2b81453298b462a1"
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebButton
("Sign In").Click
Browser("Yahoo!").Page("(10 unread) Yahoo! Mail").Link
("Inbox (10)").Click
k=Browser("Yahoo!").Page("Inbox (10) - Yahoo!
Mail").webtable("inbox(10)").ChildItem
(10,1,WebCheckBox,index)
k.delete

Is This Answer Correct ?    7 Yes 5 No

Open Yahoo Login Page in that page Suppose i have 100 mails and i want to delete 10'th mail..

Answer / venkata rajkumar b

Browser("Yahoo!").Page("Yahoo!").Link("Mail").Click
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit
("login").Set "venkatraj.banka"
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit
("passwd").SetSecure "486c6f4be481a70bf13b2b81453298b462a1"
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebButton
("Sign In").Click
Browser("Yahoo!").Page("(10 unread) Yahoo! Mail").Link
("Inbox (10)").Click


b=Browser("Yahoo!").Page("Inbox (10) - Yahoo!
Mail").webtable("inbox(10)").ChildItem
(10,1,"WebCheckBox",0).Set "ON"
b.Delete

Is This Answer Correct ?    4 Yes 4 No

Post New Answer

More VB Script Interview Questions

write a qtp script to count the number of minimized windows

1 Answers  


What are keywords in the vbscript language?

0 Answers  


what is the use of QCUtil? explain with one example?

1 Answers  


Which function allows you to instantiate an object given its programmatic identifier or progid?

0 Answers  


Whenever I use Wscript.Echo Qtp raising Run time error as 'Object required for Wscript' How I can create object for Wscript

1 Answers  


What are the valid scopes of a variable in vbscript?

0 Answers  


write a vb script to display the size of the folder,date created and name of the folder

1 Answers  


What methods are used to create text files and open text files in the vbscript language?

0 Answers  


How to write Descriptive programming in .VBS file i wrote this code but it is giving error.. Dim qtApp set qtApp=createobject("QuickTest.Application") qtApp.Launch qtApp.Visible=True Set objIE = CreateObject("InternetExplorer.Application") objIE.visible = True objIE.Navigate "www.gmail.com" browser("title:=gmail").title("title:=gmail")

2 Answers  


How will you get a combined string from array of string in vbscript?

0 Answers  


what is fire event method in qtp?

3 Answers   TCS,


what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description about Reporter.ReportEvent ?

4 Answers   CybAge,


Categories