Ask a Question

Property VBScipt runtime error

SOLVED
DainiusA
Contributor

Property VBScipt runtime error

Hello,

 

i am interacting an error then i am using WaitWPFObject function. Maybe i am doing something wrong, i can't understand why do i get this kind of error.

 

Best regards,

Dainius

 

DainiusA_0-1597237620952.png

 

6 REPLIES 6
anupamchampati
Frequent Contributor

It seems something is not in sync NameMapping and Object you are calling

 

Can you please check again the Obj using Object Spy

or please provide some more information of Obj spy window

 

sonya_m
SmartBear Alumni (Retired)

Thank you for helping anupamchampati !

 

@DainiusA Did you solve this? Please share more details with the Community if you didn't.


Sonya Mihaljova
Community and Education Specialist

Hello,

 

Sorry for keeping you waiting so long for the reply

 

Then i try to use Object spy it highlights the window for me that i am waiting for.

I have even tried to make a new project and re-map the objects, still getting the same error.

I am not sure what kind of information would be most useful for the people who are trying to help me... If you need anything i can provide it, just let me know

AlexKaras
Champion Level 2

Hi,

 

Initial screenshot is too small and not readable. Could you paste the code, indicate the failing line and provide the error message?

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
sonya_m
SmartBear Alumni (Retired)

@DainiusA ! As far as I see, the issue appears when you call the WaitWPFObject method. You use 0 as a timeout - try increased the time to wait for an object. Set it to 5000 and check if the issue persists.

 

Here's the link to the full-sized image from the original post https://community.smartbear.com/t5/image/serverpage/image-id/9159i2AD90959BC37AD95


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: