SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3

Thread: Browser Sync

  1. #1
    Junior Member
    Join Date
    Mar 2010
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Browser Sync

    Hi

    I am having problems with browser sync. I used the following two statements to make the next navigation to wait until these properties are fully achieved.

    BrowserObj.Page(OdescPage).Sync
    If BrowserObj.Page(OdescPage).WaitProperty("attribute/readyState", "complete") Then
    ' Proceed with next step defined in my script
    End if.

    This works for most of the pages, but doesnot work for some pages where the Page is constructed on the client side or when it is tabbed template within in the page.

    How do i make qtp wait till the page is entirely loaded.

  2. #2
    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: Browser Sync

    You should use below

    BrowserObj.Sync

  3. #3
    Junior Member
    Join Date
    Mar 2010
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Browser Sync

    Hi

    I tried to use BrowserObj.Sync, it did not work for some pages, and also i dont see the below statement every getting through successfully, as when i compare the timestamps before and after the execution of this statment, it doesnot execede the waitproperty timeout value at all.

    Is there anything that is wrong in the below statement, should i be using something else?
    BrowserObj.Page(OdescPage).WaitProperty ("attribute/readyState", "complete",360000)

    Also in the test settings, the browser navigation time out is set as 360, and object synchronization time out set to 60.

 

 

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 12.50%
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:46 AM.

Copyright BetaSoft Inc.