Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
winobjects
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
hi all
here im using a jar application , i need to select a file from the dialog box
that dialog box is a win object
please any one help me for code to select the particular file from the the open dialog box


here i attached piece of code and



Window("Welcome to Data Loader").Dialog("Load Deletes").Dialog("Open").WinObject("DirectUIHWND").Click 85,64


if u have any issue please reply me


Attached Files Image(s)
   
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi,

Use file system object FSO for the same. that would be correct approach.

Regards,
Sankalp
Reply
#3
Solved: 10 Years, 8 Months, 3 Weeks ago
i came across this very same issue few months back, and well for me just typing the name of the file worked. u can just add the WinEdit object in Object Repository and .type or .set the file's name and click on open.
Reply
#4
Solved: 10 Years, 8 Months, 3 Weeks ago
hi

thank u for the reply, here im using the same win edit type to move to files


Reply
#5
Solved: 10 Years, 8 Months, 3 Weeks ago
you are welcome, glad to know it's working for you this way Smile
(just a tip: .type method worked better for me for winedit, than .set)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Objects identifying as WinObjects on IE with QTP/UFT santhosh kumar 5 5,221 05-07-2016, 12:39 PM
Last Post: vinod123
  webobjects are seen identified as winobjects Ram2009 2 2,494 06-28-2013, 03:37 PM
Last Post: Ram2009

Forum Jump:


Users browsing this thread: 1 Guest(s)