i have two objects in the application
Value of 'name' proeprty of object1 is 'test'
Value of 'name' proeprty of object2 is 'testview'
for object1, i am using the code:
Win("title").winObj("name:=object1").Click
but it gives an error and sometimes clicks object2. there is no other
unique property
to resolve this i am trying to use regular expression (to match the exact
value)
^ - start of line
& - end of line
Win("title").winObj("name:="^"&object1&"$"").Click
but is showing error and not identify the object
pls suggest how it can be handled
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/groups/opt_out.