Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dynamic Window Name and Windows application
#2
Solved: 10 Years, 10 Months, 3 Weeks ago
Hi
Use regular expression
Code:
Window("regexpwndtitle:= SLIM.*").WinMenu("Menu").Select "File;Print...    Ctrl+P"

I dont understand why you are using the property "ForeGround" to get the regexpwndtitle of the window... instead try this

Code:
Window("ForeGround:=True").WinMenu("Menu").Select "File;Print...    Ctrl+P"

Let me know is the above code works..

-Vinod
Reply


Messages In This Thread
RE: Dynamic Window Name and Windows application - by ursvinod - 06-18-2009, 10:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to check Checkbox in SSDBGrid in windows application RamUFT 0 990 02-13-2020, 07:34 PM
Last Post: RamUFT
  How can we get the Windows application Text box background color Using UFT 11.53 Kuppampattu 3 5,752 06-06-2017, 11:12 AM
Last Post: workrohit08
  Parametrization for dynamic Power Builder application qtptester17 0 1,555 10-26-2016, 02:55 AM
Last Post: qtptester17
  Script is not generated for windows application in UFT sreelatha 1 2,198 04-04-2016, 10:51 AM
Last Post: vinod123
  Is it possible to call Java window and Power Builder Window in 1 Action sbkhbk 0 2,455 06-05-2014, 08:18 PM
Last Post: sbkhbk

Forum Jump:


Users browsing this thread: 1 Guest(s)