Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SwfWindow recognized as Window
#1
Solved: 12 Years, 10 Months, 2 Weeks ago
Hi everyone. I have been doing some test automation on a Windows Forms applications. I created a script that worked fine, in which everything was added to the OR as SwfWindows/SwfButtons etc..

Out of sudden, the script stopped working. If I use the .net control spy on the app, everything is recognized as Windows/WinObjects. But if I try it on another .net App (while on the same test, without changing anything) everything is correctly identified as SwfWindows/SwfButtons etc.

An ideas, why this might have happened??

I´m using QTP 11, with the .net, web, and VB add-ins. I'm recording while on any open application and I have run the addFullTrust executable. I tried repairing, QTP and reinstalling .Net addin.

If I record right now, i get something like this:

Code:
'' Windows forms App ONE
With Window("window")
    .Activate
    .WinObject("WindowsForms10.SysTabControl32").Click 110,14
End With
'' Windows forms App TWO
With SwfWindow("Demo").SwfWindow("DC")
    .SwfRadioButton("Scheduled").Set
    .Activate
End With
Reply


Messages In This Thread
SwfWindow recognized as Window - by chrono160 - 03-24-2011, 03:33 AM
RE: SwfWindow recognized as Window - by PrabhatN - 03-24-2011, 07:32 PM
RE: SwfWindow recognized as Window - by chrono160 - 03-25-2011, 01:32 AM
RE: SwfWindow recognized as Window - by mikee58 - 10-31-2012, 04:33 AM
RE: SwfWindow recognized as Window - by cetejas - 02-22-2013, 10:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  swfwindow object name getting changed after each run saniya 1 2,131 10-10-2018, 09:02 PM
Last Post: TheGlovner
  Telnet command not recognized Sanjana1987 1 2,532 09-20-2017, 03:16 PM
Last Post: Ankur
  Objects are being recognized as "Windows for Menu item list (Browser-firefox, UFT 12) akhandesh 0 2,814 05-27-2015, 06:29 PM
Last Post: akhandesh
Smile Importing Excel sheet - Reference Values are not recognized michiusa69 3 8,472 01-23-2015, 02:36 AM
Last Post: lkng2001
  IE Tester feature not recognized by UFT12.01 saraiado 2 3,293 12-23-2014, 09:41 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)