try changing the name of  added button as I2C[1-2]
i am not so expert  jus give a try
On Mar 23, 2013 12:55 PM, <[email protected]> wrote:

>
> <https://lh3.googleusercontent.com/-3XrBdzIhYuI/UU1X58OGINI/AAAAAAAAAI8/Jt_VZfcNcn8/s1600/Sans+titre.png>
> Hello,
> I would like to test the buttons of my "Block diagram" is a java
> application, I added one JavaButton in my object repository and i want to
> test the exsitances of buttons and if they are not enabled by default.
> I have in the properties of JavaButton "label and attached text" ,i used a
> regular expression but II can't test all the buttons (I2C1, I2C2, etc..)
> As in the snapshot with only one JavaButton .
>
> I would like to test all buttons:
> JavaWindow ("Untitled MicroXplorer *"). JavaButton ("I2C1").exist(1)
> JavaWindow ("Untitled MicroXplorer *"). JavaButton ("I2C2").exist(1)
>
> but I don't want to add all the JavaButtons in my object repository, i
> want only a single JavaButton with a regular expression to the test.
> Thank you in advance.
>
>  --
> --
> 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.


Reply via email to