Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WinObject and RegularExpression
#1
Not Solved
Hi there,
I have a little problem (for you Smile )

I have this QTP script :

Code:
Window("MyApplication version 14").Window("Main
Screen").WinObject("Connection Test: OK").Click
now I´ve done these steps :
1) added regular expression in the
Window("MyApplication version 14")
of constant type in the text fileld : MyApplication.*
I runned it .... OK !!!!

2) the same thing for WinObject("Connection Test: OK").Click
runned it ..... NOT OK Sad

is it a problem with regular expression and win object ? I don´t think so ..

can you help me ?

thanks ...
Reply
#2
Not Solved
plz Post ur code which is not working.
Reply
#3
Not Solved
This code does not work with the regular expression setted as i wrote ....
i tried to keep the code simple in order to focus the problem ...
Thanks
Reply
#4
Not Solved
I´ve attached an image on what I´ve done ... I hope this help ... thanks .
As I said my problem is on WinObject "Connection" ... on other objects (Windows "Phone", Windows "Main Screen") it works ....

[attachment=1070]


Attached Files Image(s)
   
Reply
#5
Not Solved
There must be more than one object that are matching the above shown property of win object.
Check it out by spying more and more objects.

Regards,
k
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  RegularExpression for verifying minimum number bostonma 1 2,804 04-15-2009, 05:13 PM
Last Post: dvkbabu

Forum Jump:


Users browsing this thread: 1 Guest(s)