Try to use DOM...

On Sunday, December 1, 2013 12:10:04 AM UTC+5:30, Randy Kobetich wrote:
>
> Hi everyone,
>  
> I am working with a complex type of webpage where the elements all have 
> same properties (inner text etc) name etc.  I am having issues identifying 
> So I can't set the field to a value.  Also the name is always changing with 
> every run so when I do record and play followed by a replay it never works.
>  
> WebElement().WebEdit().Set "text" is what I am wanting to do
>  
> Class Name = WebEdit
> class = formfield
> html tag=INPUT
> kind=singleline
> type=text
>  
> I looked at the raw source for the web page and the only item different 
> for each was something called tabindex. so I ended up doing  ordinal 
> identifier (index) which worked. (not very elegant though)
>  
> Does anyone know a better way?  I have heard of Descriptive,  Child 
> objects,  .objects etc.    But I am going to have to instruct several 'non 
> programmers' on how to do this and need the simplest way.  Ideas anyone?
>

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