The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> AutomatedQA / SmartBear TestComplete

Pages: 1
wsj53
Member


Reged: 12/21/06
Posts: 85
Duplicate objects identified
      #710054 - 06/18/12 03:00 AM

Hello,

Having implented Flash injector, at times duplicate objects particullarly when object browser is refreshed are seen.



Is this a known behaviour or is it controllable? Also for more information Object Spy does not identify items in root level, pointing out in case this is linked to any issue that can help to sort out working with Flex Controls.

Please share your Solutions / Ideas / Expereince ...

Thanks,

--------------------
Stanley

Enjoy with what you do!


Post Extras: Print Post   Remind Me!   Notify Moderator  
Stephanie123456789
Newbie


Reged: 08/03/11
Posts: 8
Re: Duplicate objects identified [Re: wsj53]
      #710120 - 06/18/12 01:52 PM

I am not testing a web app, but I test an application that has duplicate object names all the time. What I do is use FindAllChildren to find the possible objects that I seek. Then I loop through the resultant array until I fond a child within the object that I seek.

Post Extras: Print Post   Remind Me!   Notify Moderator  
wsj53
Member


Reged: 12/21/06
Posts: 85
Re: Duplicate objects identified [Re: Stephanie123456789]
      #710341 - 06/20/12 07:49 AM

I have tried FindAllChildren as well in a required scenario... but could not retrieve the object that is needed...



Here the Text("iconLabel") which is seen two times have different caption ....

--------------------
Stanley

Enjoy with what you do!


Post Extras: Print Post   Remind Me!   Notify Moderator  
Allen_AQA
Active Member


Reged: 07/02/08
Posts: 1053
Re: Duplicate objects identified [Re: wsj53]
      #710506 - 06/22/12 04:55 AM

Hi wsj53,

Please see our answer in the following SmartBear forums thread:
http://community.smartbear.com/forum/pos...7a-a8e6bdb41caf

--------------------
Regards,
Allen - SmartBear Support


Post Extras: Print Post   Remind Me!   Notify Moderator  
zelvin
Newbie


Reged: 04/02/07
Posts: 23
Re: Duplicate objects identified [Re: Allen_AQA]
      #714586 - 08/15/12 12:26 AM

I have a similar problem which have two similar objects. Any idea why the testcomplete detect it as two similar object as attachment below

Post Extras: Print Post   Remind Me!   Notify Moderator  
zelvin
Newbie


Reged: 04/02/07
Posts: 23
Re: Duplicate objects identified [Re: zelvin]
      #714633 - 08/15/12 05:56 PM Attachment (153 downloads)

Duplicated objects

Post Extras: Print Post   Remind Me!   Notify Moderator  
Allen_AQA
Active Member


Reged: 07/02/08
Posts: 1053
Re: Duplicate objects identified [Re: zelvin]
      #714731 - 08/16/12 09:05 AM

Hi Zelvin,

Does the issue occur in TestComplete 9.0? If so, I recommend that you contact us via our Contact Support form (http://smartbear.com/support/message/?prod=TestComplete) and describe the problem you're facing in detail.

--------------------
Regards,
Allen - SmartBear Support


Post Extras: Print Post   Remind Me!   Notify Moderator  
zelvin
Newbie


Reged: 04/02/07
Posts: 23
Re: Duplicate objects identified [Re: Allen_AQA]
      #714746 - 08/16/12 05:14 PM

Thanks for the reply,
Currently I am using TestComplete 8 but I will try using TestComplete 9 soon and let you know the result. Thanks


Post Extras: Print Post   Remind Me!   Notify Moderator  
Ramu6309
Member


Reged: 05/04/09
Posts: 25
Re: Duplicate objects identified [Re: zelvin]
      #716670 - 09/19/12 07:37 AM

Hello Zelvin/wsj53,

Have you tried using EvaluateXPath method,which is very good when testing web applications.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Ramu6309
Member


Reged: 05/04/09
Posts: 25
Re: Duplicate objects identified [Re: Ramu6309]
      #716671 - 09/19/12 07:39 AM

Adding to the above,In the object browser,it is showing Name of the object is same.Did u find any unique properties for both the objects in the object browser?

Post Extras: Print Post   Remind Me!   Notify Moderator  
zelvin
Newbie


Reged: 04/02/07
Posts: 23
Re: Duplicate objects identified [Re: Ramu6309]
      #719939 - 12/03/12 05:26 PM

Thanks Allen and Ramu,
I have tried TestComplete 9 and it seem solve the problem of duplicate objects. No I haven't try the EvaluateXPath. Thanks


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 16 anonymous users are browsing this forum.

Moderator:  NickAQA, Robert Martin, martinh, brentpaine 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 5891

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5