Rank: Advanced Member Groups: Member
Joined: 8/18/2008 Posts: 31 Points: 93 Location: India
|
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
|