Hi Gobinda and all,
I am using it but not working
Code is below given ; plz tell me the correct answer.





*systemutil.Run 
"iexplore.exe","http://www.nucleation.in/qtp-function-click-link-web-table/"wait(10)set
 
rownum=Browser("QTP Function to Click").Page("QTP Function to 
Click").WebTable("Sl. No").GetRowWithCellText("Address",3,1)'add the table 
in OR.set LinkObj=Browser("QTP Function to Click").Page("QTP Function to 
Click").WebTable("Sl. No").ChildItem(2,1, "Address",0)LinkObj.click*





On Friday, March 4, 2011 8:07:52 PM UTC+5:30, avi wrote:
>
> Hi,
>
> I'm working with yahoo mail and my intent is to click on a certain mail 
> with the "Subject<something>"
>
> The following code works fine, if the mail subject is unique.
>
>  
>
>
> Browser("name:=Inbox.*").Page("title:=Inbox.*").Link("text:="&linkName).Click
>
>  
>
> But when the subject repeats, I need to click on the latest mail (ie 1st from 
> the web table) so I tried the following code.
>
>  
>
> rowCount=Browser("Inbox (19) - Yahoo! Mail").Page("Inbox (19) - Yahoo! 
> Mail").WebTable("Inbox").GetROProperty("Rows")
>
>  
>
> For i=2 to rowCount
>
> If  Browser("Inbox (19) - Yahoo! Mail").Page("Inbox (19) - Yahoo! 
> Mail").WebTable("Inbox").GetCellData(i,7)=linkName Then
>
> ...........
>
> I'm stuck here.
>
>  
>
> Please suggest me a method to click on the link available in the web table
>
> Please correct me if I’m wrong
>
>
>
> Thanks and regards,
>
> Avinash
>
>

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to