Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem recording simple script
#1
Solved: 10 Years, 7 Months, 1 Week ago
Hello,

I am working on windows 7 , QTP 10.0, IE 9.0.

1. I am not able to record any web application, and I came to know that QTP 10.0 doesnt work with IE 9.0. So I need a solution for that.

2. I tried recording sample Flight app. Here is the recorded script:

Code:
Dialog("Login").WinEdit("Agent Name:").Set "shik"
Dialog("Login").WinEdit("Password:").SetSecure "4ee8d61da8893c7db1ac7a5dc440f958735919db"
Window("Flight Reservation").Close

The very very first step of opening the Flight app is not being recorded.


FYI: The path for flight app is "c:\Program Files (x86)\HP\Quick Test Professional\samples\flight\app\flight4a.exe"

Can anyone please suggest the solution?


Thanks in advance
Reply
#2
Solved: 10 Years, 7 Months, 1 Week ago
use the below line in the first step which will open the flight application during run time.
Code:
SystemUtil.Run "c:\Program Files (x86)\HP\Quick Test Professional\samples\flight\app\flight4a.exe"

Reply
#3
Solved: 10 Years, 7 Months, 1 Week ago
Thanks for your response.

I tried that but it gives an error:

Invalid procedure call or argument

Line 1: "SystemUtil.Run "c:\Program Files (x86)\HP\Quick Test Professional\samples\flight\app\flight4a.exe"".

Then I installed patch QTP_00644. When I entered the license key, it gave an error that this key is already in use. So I cancelled it and tried running the application again. And its giving the same error.Sad

Please suggest something.

Thanks
Shikha

Reply
#4
Solved: 10 Years, 7 Months, 1 Week ago
hi shikha/ ravi ,

how to install this path qtp_00644 in my machine can u pls assist me

Thanks,
Ravi
Reply
#5
Solved: 10 Years, 7 Months, 1 Week ago
Can you please have a look on to this website .
http://www.onetestingcenter.com/2011/03/...d-ie8.html
It gives the solution to your query

QTP patch 644 is the correct one . Try installing it again
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP not recording script for webtable alpha1 4 2,900 07-20-2015, 03:47 PM
Last Post: alpha1
  Flight API does not run and QTP not recording the script Ruch 0 2,592 08-15-2013, 04:57 AM
Last Post: Ruch
  Add Simple Text Header mot0rola 2 2,497 07-09-2013, 10:30 AM
Last Post: Ankur
  simple excel automation excellentpawan 1 2,639 07-06-2013, 04:08 PM
Last Post: Ankur
  systemUtil.run script is not generating while recording in qtp 9.5..pls help me senthil.kumar 0 2,681 01-24-2013, 01:22 PM
Last Post: senthil.kumar

Forum Jump:


Users browsing this thread: 1 Guest(s)