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

did any one attended interview in applabs if you had gone through plz tell me the procedure

1859


Which data type/types are supported by vbscript language and what are their specialties?

596


How will you get a string with the specified character the specified number of times in vbscript?

577


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

605


Mention what is vbscript procedures?

540






I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?

1550


What are the differences between sub procedures and function procedures?

520


What is the use of the recordset object and which statement is used to create such an object?

529


What is the difference between do until loop and do while loop?

543


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

3276


Explain the tristate constants in vbscript?

561


Explain about the extension .hta?

625


Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

1655


How can you destroy an object in vbscript?

642


What is the difference between function and procedure?

575