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

How are arrays declared in the vbscript language?

0 Answers  


What variable can you use to share info across the whole application for one user?

2 Answers  


Write VB script to convert from feet to inches(hint 1feet=12 inches)

2 Answers  


reverse the string without using reverse string?

2 Answers   CSS Corp,


why do u choose to go for testing why cant for devoloping

0 Answers  






Write a program using Java Script / VBscipt that checks if two matrices have identical values in all the elements

1 Answers   Ignou,


Mention what is select case statement?

0 Answers  


Explain about tristate constants?

0 Answers  


Can u describe what kind of testing are for OTC derivates by banks.

0 Answers   BoA,


how to genarate a random numbers in vb?

2 Answers  


How will you get a random number between 0 and 1 in vbscript?

0 Answers  


What purpose does ‘on error resume next’ serves?

0 Answers  


Categories