cancel
Showing results for 
Search instead for 
Did you mean: 

Exception Error

Highlighted
Community Hero

Re: Exception Error

Hi,

 

What is strange for me on the screenshot of the test that you provided earlier, is that the click on drop-down was recorded as a click on the panelPanelPanelBold object that is a child of the browser object but not a child of the web page.

Can you provide how the panelPanelPanelBold object is identified?

Also I would recommend to investigate the drop-down window using the Object Spy and verify that test attempts to click correct object.

 

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
Staff

Re: Exception Error

one of the ways to fix this window bound error is to switch over the coordinates that you are using (for i think what is the clickitem operation). you can access the operation parameters by giving a single click within the value column of that operation, and then you can switch the x y coordinates of the click by replacing it with -1 for both x and y. (although i dont think there are coordinates involved in the clickitem action). Perhaps addtional operations are needed, such as a click operation on the top level parent of that dropdown, or even a hover mouse action to display the items.

Best,
Justin Kim
Highlighted
Contributor

Re: Exception Error

Can you provide how the panelPanelPanelBold object is identified?  Where do I find this info?

Also I would recommend to investigate the drop-down window using the Object Spy and verify that test attempts to click correct object - How do I perform this?

Contributor

Re: Exception Error

I have tried the click with -1 and it is still not working. It looks like it is failing after I enter 22 which bring down a prepopulated dropdown with everything that starts with 22. But instead of selecting the one I want to use the screen just flickers and errors out. Please see the attached screenshot, highlighted in yellow is where I believe the error is occurring.

Highlighted
Community Hero

Re: Exception Error

Hi,

 

Where do I find this info?

I would start from the NameMapping editor (https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/inde...).

 

How do I perform this?

Open the drop-down, highlight it with the Object Spy and examine the highlighted object (https://support.smartbear.com/testcomplete/docs/testing-with/exploring-apps/object-spy/about.html).

 

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

Re: Exception Error

Thank you everyone for your input!

 

@Stevan Did you manage to solve this using the advice from the Community? If yes, please mark the best answer as a Solution!


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Contributor

Re: Exception Error

Hey Sonya

 

No I have not solved the issue yet, still trying to figure it out.

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors