Try this

Dialog("title").WinButton("title").Click

Window can not be parent of dialog box.

On , qtplearner <[email protected]> wrote:

On Thursday, July 19, 2012 6:31:34 PM UTC+5:30, qtplearner wrote:Hi Friends,
pls look at the below issue

A dialog box is generated in wpf application. Need to click OK button in the dialog box. but qtp is not identifying the OK button in dialog box and not clicking it

Syntax is
WpfWindow("title").Dialog("title").WinButton("title").Click

error message is:
Can't find the Winbutton's object's parent Dialog of class Dialog

I tried sendkeys, device replay, DP but not working. pls suggest the solution

I am using QTP11. pls suggest if this issue is related tp add-ins









--


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
"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

Reply via email to