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
Explain the types of object repository?
What are the steps involved in recovery scenario wizard?
Did the scripts need lot of maintenance? If yes, why?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
How to modify object property in qtp ?
How to add verification steps to tests?
How qtp recognizes the object?
How to get the particular property value?
what is supply chain management?
How to capture all the data of a webtable, weblist and combolist using QTP?
Tell me about your project? please help me how to tell about insurance project
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
What are the check points can be inserted without recording?
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans