Hi Gajendra,

Try with the below code:

Browser("name:=test").Page("title:=test").WebEdit("name:=accountName").Set
"Hello"


Kishor,

I doubt whether we can achieve this by VisualRelation

Visual Relation is used to identify an object relative to another object
depending on the visual relation (Obj1 is left to Obj2). And we use it only
when there is no unique property to identify the object.

-- 

With Regards,
JCrown

On Mon, Jul 30, 2012 at 8:50 PM, Kishor Kumar <[email protected]> wrote:

> use VisualRelation(QTP11)  to identify the the text field based on
> AccountName Label.
>
> On Mon, Jul 30, 2012 at 7:04 PM, Gajendra Jain <[email protected]>wrote:
>
>> Hi,
>>
>> I want to enter the value in the text field by passing the label(Account
>> Name) against to it using descriptive programming or by any means?
>>
>> Account Name
>> <input name="accountName" class="text" id="accountName0" type="text"
>> jQuery17109562255427902675="3"/>
>>
>> Could you please help me?
>>
>> Regards,
>> Gajendra
>>
>> --
>> 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
> "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
"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

Reply via email to