SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    Apprentice
    Join Date
    Jan 2008
    Location
    PUNE, INDIA
    Posts
    18
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Without using QTP tool how to perform actions?

    Without using QTP tool how to perform actions on browser objects by using VB Scripting. Let say my scenario is first open the IE Browser and navigate to google site and search for string sqaforums and open the sqaforums site and login with credentials.

    Thanks,

  2. #2
    Senior Member
    Join Date
    Sep 2008
    Posts
    111
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Without using QTP tool how to perform actions?

    Use IE.Application object

  3. #3
    Advanced Member
    Join Date
    Sep 2007
    Location
    Chennai, Tamil nadu, India
    Posts
    999
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Without using QTP tool how to perform actions?

    i have never seen bugs sleeping

  4. #4
    Apprentice
    Join Date
    Jan 2008
    Location
    PUNE, INDIA
    Posts
    18
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Without using QTP tool how to perform actions?

    many thanks Prince

    But I a have small doubt..

    objIE.Document.All("q").Value = "Easy way to automate testing"
    objIE.Document.All("btnG").Click
    GetLinkByHref

    in the above code .Document.All and GetLinkByHref are the IE browser object properties?

  5. #5
    Senior Member
    Join Date
    Mar 2006
    Location
    Bristol, UK
    Posts
    1,530
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Without using QTP tool how to perform actions?

    Use WATIR. It's written in Ruby which is a scripting language like VBS

  6. #6
    Apprentice
    Join Date
    Jan 2008
    Location
    PUNE, INDIA
    Posts
    18
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Without using QTP tool how to perform actions?

    Many Thanks Robbiewinston for your reply.

  7. #7
    Advanced Member
    Join Date
    Sep 2007
    Location
    Chennai, Tamil nadu, India
    Posts
    999
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Without using QTP tool how to perform actions?

    They are DOM methods, by using this methods you can access and manipulate html elements.


    GetLinkByHref is function name. By using DOM you can automate some limited tasks in Browser.
    i have never seen bugs sleeping

 

 

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.00%
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 11:19 AM.

Copyright BetaSoft Inc.