I am trying to record a scenario:
when the cursor is placed over the tab( not clicked) a list of tabs opens. here one of the tabs needs to be clicked.
QTP is not recording the cursor movement. it directly records the tab from the list of tabs. hence the test fails in the replay.
Any solution/ suggestions will be highly helpful.
you need to enhance the script.
try using FireEvent.
when things gets harder ,the harder gets going
I have used FireEvent and the following code:
Set obj= CreateObject("Mercury.DeviceReplay")
Both of the work mouse is placed over the tab and the list with tabs appears.
problem is that the further action clicking of the tab in list fails.
next step is
Browser("theonealliance").Page("theonealliance_4") .WebElement("Current Transactions Current").Click
I need to click "Current Transactions Current". but this step is failing...
any suggestion how to overcome this problem.