Results 1 to 4 of 4
  1. #1

    Web Edit box issue...

    Hi all,

    In web application we have a "quantity" edit box, when we enter some quantity, total amount should reflect at the bottom
    when we do it by QTP amount will not be reflected at the bottom, but in the edit field we can see the quantity,
    when we do it manually we can see the amt at the bottom...
    Is there any option like "type",


  2. #2

    Re: Web Edit box issue...

    WebEdit().FireEvent "onkeyup"
    WebEdit().FireEvent "onkeydown"
    WebEdit().FireEvent "onkeypress"

  3. #3

    Re: Web Edit box issue...

    Thanx Tarun
    its working fine now

  4. #4

    Re: Web Edit box issue...

    Thanks a lot!

    I had exactly same problem:
    - in HTML, a input field with instruction: onKeyPress="return numeric(this,event,'RET:RLBP-DP_PR63');" maxlength="5" name=...
    in QTP: a webedit element. When a value was entered in this input field, and just after, a submit button was used, value of the input field was lost.
    -Solution: in QTP, just after line:
    ...WebEdit(name_of_webedit) Set"value"
    Add line:

    And it works.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 07:28 PM.

Copyright BetaSoft Inc.