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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you compare two strings in vbscript?

592


What are subprocedures in vbscript?

655


What is dictionary object in vbscript? Explain?

623


How are arrays declared in the vbscript language?

537


How will you get the natural logarithm of the given number in vbscript?

601






How to create a cookie using vbscript?

589


Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

794


Which date function is used in the vbscript language to find the difference between the 2 dates?

589


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.

2496


how to write validation function for date in vb script

2140


Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?

572


How will you release the memory acquired by an array variable in vbscript?

742


How will you convert a string to lower case string using vbscript?

553


how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.

4741


Explain How do you create a recordset object in vbscript?

564