Results 1 to 4 of 4

Thread: How to handle in QTP if the objects are dynamically changin in application????

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Answers
    11

    How to handle in QTP if the objects are dynamically changin in application????

    Hi ...

    How to handle in QTP if the objects are dynamically change in application without touch the hardcode...

    say for e.g...I have ADD PO object is in the left side of the page in application...Tomorrow the same ADD PO object is in the right side of the application...

    Without touching the hardcode i want to do scripting by using the Datatable of QTP...

    How can i do it...

    Thanks


  2. #2
    Junior Member
    Join Date
    Mar 2008
    Answers
    1

    Re: How to handle in QTP if the objects are dynamically changin in application????

    Quote Originally Posted by coolkrish View Post
    Hi ...

    How to handle in QTP if the objects are dynamically change in application without touch the hardcode...

    say for e.g...I have ADD PO object is in the left side of the page in application...Tomorrow the same ADD PO object is in the right side of the application...

    Without touching the hardcode i want to do scripting by using the Datatable of QTP...

    How can i do it...

    Thanks
    As per my Knowledge if there is single 'ADD PO' object in an application the same code u have written works fine even though there is change in the Position of an object in the Applicaton. But if the name of the object is changing then u have to use Regular Expression or else nothing if the Position changes.


  3. #3
    Junior Member
    Join Date
    Jan 2008
    Answers
    11

    Re:Regarding for dynamic object changes in QTP...

    Thx for reply...

    Last edited by coolkrish; 04-29-2008 at 03:56 AM.

  4. #4
    Expert Member
    Join Date
    Sep 2007
    Answers
    110

    Re: How to handle in QTP if the objects are dynamically changin in application????

    Hi,

    You can remove x,y coordinates of the object.

    Regards
    Rajaputra


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