SPONSORS:






User Tag List

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

Thread: HI

  1. #1
    Junior Member
    Join Date
    Oct 2005
    Location
    USA
    Posts
    15
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    HI

    my script is not taking differnt values from data table.
    Thanks,
    Murali

  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: HI

    Go to test settings and set the radio button option to run on all iteration.

  3. #3
    Senior Member
    Join Date
    Jun 2004
    Location
    Miami,FL
    Posts
    949
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HI

    maybe you are doing one iteration
    from QTP tool bar check
    TEST --> Settings
    click the Run tab make sure "run on all rows" selected.
    "I realize it's an error, but no one is going to try to do that!"
    From "Top 10 Stupid Comments from Developers".

  4. #4
    Senior Member
    Join Date
    Jun 2004
    Location
    Miami,FL
    Posts
    949
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HI

    Tarun Lalwani you are faster than me [img]images/icons/wink.gif[/img]
    "I realize it's an error, but no one is going to try to do that!"
    From "Top 10 Stupid Comments from Developers".

  5. #5
    Junior Member
    Join Date
    Oct 2005
    Location
    USA
    Posts
    15
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HI

    I appreciate your reply. I changed the setting to accept all rows from the excel sheet. But still I have the problem. Following is the message I am getting when I am going thru QTP Flight application tutorial.

    Cannot identify the item (for object "fromPort"). Verify that this item's properties match an item currently displayed in your application.
    Thanks,
    Murali

  6. #6
    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: HI

    This is a problem with your script. Post the code

  7. #7
    Junior Member
    Join Date
    Oct 2005
    Location
    USA
    Posts
    15
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HI

    Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("userName").Set "susruth"
    Browser("Welcome: Mercury Tours_2").Page("Welcome: Mercury Tours").Sync
    Browser("Welcome: Mercury Tours_2").Close
    Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("password").SetSecure "4378cec19ce629e28e683ebef47e66988f77"
    Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("Sign-In").Click 24,9
    Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("fromPort").Select DataTable("depature", dtGlobalSheet)
    Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("fromMonth").Select "Dec"
    Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("fromDay").Select "29"
    Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("toPort").Select "San Francisco"
    Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("toMonth").Select "Dec"
    Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("toDay").Select "31"
    Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebRadioGroup("servClass").Select "Business"
    Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").Image("findFlights").Click 54,10
    Browser("Welcome: Mercury Tours").Page("Select a Flight: Mercury").WebRadioGroup("outFlight").Select "Blue Skies Airlines$361$271$7:10$"
    Browser("Welcome: Mercury Tours").Page("Select a Flight: Mercury").WebRadioGroup("inFlight").Select "Blue Skies Airlines$631$273$14:30$"
    Browser("Welcome: Mercury Tours").Page("Select a Flight: Mercury").Image("reserveFlights").Click 41,9
    Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebEdit("passFirst0").Set "teja"
    Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebEdit("passLast0").Set "chinna"
    Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebEdit("creditnumber").Set "5364378"
    Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").Image("buyFlights").Click 43,10
    Browser("Welcome: Mercury Tours").Page("Flight Confirmation: Mercury").Image("home").Click
    Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Sync

    this is my script.two more different values
    1 new york
    2 portland
    3 seattle
    Thanks,
    Murali

  8. #8
    Senior Member
    Join Date
    Jul 2005
    Location
    banglore
    Posts
    104
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HI

    I guess the values u parameterized does not appear in the List box..the values are case-sensitive i guess..While parameterising ListBox or Combo box which is having Select method ..give the same values in the List box..I guess it should come as "NewYork" and not new york..AS i am not having the sample application along with me now..i am not able to give exact thing..may be due to this reason ur script is failing
    Thilak

  9. #9
    Junior Member
    Join Date
    Nov 2005
    Posts
    18
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HI

    Exactly the values what your passing from the datatable is case sensitive and also it requires a exact match. Hence first copy all the items present in the list box using all items and than pass the value

    Alien

 

 

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 06:59 PM.

Copyright BetaSoft Inc.