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.
WebList.docx
Description: application/vnd.openxmlformats-officedocument.wordprocessingml.document
