|
16 | 16 | # A second check about in parameters can be done with put_Left / get_Left or put_Visible |
17 | 17 | def test_orpc_iexplore(): |
18 | 18 | iid = gdef.IWebBrowser2.IID |
19 | | - client, ipid = windows.rpc.stubborn.stubborn_create_instance("0002DF01-0000-0000-C000-000000000046", iid) |
| 19 | + try: |
| 20 | + client, ipid = windows.rpc.stubborn.stubborn_create_instance("0002DF01-0000-0000-C000-000000000046", iid) |
| 21 | + except Exception as e: |
| 22 | + dbginfo = getattr(e, "stubborn_info", None) |
| 23 | + if dbginfo: |
| 24 | + for x in dbginfo.items(): |
| 25 | + print(x) |
| 26 | + raise |
20 | 27 |
|
21 | 28 | # get_FullName |
22 | 29 | addrep = client.call(iid, 38, b"", ipid=ipid) |
@@ -45,7 +52,14 @@ def test_orpc_iexplore(): |
45 | 52 | def test_orpc_network_manager(): |
46 | 53 | """ORPC: Testing ORPCTHAT size using a method that takes no arguments and returns a single bytes""" |
47 | 54 | iid = gdef.GUID.from_string("D0074FFD-570F-4A9B-8D69-199FDBA5723B") |
48 | | - client, ipid = windows.rpc.stubborn.stubborn_create_instance("A47979D2-C419-11D9-A5B4-001185AD2B89", iid) |
| 55 | + try: |
| 56 | + client, ipid = windows.rpc.stubborn.stubborn_create_instance("A47979D2-C419-11D9-A5B4-001185AD2B89", iid) |
| 57 | + except Exception as e: |
| 58 | + dbginfo = getattr(e, "stubborn_info", None) |
| 59 | + if dbginfo: |
| 60 | + for x in dbginfo.items(): |
| 61 | + print(x) |
| 62 | + raise |
49 | 63 | response = client.call(iid, 17, b"", ipid=ipid) |
50 | 64 | assert response[0] not in (b"\x00", 0) |
51 | 65 |
|
0 commit comments