| || |
QTP with SAP
I am using QTP 8.2 to test SAP.
When am running a script the error is object is not recognized for the first field in the window.
And the error occurs randomly.
The window seems inactivate and i tried Activate property. Still the error is there.
Please help me out.
Also can you please provide me the best practices while using QTP with SAP.
Re: QTP with SAP
There are no specific guidelines for SAP
Consider the following guidelines when recording a test or component:
1) Before you start to record, close all applications not required for the recording session.
2) If you are recording on a Web site, determine the security zone of the site. When you record on a Web browser, the browser may prompt you with security alert dialog boxes. You may choose to disable/enable these dialog boxes.
3) Decide how you want to open the application or Web browser when you record and run your test. You can choose to have QuickTest open one or more specified applications, or record and run on any application or browser that is already open.
4)Choose how you want QuickTest to record and run your test or component by setting global testing options in the Options dialog box and settings specific to your test or component in the Test Settings or Business Component Settings dialog boxes.
5) If you are recording on a drop-down list in a Web page or application, you must click on the drop-down list, scroll to an entry that was not originally showing, and select it. If you want to select the item in the list that is already displayed, you must first select another item in the list (click it), then return to the originally displayed item and select it (click it). This is because QuickTest only records a step if the value in the list changes.
Re: QTP with SAP
I am testing a SAP Portal using QTP. The issue I am facing is the recognisition of drop-down list. I did followed the guidelines suggested by you in point 5. But, the issue is its getting recorded as a 'WedEdit' and not 'WebList'.
The source code of the page suggests that it's a combo-box and moreover the values in the listbox are getting fetched at runtime based on the value selected in the previous listbox.
So can you suggest anything that can be tried?