Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Error in QTP 10
#1
Solved: 10 Years, 8 Months, 3 Weeks ago Question 
Hello Friends
I am using QTP 10 on my window 7 ulitmate version.
I just record one window application script & playback,But I got a error
The test run cannot continue due to an
uncoverable error.
Cannot find the "SysListView32" Object's
"Start menu"(class Window).Verify that
parent properties match an object currently
displayed in your application.
Line(1):"Window("Start menu").WinListView("SysListView32").Select"Right".
I did not understand this error.I googled it.
But I am unble to find the solution.Please help some one.
Give me solution & why this error occured again & again.
I also attach screenshot.[Image: qtperror.png]

Thanks in Advance
Kiran
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi,
Instead of using this line of code:
Code:
Window("Start menu").WinListView("SysListView32").Select"Right"
go for System.util Run(path of the application)
This will help u out.

Regards,
Sankalp
Reply
#3
Solved: 10 Years, 8 Months, 3 Weeks ago
Thanks Sankalp,
I did not understand where & how to use Systemutil.run command.
I paste my script,Please send me modified script.

Code:
Window("Start menu").WinListView("SysListView32").Select "Flight"
Dialog("Login").WinEdit("Agent Name:").Set "admin"
Dialog("Login").WinEdit("Password:").SetSecure "4f719d3a0f20a4f7e082b69c971e4ccfcca16ed5"
Dialog("Login").WinButton("OK").Click
Window("Flight Reservation").Close

Reply me.
Thanks & Regards
Kiran
Reply
#4
Solved: 10 Years, 8 Months, 3 Weeks ago
Code:
use systemutil.Run("C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe")
in place of
Code:
Window("Start menu").WinListView("SysListView32").Select "Flight"


C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe is the path where Flight application is installed in my system so please make sure to cross check the path in your system to invoke Flight application
Reply
#5
Solved: 10 Years, 8 Months, 3 Weeks ago
Thanks Swati,
As per you suggest,I follow the code.
Script is runnin without error.
Thank you very very much.
Regards
Kiran
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)