SPONSORS:






User Tag List

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

Thread: clarification

  1. #1
    Senior Member
    Join Date
    May 2008
    Posts
    652
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    clarification

    hi friends,

    I am automating web application right now. i have some basic doubts and expecting clarification from you people

    I have written descriptive program and also instructed QTP to fetch the value from datatable.

    I have 3 username and password

    username password
    A A
    B B
    C C

    If 2nd iteration is invalid QTP is hanged, but what i need is, once the error has occured i have to instruct QTP to fetch next values without stopping the execution. How can i do it.Let me know

    Thanks,
    The issue what you have listed does not exist, works fine in my machine- stupid comment from the developer

  2. #2
    Senior Member
    Join Date
    Dec 2006
    Location
    Germany, Dresden
    Posts
    1,536
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: clarification

    look/search for "on error resume next","ExitIteration" and something like this
    http://qcmt.pc-polis.de

    de omnibus dubitandum

    For all Questions: Please be sure to take a look at the QTP Manual before posting any Questions, thanks for doing this

  3. #3
    Senior Member
    Join Date
    May 2008
    Posts
    652
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: clarification

    hi friends,

    I have used on error resume next statement alos but it is not working.help me out

    Thanks
    The issue what you have listed does not exist, works fine in my machine- stupid comment from the developer

  4. #4
    Senior Member
    Join Date
    Dec 2006
    Location
    Germany, Dresden
    Posts
    1,536
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: clarification

    [ QUOTE ]
    hi friends,

    I have used on error resume next statement alos but it is not working.help me out

    Thanks

    [/ QUOTE ]

    no chance without more information about your code, your application, your environment and so on. whta have you done for your own before posting your question here???
    http://qcmt.pc-polis.de

    de omnibus dubitandum

    For all Questions: Please be sure to take a look at the QTP Manual before posting any Questions, thanks for doing this

  5. #5
    Senior Member
    Join Date
    May 2008
    Posts
    652
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: clarification

    sorry for late updatation ..here is the process

    if browser(b).page(p).exist then
    on error resume next
    statement for username,password to fetch values from dttable
    datatable.setnextrow
    end if
    The issue what you have listed does not exist, works fine in my machine- stupid comment from the developer

  6. #6
    Senior Member
    Join Date
    Dec 2006
    Location
    Germany, Dresden
    Posts
    1,536
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: clarification

    [ QUOTE ]
    sorry for late updatation ..here is the process

    if browser(b).page(p).exist then
    on error resume next
    statement for username,password to fetch values from dttable
    datatable.setnextrow
    end if

    [/ QUOTE ]

    If ... Then
    Else
    End If

    'basic vbscript, put ExitIteration in ELSE
    http://qcmt.pc-polis.de

    de omnibus dubitandum

    For all Questions: Please be sure to take a look at the QTP Manual before posting any Questions, thanks for doing this

  7. #7
    Senior Member
    Join Date
    May 2008
    Posts
    652
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: clarification

    hi rscholz660,

    Thanks for u r co-ordination first.

    In my application run time error is shown in the browser. application is hanged.

    please tell me any other solution. even tried recovery scenario but not working.

    Thanks,
    The issue what you have listed does not exist, works fine in my machine- stupid comment from the developer

  8. #8
    Senior Member
    Join Date
    Dec 2006
    Location
    Germany, Dresden
    Posts
    1,536
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: clarification

    then its an hard error in your application.
    why you dont like to search for own solution? there are a lot of possibilities like:
    - kill task
    - close application window
    - read out html text to get the error
    - .....

    i think its time to close this thread now (for me), use your brain together with all hints given (not only) in this thread, i'm sure you will find a way
    http://qcmt.pc-polis.de

    de omnibus dubitandum

    For all Questions: Please be sure to take a look at the QTP Manual before posting any Questions, thanks for doing this

 

 

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 11.54%
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 02:20 PM.

Copyright BetaSoft Inc.