Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
qtp 11 and visual c application
#1
Not Solved
hello all,

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

Code:
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)