Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Can't recognize the WinObject second time
#4
Not Solved
Hi Try following code.

Setfocus method should be useful for getting the RO text property.

Code:
Window("SiPass integrated -- AUSYDW221").Dialog"Cardholder").WinButton("Add Card").Click


Window("SiPass integrated -- AUSYDW221").Dialog("Cardholder").ActiveX("CardsView").WinObject("WindowsForms10.EDIT.app.0.225e691").setfocus

a = Window("SiPass integrated -- AUSYDW221").Dialog("Cardholder").ActiveX("CardsView").WinObject("WindowsForms10.EDIT.app.0.225e691").GetROProperty ("text")
Reply


Messages In This Thread
RE: QTP Can't recognize the WinObject second time - by Tarik Sheth - 04-14-2010, 03:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to perform operations on objects under WinObject in .net app ramakant 0 1,917 11-10-2015, 07:56 PM
Last Post: ramakant
  Does QTP recognize C++ Objects? Babita01 0 3,503 05-15-2012, 03:09 PM
Last Post: Babita01
  QTP doesnot recognize Java objects. Babita01 0 3,890 05-15-2012, 11:41 AM
Last Post: Babita01
  QTP "Can't recognize object" error Ansh123 3 3,447 12-28-2011, 02:59 PM
Last Post: sshukla12
  Does QTP Recognize IBM Work place forms 2.7??? nit_naresh 0 2,335 09-04-2011, 10:43 AM
Last Post: nit_naresh

Forum Jump:


Users browsing this thread: 1 Guest(s)