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
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
In qtp, how you can remove the spaces from string?
Explain about the quicktest professional (qtp) automation object model?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
what is actually contain test report? can anybody post the test report
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
What is business process testing(bpt) in qtp?
How would you directly trigger javascript in a test?
how can i call function (which has link with excell sheet at a remote location) within another function
How to find operating system information using the qtp script?
What are the advantages of a Hybrid framework?
what is supply chain management?
To which environments does quicktest professional supports?
hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career
What is the syntax for how to call one script from another?