use :-
Browser(...).Page(...).WebList("home:language_items").Select "#1"
or
Browser(...).Page(...).WebList("home:language_items").Select "1"
or
Browser(...).Page(...).WebList("name:=home.*language.*", "html tag:=
abc","index:=0").Select "#1"
or
Browser(...).Page(...).WebList("name:=home.*language.*", "html tag:=
abc","index:=0").Select "1"
surely will work .,,if u gv correct property name in Weblist
...WebList("name:=home.*language.*", "html tag:= abc","index:=0") //provide
correct property..and use regular expression if name has some whiled card
characters like "_" etc
On Thursday, January 26, 2017 at 3:49:54 PM UTC+1, [email protected] wrote:
>
> Hello everyone,
>
> I am learning UFT and trying to select a value from a weblist, in the
> following example: select languae "English" from weblist: English, French,
> German
>
> (1) Browser(...).Page(...).WebElement("home:language_label").Click
> (2) Browser(...).Page(...).WebList("home:language_items").Select "English"
>
>
> what happens:
> (1) opens the weblist of languages.
> (2) select the value " English" from the weblist
> after English is selected, the browser will be refreshed, and UFT gives me
> an "unknown error"
> If i click on "Retry", then i receive another error "not implemented"
>
> I have try to put "RefreshObject" and "Wait" before "Select" but it does
> not help either
>
> Does anyone have an idea what problem this may be?
>
> Thanks in advance
>
> best regards
>
>
--
--
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/d/optout.