*Ex:  Dim RowNo*
*       RowNo =  Browser().Page().WebTable().GetRowWithCellText("<text to 
pass from datatable>")*
*       Browser().Page().WebTable().ChildItems(RowNo, Column<Pass from 
Datatable or Itretate it), WebCheckBox, index<default 0>)*
 
*Kudos to Prasant!!!!!!!!!!!!!!!!!! :)*

On Friday, 22 March 2013 13:19:35 UTC+5:30, Venkat Reddy Bandaru 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] <javascript:>
> +91.9884524606
>
>
>
> On Fri, Mar 8, 2013 at 2:15 PM, Thrinath <[email protected]<javascript:>
> > 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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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] <javascript:>.
>> 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