Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP clicking on WpfImage is not working, but it is highlight it
#1
Not Solved
Hi All, I have an issue.
I am working on Wpf form, i need to click on wpfimage button,

Below piece of script
Code:
WpfWindow("classname:=***").WpfImage("classname:=***","devname:=***","devnamepath:=***").highlight
works fine

but,
Code:
WpfWindow("classname:=***").WpfImage("classname:=***","devname:=***","devnamepath:=***").click
is not working, it is neither throwing any error also. it simply does nothing.

Please let me know the reason why this is happening, i have installed all plugins, i am using trial version of qtp11, i got the system formatted 1 week back, it is not working after that.

But the same thing worked fine before formatting the system
Reply
#2
Not Solved
please try this code
Code:
Setting.Webpackage("replaytype")=2 'mouse events
WpfWindow("classname:=***").WpfImage("classname:=***","devname:=***","devnamepath:=***").click
Setting.WebPackage("replaytype")=1 'browser events

Regards,
Ravi
Reply
#3
Not Solved
Hi Ravi,
I did not work.
Do u have any idea why this is happening suddenly.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to trigger a function/recovery scenario on clicking stop button anand01_05 0 1,202 01-03-2019, 02:54 PM
Last Post: anand01_05
  QTP has stopped working kotaramamohana 11 19,525 12-28-2016, 10:55 AM
Last Post: Bhuvaneswari.A
  When i use xpath in OR in QTP 11, its not working ginne 0 2,910 11-12-2013, 10:02 PM
Last Post: ginne
  QTP 11 is not working for Internet Explorer 10 Niraj 5 10,133 08-14-2013, 01:34 PM
Last Post: Niraj
  Qtp script not working in function zeeshanyshaikh 1 2,641 01-16-2013, 02:44 AM
Last Post: Parke

Forum Jump:


Users browsing this thread: 1 Guest(s)