Thanks a lot.
Just tried what you suggested and getting another message:
The "[ WebList ]" object's description matches more than one of the objects
currently displayed in your application. Add additional properties to the
object description in order to uniquely identify the object.
Line (34): "Browser("SAS Information Delivery").Page("SAS Web Report
Studio_3").WebList("text:::=promptProperties.*","idex:=1").Select
"2012411 NHIS CAPI "".
Tip: If the objects in your application have changed, the Maintenance Run
Mode can
help you identify and update your steps and/or the objects in your
repository.
On Fri, Feb 8, 2013 at 9:00 AM, Kishor Kumar <[email protected]> wrote:
> Did u tried like this
>
>
> Browser("SAS Information Delivery").Page("SAS Web Report
> Studio_3").WebList("text::=promptProperties.*","index:=0").Select
> "2012411 NHIS CAPI"
>
>
>
> Browser("SAS Information Delivery").Page("SAS Web Report
> Studio_3").WebList(""text::=promptProperties.*","index:=1").Select "Year
> to date"
>
> Browser("SAS Information Delivery").Page("SAS Web Report
> Studio_3").WebList(""text::=promptProperties.*","index:=2").Select
> "Atlanta "
>
> On Fri, Feb 8, 2013 at 6:44 PM, Nataliya Zamaray <
> [email protected]> wrote:
>
>> Thanks for your help.
>> Looks like I didn't provide all information.
>> The problem still there because I have 3 weblist one after another. When
>> data selected from weblist, next weblist populated based on the info
>> selected from the first list.
>> So, when I used
>> Browser("SAS Information Delivery").Page("SAS Web Report
>> Studio_3").WebList("text::=promptProperties.*").Select "2012411 NHIS CAPI
>> " for the first one, QTP give a message that many object has the same
>> description and each of them need to be uniquely identify
>>
>>
>> Browser("SAS Information Delivery").Page("SAS Web Report
>> Studio_3").WebList("promptProperties377188_PG0_PC0").Select
>> "2012411 NHIS CAPI
>>
>> Browser("SAS Information Delivery").Page("SAS Web Report
>> Studio_3").WebList("promptProperties377188_PG0_PC1").Select "Year to date"
>>
>> Browser("SAS Information Delivery").Page("SAS Web Report
>> Studio_3").WebList("promptProperties377188_PG0_PC2").Select "Atlanta
>>
>> To match code to the screen, see attachment, please.
>>
>> Thanks, again.
>>
>> This is the best forum ever.
>>
>> On Thu, Feb 7, 2013 at 1:29 PM, Yogesh <[email protected]> wrote:
>>
>>> Add additional properties to the weblist and call by that name.
>>> Step 1: open the object in OS
>>> Step 2 : click on the plus sign for additional properties and select
>>> text or other properties. (note the property appears)
>>> Step 3. Change the name to this format. Ex in ur case select text ->
>>> promptProperties377188_PG0_PC0
>>> Change this to promptProperties.*
>>> step 4 : use the below code
>>>
>>>
>>> Browser("SAS Information Delivery").Page("SAS Web Report
>>> Studio_3").WebList("text:=promptProperties.*").Select "2012411 NHIS CAPI "
>>>
>>>
>>> hope this should resolve tour issue.
>>> Thanks.
>>>
>>> Yogesh P
>>>
>>> Sent from my iPhone
>>>
>>> On Feb 7, 2013, at 11:07 PM, Nataliya Zamaray <[email protected]>
>>> wrote:
>>>
>>> I need urgent help with this issue, please.
>>> During recording QTP created this line of code
>>>
>>> Browser("SAS Information Delivery").Page("SAS Web Report
>>> Studio_3").WebList("promptProperties377188_PG0_PC0").Select
>>> "2012411 NHIS CAPI "
>>>
>>>
>>> During runtime I have error message the object property is changed. I
>>> 'Spied' on it and looks like '377188' changes every run.
>>> I used regular expression for the name and for html id. - didn't help.
>>> At this point I have no idea what to do.
>>> Thanks.
>>> This is the best forum ever.
>>>
>>> --
>>> --
>>> 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]>
>>> [email protected]
>>> To unsubscribe from this group, send email to
>>> <[email protected]>
>>> [email protected]
>>> For more options, visit this group at
>>> <http://groups.google.com/group/MercuryQTP?hl=en>
>>> 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>
>>> 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.
>>>
>>>
>>>
>>
>> --
>> --
>> 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.
>
>
>
--
--
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.