Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dynamic Window Name and Windows application
#2
Solved: 11 Years, 3 Months, 1 Week 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 1,071 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,964 06-06-2017, 11:12 AM
Last Post: workrohit08
  Parametrization for dynamic Power Builder application qtptester17 0 1,630 10-26-2016, 02:55 AM
Last Post: qtptester17
  Script is not generated for windows application in UFT sreelatha 1 2,346 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,517 06-05-2014, 08:18 PM
Last Post: sbkhbk

Forum Jump:


Users browsing this thread: 2 Guest(s)