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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?

3556


how to increasing the numbers in a given text box please write a vb script

1705


What are the naming conventions while declaring a variable in the vbscript language?

619


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

556


How are arrays declared in the vbscript language?

543






How to Import data from a file (file is on the desktop) to the data table

1560


What are the environments supported by vbscript language?

508


How to create a cookie using vbscript?

591


How to Convert Hex color code to color name in VB Script?

3934


PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com

1666


about vb scripting programs this type of all question& answers

1693


Mention what is the main difference between function and sub-procedure?

551


How will you get a subset of a array in vbscript?

589


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

537


How to get the length of the string by making use of the string function?

569