Hi,
We can even do this scenario with Child Item, below is the code

*strRwcnt=Browser("name:= Inbox.*").Page("title:=
Inbox.*").webtable("name:=Inbox.*").Rowcount*
*For i=1 to **strRwcnt*
  StrClmcnt=*Browser("name:= Inbox.*").Page("title:=
Inbox.*").webtable("name:=   Inbox.*").ColumnCount(i)*
*For j=1 to *StrClmcnt
strdata= *Browser("name:= Inbox.*").Page("title:=
Inbox.*").webtable("name:=   Inbox.*").Getcelldata(i,j)*
If Ucase(strdaata) = Ucase("Select") Then
   Set Childitem=*Browser("name:= Inbox.*").Page("title:=
Inbox.*").webtable("name:=   Inbox.*").ChildItem(i,j,"WebLink",0)*
*   *Childitem.Set "ON"
   Exit For
  Value=1
End If
Next
If Value=1 Then
Exit For
End If
Next

Please let me know if you have any concerns on this

 Thanks & Regards,
Venkat Reddy Bandaru
[email protected]
+91.9884524606



On Fri, Mar 22, 2013 at 1:19 PM, Venkat Reddy Bandaru <[email protected]
> wrote:

> Hi,
> This above scenario we have handle with DP( Descriptive Programming),
> below is the code
> We have to pass which Checkbox you want to click and compare with the
> expected and then select it using DP
>
> Set ODesc= Description.Create
> ODesc("miccalss").value="Weblink"
> ODesc("htmltag").value="A"
> *Set Childitem=Browser("name:= Inbox.*").Page("title:=
> Inbox.*").webtable("name:=Inbox.*").ChildObjects(ODesc)*
> *For i=0 to **Childitem.Count-1*
> * ChildName=**Childitem(i).GetRoProperty("name")*
> * If Ucase(**ChildName)=Ucase("Select") Then*
> *   **Childitem(i).Set "ON"*
> *   Exit For*
> * End If*
> *Next
> *
> Set ODesc =Nothing
>
> Please let me know if you have any concerns on this
>
>  Thanks & Regards,
> Venkat Reddy Bandaru
> [email protected]
> +91.9884524606
>
>
>
> On Fri, Mar 8, 2013 at 2:15 PM, Thrinath <[email protected]> wrote:
>
>>
>>
>> Hi,
>>
>> i would like to write a following functionality in descriptive
>> i need to select an item in Inbox(gmail), it shows as web element inside
>> the table
>>
>> *Browser("name:= Inbox.*").Page("title:= Inbox.*")......?????????*
>>
>> attached screenshot(i just want to select an item in Inbox)
>>
>> Regards,
>> Thrinath
>>
>> --
>> --
>> 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.
>>
>>
>>
>
>

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