SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Aug 2005
    Location
    chennai
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    QTP Webedit with Scroll identified as a single obj

    Hi,
    I have a Requirement where i would have to navigate to a Web page and in that i have a webEdit Box with Scroll bars. I need to Take Screen Print of the entire webpage, Store it in a Document and then Scroll Down(WEb edit) again take a Screen print and store it in the same document, similarly i would have to do it until the End of the Scroll.
    I tried in all the possible ways i can but in Vain (tried to get visibletext, doscroll....)

    [img]/images/graemlins/confused.gif[/img] <font color="red"> </font> Problems I am facing here with QTP are.
    1. WebEdit + Scroll is identified as a Single Object "webEdit"
    2. I need to scroll only till the end of the scroll and no extra screen print should be taken
    3. All the Screen prints should be stored in a single document
    i have attached a Copy of the Webedit text in the webpage
    If anyone can help me would be very useful
    Attached Images Attached Images

  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: QTP Webedit with Scroll identified as a single


  3. #3
    Junior Member
    Join Date
    Aug 2005
    Location
    chennai
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP Webedit with Scroll identified as a single

    Hi Tarun,
    thanks for your quick response for me.
    I will not be able to use the API as i work in Remote machine
    Is there any other possible ways by which i can get this done

    Thanks

  4. #4
    Junior Member
    Join Date
    Aug 2005
    Location
    chennai
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP Webedit with Scroll identified as a single

    Can anyone help me, i still have the issue

  5. #5
    Junior Member
    Join Date
    Jan 2008
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP Webedit with Scroll identified as a single

    Hi

    First set the WebEdit active with the cursor in it.
    Then use the SendKeys function to scroll through the WebEdit.

    For example :

    Use SendKeys "{END}"

    to scroll to the end.

  6. #6
    Junior Member
    Join Date
    Aug 2005
    Location
    chennai
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP Webedit with Scroll identified - Single Ob

    I still have the Problem,
    Is there any way to get the Rows Count in the WebEdit object
    which i can use to identify the End of Scroll

  7. #7
    Member
    Join Date
    Jul 2004
    Location
    San Clemente, CA
    Posts
    157
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP Webedit with Scroll identified - Single Ob

    Can you try this:
    1.Take entire text in a variable
    2.Count how many no. of enter keys (it gives you how many total lines) and add + 1 to that number( this is for last line) - I am assuming here 100
    3.Count manually how many number of lines you will get per screen(if suppose 10)
    4.Do loop till to reach 100th line
    5.Write screen print code in your loop and paste them in a document.
    A Test Engineer should be a Programmer.

 

 

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.34%
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 01:46 PM.

Copyright BetaSoft Inc.