SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Jan 2010
    Location
    Poznań, Poland
    Posts
    188
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Objects.Save - very slow with .Net apps

    I need to save state of objects of my tested application. So I decided to use Objects.Save(), but I found it useless due to performance issues. It takes 30 (thirty) minutes to save my tested application objects tree. I must say that there is about 30 objects in my tested app, so I think it's very slow. Application is written i C#.
    I decided to check this method on Test Complete "Orders" sample.
    Command "Objects.Save(Sys.Process("Orders"), "Orders", "", "", true)" took 3 minutes to complete. I used the same command for my tested app.

    Yes, I understand that I use recursive search in child objects.

    I know that there is an alternative way with "aqObject.SaveObjectSnapshotToFile()", but it's not a cheetah neither. It took 10 minutes for my application and 25 seconds for "Orders sample". I used: "aqObject.SaveObjectSnapshotToFile(Sys.Process("Or ders"), "c:\\orders.txt", true, false, "", false, false)".

    Is there any way to improve performance of Objects.Save() and aqObject.SaveObjectSnapshotToFile() ?
    Maybe there is a "magic option" in Test Complete to do this ?

    As I said, my tested application in written i .Net.

    I also noticed that Objects.Save() does strange things with popups. I mean that I got a lot of "Cannot obtain pop up menu" errors in test log with remarks "Possible reason: There was no click that invokes the popup menu.".
    regards,
    Lukasz Morawski, QA Engineer
    Cognifide testing blog
    PTaQ

  2. #2
    Senior Member
    Join Date
    Jul 2008
    Posts
    1,049
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Objects.Save - very slow with .Net apps

    Hi Lukasz,

    Please see our reply in the following AutomatedQA forums thread:
    http://www.automatedqa.com/forums/forum/...05-a649e1a23f38

    Also, in the future, please do not send us duplicated requests (note that we reply to messages sent via the Contact Support form, AutomatedQA newsgroups, AutomatedQA forums and the TestComplete section of the SQAforums site). This makes processing your requests much more difficult for us and does not increase the requests priority anyway.
    Regards,
    Allen - SmartBear Support

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:30 AM.

Copyright BetaSoft Inc.