05-20-2009, 10:50 AM
I have QTP scripts for a Java applet and everytime I record, for example typing in a textbox, QTP records correctly and generates the script:
Today, when I attempted to record, QTP is generating the following script:
(.. and many instances of this similar code for the action of typing on a textbox).
I am new to QTP and I am the only one using this tool. I don't know which option/setting I should check so that QTP records back to its to recording and generating code in Browser().Page...... and not in WinObject.
Thanks
Code:
Browser("iCFM (TST)").Page("iCFM (TST)").ActiveX("Java Plug-in 1.6.0_03").JavaApplet("ICFMApplet").JavaInternalFrame("Settlement Journal").JavaEdit("Contract Id").Set "12345"
Today, when I attempted to record, QTP is generating the following script:
Code:
Browser("iCFM Login").Page("iCFM (TST)").WinObject("SunAwtCanvas").Click 426,331
I am new to QTP and I am the only one using this tool. I don't know which option/setting I should check so that QTP records back to its to recording and generating code in Browser().Page...... and not in WinObject.
Thanks