cancel
Showing results for 
Search instead for 
Did you mean: 

Add one object with Two Name

SOLVED
Highlighted
Contributor

Add one object with Two Name

Good Day,
our Desktop application is in developing procidure, therefor there is too many mistakes.

For example, there is two window with same Caption.

So, I want to add one Object with Two diffrent name in mapping table.
How can I do it?

Look our app mistake

 

0.JPG

3 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Community Leader

Re: Add one object with Two Name

Highlighted
Community Manager

Re: Add one object with Two Name

Hi @MadGrb

I think you need to play with the Required Children feature. It will allow you to specify children objects that must be on window 1 and window 2. This will help you map these windows for sure. Please refer to the following article for more information:

https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/requ...

---------
Tanya Gorbunova
SmartBear Community Manager

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

View solution in original post

Highlighted
Community Manager

Re: Add one object with Two Name

Hi again,

Perhaps, the extended search will work:

https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/exte...

---------
Tanya Gorbunova
SmartBear Community Manager

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
Community Leader

Re: Add one object with Two Name

Highlighted
Community Manager

Re: Add one object with Two Name

Hi @MadGrb

I think you need to play with the Required Children feature. It will allow you to specify children objects that must be on window 1 and window 2. This will help you map these windows for sure. Please refer to the following article for more information:

https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/requ...

---------
Tanya Gorbunova
SmartBear Community Manager

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

View solution in original post

Highlighted
Contributor

Re: Add one object with Two Name

Thanks to all,

Now I have a window that have just one child, but her caption is like 5 more window.
I want to recognize a Window not from Caption but from Header. As well the Header is in 4 lower Child.

what can I do about this problem.

Highlighted
Community Manager

Re: Add one object with Two Name

Hi again,

Perhaps, the extended search will work:

https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/exte...

---------
Tanya Gorbunova
SmartBear Community Manager

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

View solution in original post

Highlighted
Contributor

Re: Add one object with Two Name

Many Thanks for @TanyaGorbunova  and @BenoitB 

 

Finaly I find solution, I have copy object with new childs as new name then she works.

Highlighted
Community Manager

Re: Add one object with Two Name

That's great to here, @MadGrb!

 

---------
Tanya Gorbunova
SmartBear Community Manager

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
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

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

Participate!

Comparing content of HTML table with Excel file data

Participate!

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

Participate!

Retrieve Data from a Web Page

Participate!