SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Oct 2007
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Check points failing

    I have the following lines in my script:

    Browser("").Page("").WebButton("Generate Report").Click
    var_Exist = Browser("").Page("").WebTable("Search Results Grid").Exist
    Browser("").Page("").WebTable("Search Results Grid").Check CheckPoint("Abc")
    Check point is failing. I have verified the checkpoint properties with the results after the script is run. They both have the same values. I have increased the checkpoint time out to 180 seconds. Waits for 180 secs and returns "Waited for 180 seconds out of a possible 180 seconds"
    I have also increased the object synchornization time out to 30 seconds.
    How to resolve this issue? Any help in this regard is appreciated.

    Thanks in advance.

  2. #2
    Moderator
    Join Date
    Sep 2001
    Location
    Doncaster, UK
    Posts
    5,788
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Check points failing

    A recorded checkpoint should list in the run report why it failed.

    Mark Smith.

  3. #3
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: Check points failing

    Since the checkpoint is on a WebTable, one of the issues could be QTP identifying the wrong table during replay. See in the OR if the table is identified using a index. If yes then you have a higher risk for the same.

    You can also confirm by using highlight object in OR to see which table gets highlighted.

  4. #4
    Junior Member
    Join Date
    Oct 2007
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Check points failing

    Thanks for the response

  5. #5
    Super Member FredMan's Avatar
    Join Date
    Oct 2007
    Location
    Lenexa, Kansas
    Posts
    1,218
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Check points failing

    You could add some time after the Exist keyword like exist(2). This will wait for 2 seconds. Exist without the seconds waits for 20 seconds.
    Onward thru the fog...

  6. #6
    Senior Member
    Join Date
    Sep 2004
    Location
    Phoenix, AZ
    Posts
    198
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Check points failing

    try to avoid check points on webtable. If you have other objects like webelements, use those thngs. And if you can avoid checkpoints, that would be nice(write some piece of and write some conditons, instead of check points.



    Thanks!
    VasuK
    Thanks!
    VasuK

  7. #7
    Moderator
    Join Date
    Sep 2001
    Location
    Doncaster, UK
    Posts
    5,788
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Check points failing

    [ QUOTE ]
    You could add some time after the Exist keyword like exist(2). This will wait for 2 seconds. Exist without the seconds waits for 20 seconds.

    [/ QUOTE ]

    No it doesn't, the 20 seconds is the configurable 'Object Sync Timeout'

    Mark Smith.

  8. #8
    Junior Member
    Join Date
    Oct 2007
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Check points failing

    Thanks for the solutions.

 

 

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 10.71%
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 05:51 PM.

Copyright BetaSoft Inc.