Page 2 of 2 FirstFirst 12
Results 21 to 24 of 24

Thread: Regular Expression in QTP

  1. #21
    Expert Member
    Join Date
    Apr 2008
    Answers
    1,859

    Re: Regular Expression in QTP

    Quote Originally Posted by nawate.k View Post
    Hi,
    Can u give me script for, displayed date changes according to the correct date.
    hai friend,

    Really can't get what you are expecting. Please tell us precisely what do you want.

    Thanks
    Deepa


  2. #22
    Junior Member
    Join Date
    Jun 2009
    Answers
    9

    Descriptive Programming

    I have a problem to writting the DP for web based application.

    When ever i record it it display the code:

    B().P().WebEdit()Set"ABC"

    but when i use object spy for WebEdit field it displayed the following codes, but when I descrive all these thing, it display error message.

    B().P().Table()WebTable().WebTable().WebEdit().Set"ABC"

    Please help me about it


  3. #23
    Expert Member
    Join Date
    Apr 2008
    Answers
    1,859

    Re: Descriptive Programming

    Quote Originally Posted by diwan.bisht View Post
    I have a problem to writting the DP for web based application.

    When ever i record it it display the code:

    B().P().WebEdit()Set"ABC"

    but when i use object spy for WebEdit field it displayed the following codes, but when I descrive all these thing, it display error message.

    B().P().Table()WebTable().WebTable().WebEdit().Set"ABC"

    Please help me about it
    Hi friend,

    Just use the below

    1. Open a new test

    2. Copy and paste the code given below

    Systemutil.run "iexplore.exe","http://newtours.demoaut.com"
    Browser("micclass:=Browser").Page("micclass:=Page").WebEdit("name:=userName","html tag:=INPUT").Set "test"

    Thanks
    Deepa


  4. #24

    Re: Regular Expression in QTP

    Regular expressions are also useful when we run the script on a new version of the application build and we have modified numbers for any of the objects.
    Correct me if am wrong...


Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact