cancel
Showing results for 
Search instead for 
Did you mean: 

Property VBScipt runtime error

SOLVED
Highlighted
Occasional 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

 

Tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Manager

@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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

6 REPLIES 6
Highlighted
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

 

Highlighted
Community Manager

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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Occasional Contributor

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.

Highlighted
Occasional Contributor

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

Highlighted
Community Hero

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 Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Highlighted
Community Manager

@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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get properties of a web page element

See replies!

Compare images using the Region Checkpoint

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors