Connected Application C# Keys method
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2019
05:44 PM
08-16-2019
05:44 PM
Connected Application C# Keys method
Hello,
I created a windows form application (connected application) and im trying to execute the code below:
Sys["Process"]("notepad")["Window"]("Notepad")["SetFocus"](); Sys["Process"]("notepad")["Window"]("Notepad")["Window"]("Edit")["Click"](459, 242);
Sys["Process"]("notepad")["Window"]("Notepad")["Window"]("Edit")["Keys"]("123");
The first and second line run, but i got an exception when trying to send the Keys method.
The exception that is thrown by methods invoked through reflection.
How can i use Keys method on connnected application?
If i execute the code on testcomplete, it runs all lines.
10 REPLIES 10
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2019
05:28 AM
08-26-2019
05:28 AM
Hi,
Thanks for the help, Lino!
I recommend that you contact our Support Team to investigate this behavior.
https://support.smartbear.com/message/?prod=TestComplete
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager
Tanya Yatskovskaya
SmartBear Community and Education Manager

- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »