Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[UFT] Change property of object (WpfButton)
#2
Solved: 7 Years, 6 Months, 3 Weeks ago
I found a workaround.

I used this code:
Code:
WpfWindow("myApp").WpfEdit("txtComments").Set ""

Set WshShell = CreateObject("WScript.Shell")
wait 2
WshShell.SendKeys "{TAB}"
wait 1
WshShell.SendKeys "{TAB}"
wait 1
WshShell.SendKeys "{ENTER}"

I set the focus in a WpfEdit, I pressed two times the tabs button for move the focus in APPLY button, then I pressed ENTER.

Maybe someone helpful to someone.

Thanks a lot.
Reply


Messages In This Thread
RE: [UFT] Change property of object (WpfButton) - by robertosalemi - 11-21-2016, 09:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How do you Change Run mode mid script? Caleytown 6 6,685 03-25-2021, 08:27 AM
Last Post: RB26578
  How to find and change text in PDF document using QTP UFT automation VBscript alexwhite 0 11,943 02-18-2017, 04:20 AM
Last Post: alexwhite
Wink IE11 Crashes when User tires to capture an Object or Record a Screen in UFT 12.01 Baalaaji 1 2,790 06-11-2015, 06:41 PM
Last Post: venkatesh9032
  Uft 12 - Identification of Google Chrome Object's Property value as plain text teja2730 0 2,484 02-02-2015, 05:22 PM
Last Post: teja2730
  Upgraded QTP 11.0 to UFT 11.53, Object Index Properties are varying Raghava M 0 2,091 01-28-2015, 06:02 PM
Last Post: Raghava M

Forum Jump:


Users browsing this thread: 1 Guest(s)