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



I am trying to read the rediffmail usign the below code. But facing problem, while i user to get th..

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

More QTP Interview Questions

How to capture screen shots when an error occurs?

5 Answers   EDS,


How can i count "spaces" in any sentence or a string if suppose " It is a Testing question" Here we have 4 gaps(spaces) Is there any function to find out spaces between words

5 Answers   iGate, Livetek,


Flight reservation using input and output parameter script.

1 Answers  


can any one tel ,using simple string a[0]=I a[1]=N a[2]=D like that it go's . . out put i need INDIA help me it's really need full ..

3 Answers   Mind Tree,


the question was on what techonlogy u been working on i said VB then he asked me the addin for VB in Qtp?

4 Answers   BirlaSoft,






Dim ExcelSheet Set ExcelSheet = CreateObject("Excel.Application") excelsheet.application.visible = true ExcelSheet.ActiveSheet.Cells(1,1).Value = "This is column A, row 1" ' Save the sheet. ExcelSheet.SaveAs "C:\DOCS\TEST.XLS" ' Close Excel with the Quit method on the Application object. ExcelSheet.Application.Quit after run this script i am getting error"The test cannot continue due to unrecoverable error"

3 Answers  


w is active screen

2 Answers   GCI, Wipro,


actuall wat my doubt is:while doin regression testin we enter all +ve & -ve data....system has to accept +ve and reject -ve data.in such case we get a popup window sayin that wrong entry...now i wan to overcome this popup window..how do i go further....plz explain.i tried thru rec.scenario but of no use.

1 Answers  


Recovery Manager means..?

4 Answers  


WHAT IS ENVIRONMENT VARIABLES?

6 Answers   Ordain Solutions,


what is the difference btn risks & Therads in the Test plan documentation?

0 Answers   Accenture,


How to use descriptive programming?

0 Answers  


Categories