How do you fire an event in QTP?Application is been developed in Java-->using swing components.Since there are 5 search buttons, each search button has 5 different class or state. When we store these 5 different class or state in object repository, its getting stored for 1 search button. Like this we have for 5 different search button.At the time of recording the mouse is placed on the button, while runing the same script qtp is unable to recoginise that button, Since its at disable state. Manual intervention is need like physically some has to move the mouse over that particular button, So that QTP can recognise that particular field.To get the button back to the orginal state we need to pass fireevent so that button gets recognized.

Showing Answers 1 - 1 of 1 Answers

Vinod Thumma

  • May 16th, 2016
 

Try JavaButton("YYY").Object.doClick()

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions