.

Have you ever used Web Event Recording Configuration in QTP?

Web Event Recording ConfigurationThere is this little feature – Web Event Recording Configuration – sitting inside Tools menu of QTP. QTP help has this to say about it.

QuickTest creates your test by recording the events you perform on your Web-based application. An event is a notification that occurs in response to an operation, such as a change in state, or as a result of the user clicking the mouse or pressing a key while viewing the document. You may find that you need to record more or fewer events than QuickTest automatically records by default. You can modify the default event recording settings by using the Web Event Recording Configuration dialog box to select one of three standard configurations, or you can customize the individual event recording configuration settings to meet your specific needs.

I find it as one of the most neglected areas, as I have never received a single query regarding this feature on my blog or forums in the past 2+years! So , just want to know from you, have you ever used this feature in the past? If yes. Please let us know how it helped you with your QTP issues.

Have you downloaded the FREE Optimizing QTP eBook yet? Get It Now!

If you want to keep track of further articles on QTP. I recommend you to subscribe via RSS feed. You can also subscribe by Email and have new QTP articles sent directly to your inbox.

7 comments ↓

#1 Diwakar on 11.25.08 at 02:05

Hi Ankur,

I’ve used this feature. In my last project I need to record some menu bar that is activated once we move mouse on it..that time I used this feature

#2 Sumit on 11.25.08 at 06:09

Ankur – This feature is not neglected.. but the problem is if you enable webevent recording, then sometimes qtp hangs (if the script size is big..

Also, I think this feature is in 9.2and + versions only..

correct me if i am not.

Thanks,
Sumit

#3 Ankur on 11.25.08 at 06:32

@Diwakar: Good to hear that.

@Sumit: >> but the problem is if you enable webevent recording, then sometimes qtp hangs
Did you check on other machines?

>>Also, I think this feature is in 9.2and + versions only..
It was there in 8.2 also.

#4 Karthi on 12.04.08 at 18:13

I used this to avoid an error in my application by setting “onclick” event to “if available”. Otherwise QTP was trying to record “onclick” always and since it was not found QTP kept throwing error. this error was specific to that application.

#5 dhanraj on 03.09.09 at 03:53

I did the same as mentioned above for the Right Click recording, But not able to understand how it will be used while running the script.

For example i performed it on msn.com
Browser(“MSN.com”).Page(“MSN.com”).Link(“Careers & Jobs”).Click 55,7,micRightBtn

But while running the script it will not perform in RightClick operation on that, instead it will click on that link.

Then what is the use for including the RightClick because as per my understading it should for handling the right click operation on particular object.

#6 Uma on 04.16.09 at 05:15

I have the same question, I performed the web event recording on the right click option, some times it is recording and some times not.

Could you please explain us more clearly?

#7 Ankur on 04.16.09 at 05:34

@Uma – Did you check this post on How to record right clicks using Web Event Recording Configuration?

Leave a Comment