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

What is the use of the date function in the vbscript language?

573


Which in-built function is used to format the number in the vbscript language?

587


How to write functions and sub in vb script?

629


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

566


Which function is used in the vbscript language to convert the specified expression into a date type value?

530






Illustrate briefly about the different types of statement

2031


What is dictionary object in vbscript? Explain?

632


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?

3559


after medical test,when will be the police verification

1730


what is the difference between modular and data and keyword driven framework

1749


what types of bugs will we find out in banking projects for automation testing?

1775


Which operator can be used to do an xor operation in vbscript?

689


Explain the scope of the variables using dim, public, and private keywords respectively.

726


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

535


Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.

1549