Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
At run time, object could not be found by QTP (WinListView)
#5
Solved: 10 Years, 3 Months ago
Hi
Murali, I thought your application allows user to type the file name in the browse edit box, thats why i adviced you to type the path and file name, as i am doing in my application.

Nandu, Difference between 2 is ,
In 1st option we are selecting the file from the location by clicking on Browse button.
In 2nd one we can select the file just typing the file name,instead of using browse option.

-------------------------------------------------------------------------------------------------
Hi again Murali,
Include below line(1) in your script before accessing the window objects...
1.
Code:
Set goShell=CreateObject("WScript.Shell")
If still error comes...
Then try by replacing:
Code:
Browser("Chronicle Careers").Dialog("Choose File to Upload").WinListView("SysListView32").Select "PDF_file1"
with below line:
Code:
Browser("Chronicle Careers").Dialog("Choose File to Upload").WinEdit("SysListView32").Set "PDF_file1"
Reply


Messages In This Thread
RE: At run time, object could not be found by QTP (WinListView) - by KavitaPriyaCR - 11-18-2010, 10:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Object not found during the 2nd iteration of an Action call in a For loop BGunay 0 969 04-23-2020, 07:08 PM
Last Post: BGunay
  swfwindow object name getting changed after each run saniya 1 1,674 10-10-2018, 09:02 PM
Last Post: TheGlovner
  Object identification is taking too much time JACKSPARROW 0 1,698 01-17-2017, 11:08 AM
Last Post: JACKSPARROW
  QTP not recogonising object during run time Lavanya N 2 3,723 10-28-2015, 12:46 PM
Last Post: vinod123
  WinListView set item command Shahino007 0 2,644 10-06-2015, 03:57 PM
Last Post: Shahino007

Forum Jump:


Users browsing this thread: 1 Guest(s)