SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Member
    Join Date
    Oct 2004
    Posts
    33
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Frame("NavBar").

    Hello
    I need help.

    Every time when I record QTP script against my application these two lines never get recorded, so I need to record this every time separately.
    Anybody can tell me why QTP is does not see NavBar in my application.

    Browser("HOUsers /lana1").Page("HOUsers /lana1").Frame("NavBar").WebElement("Entry").Click
    Browser("HOUsers /lana1").Page("HOUsers /lana1").Sync


    Thanks,

  2. #2
    Senior Member
    Join Date
    Feb 2001
    Location
    USA
    Posts
    776
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Frame("NavBar").

    What language your web application is created in?
    Thanks,
    Prashant Patel

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

    Re: Frame("NavBar").

    You need to change the event recording configuration. Set to high and then see if its recorded. It just because the default settings don't capture click on a web element.

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

    Re: Frame("NavBar").

    java script
    vbscript

  5. #5
    Member
    Join Date
    Oct 2004
    Posts
    33
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Frame("NavBar").

    Hi,
    I changed event recording configuration to HIGH and I still have the same problem

    Browser("HOUsers /lana1").Page("HOUsers /lana1").Frame("Menu").Link("Instructions").Click

    Between first and last lines I have to record a separate line for NavBar

    Browser("HOUsers /lana1_2").Page("HOUsers /lana1").Frame("NavBar").WebElement("Entry").Click

    Browser("HOUsers /lana1").Page("HOUsers /lana1").Frame("Main").Link("Fed Wire to Account Owner").Click

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

    Re: Frame("NavBar").

    Svetlana try using low-level recording.

    Mark Smith.

  7. #7
    Member
    Join Date
    Oct 2004
    Posts
    33
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Frame("NavBar").

    Thank you, Mark
    It working now using Low-Level recording

    This line looks different, but it works for me
    Window("Microsoft Internet Explorer").WinObject("Internet Explorer_Server").Click 417,64

    Thanks again

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

    Re: Frame("NavBar").

    I would suggest not to use Low-Level Recording as it fails on the page layout changes and browser resizing.

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

    Re: Frame("NavBar").

    Ok try this

    Go to Tools->Web Event Recording Configuration
    Click on "Custom Settings..."
    Select WebElement in tree view
    Go to Event->Add->OnClick
    Click OK

    And now try recording the script again

  10. #10
    Member
    Join Date
    Oct 2004
    Posts
    33
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Frame("NavBar").

    Hi , Tarun
    I added (OnClick) to event

    Unfortunately, it didn't work

    Thanks,
    Svetlana

 

 
Page 1 of 2 12 LastLast

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.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.50%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 09:18 PM.

Copyright BetaSoft Inc.