Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
qtp 11 and visual c application
11-10-2011, 09:16 PM
Post: #1
qtp 11 and visual c application

hello all,

i am trying to use qtp11 to test this visual c application
but i have this problem :
i registered these statements

Window("[window]").Dialog("dialog").Activate
Window("[window]").Dialog("dialog").WinList("LB").WinEdit("Ed").SetSelection 0,6
Window("[window]").Dialog("dialog").WinList("LB").WinEdit("Ed").Set "898989"

but when i run the test with qtp 11 the test stop and show me the following error

Ed
Object's physical description:
Native Class = Edit
miccommentproperty =
Index = 1



note i saw in the help that setSelection is used to select where write in a textfield and in the qtp help it was followed by the method "Type" i tried it too but it did no worked
can you help me please?

thank you very much
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)