I am trying to read the rediffmail usign the below code. But
facing problem, while i user to get the link of the mail, i
am getting all the link of the page, While i just want to
get only mail name - link (not all the link of an page) so
that i able to read the mail message by clcking on them in qtp.

Dim Lnk,Webcheckbox
Set Lnk= Description. Create
'********* To count and display the webcheckbox
Lnk("micclass" ).value=" Link"
set LinkName= Browser("Welcome to Rediffmail:"
).Page("Welcome to Rediffmail:" ).ChildObjects( Lnk)
LinkCount=LinkName. Count
msgbox LinkCount
For i=1-1 to LinkCount-1
DataTable.SetCurren tRow(i)
DataTable.Value( "Name",1) =LinkName( i).GetRoProperty ("name")
Next
Waiting for the reply
Praveen Saini

Answer Posted / nanda

Hi Praveen..

try to filter the links by table wise or frame wise.

i think inbox will be a table( Rediff is blocked here, i
can not check).

check like this...

set LinkName = Browser().page().Table().ChildObjects()..

here table is inbox. so u will get the links which are only
in inbox.


if any queries...

Nanda.dreddy@gmail.com

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

1403


What is checkpoints for quicktest professional (qtp)?

579


Have you used xml check point in your project?

556


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

1527


What is parameter in qtp?

680






For which type of project the iterative model is suitable?

1386


What is difference in global and action sheet in qtp?

612


wht type of User defined functions or Java Releated functions do we write in VB scripting

1832


I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible

1453


what is Property......End Property loop? how to write sript for it in QTP

1896


How to use output values in qtp ?

557


What is the difference between analog and low level recording?

624


I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me

1424


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

566


How the exception handling can be done using quicktest professional?

545