Micro Focus QTP (UFT) Forums
javaButton cannot to be clicked in QTP 9.2 - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: javaButton cannot to be clicked in QTP 9.2 (/Thread-javaButton-cannot-to-be-clicked-in-QTP-9-2)



javaButton cannot to be clicked in QTP 9.2 - Maverick - 04-29-2009

Hello all,

I have the following problem with javaButton in QTP9.2 :
In the test we have a code like

Code:
javaWindow("window").javaButton("button").Click

and it give an error

"The parameter is incorrect"

And the interesting thing - the button is in OR and can be found and highlghted, that's OK.

We have uninstalled old versions of JRE and installed new one "jre 1.6.11".
During several hours it worked but later stopped again...

Has anybody seen such issue/problem?

Thank you in advance.


RE: javaButton cannot to be clicked in QTP 9.2 - Ankur - 04-29-2009

"Several hours" strongly suggests that cookies or temporary files are creating problem...clear them and let us know.


RE: javaButton cannot to be clicked in QTP 9.2 - Maverick - 04-30-2009

We have cleared cookies and internet temp files... but no success! the javaButton cannot be accessed no method, nothing with the same error.

In fact we have this problem on several PCs and we cannot find the reason/link when and why it happens.

Thank you!