Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP is recording in Windows mode and not in Web
#1
Solved: 10 Years, 9 Months ago
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:

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
(.. 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
Reply
#2
Solved: 10 Years, 9 Months ago
HI ,

Try with the following & let me know.

1.Make sure to Select required Addins(Java) for ur Appl. & log into QTP

2.Invoke QTP first & then the ur Application (not vice Versa) --> Record & See.....

3.Make sure to configure the "Record & Run Settings" Properly.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How do you Change Run mode mid script? Caleytown 6 6,523 03-25-2021, 08:27 AM
Last Post: RB26578
  How to mask the particular read only mode fields while capturing screenshot in QTP kalaivanan123 2 3,360 03-18-2014, 11:31 AM
Last Post: basanth27
  QTP Recording Rakesh Sahukari 0 1,614 11-03-2013, 01:10 PM
Last Post: Rakesh Sahukari
  windows vs web object shipu 0 1,474 07-22-2013, 09:30 PM
Last Post: shipu
  QTP 11.5 recording issue anupam4j 0 1,598 02-05-2013, 05:20 PM
Last Post: anupam4j

Forum Jump:


Users browsing this thread: 1 Guest(s)