Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

QTP for Web

Former Member
0 Likes
518

HI,

I am working on a QTP script to run a web application. There is a Date table from which I need to select the current date. The application also encourages me to type or enter the date in dd.mm.yyyy format. The object recognised is SAPList. However this SAPList only supports 'Select' method and I am unable to 'Set' a value. Is there any way I can convert the object to SAPEdit or any other which can support 'Set' method? Also is there a way I can actually enter the value once the SAPList is 'Clicked'?

Sindhu Naropanth

3 REPLIES 3
Read only

Vny12
Product and Topic Expert
Product and Topic Expert
0 Likes
436

Hello,

can you please try without the SAP plug-in from ADD-IN list in QTP.

I am sure, it would recognize in another way.

best regards

vinay

Read only

Former Member
0 Likes
436

Hi,

I could solve it using setAttribute method for SAPList.

There is another problem I encounter-

My application has a graph with set of points on it. Each point is recognised as a webArea object. However I am unable to select a graphical point by clicking on it. How do I capture it?

Read only

Former Member
0 Likes
436

Hi,

I am facing the same issue.

I have also tried with the following step, as you suggested, but NO SUCCESS.

Browser("...").Page("...").Frame("...").SAPList("...").Object.setAttribute "Value","CAR"

My Environment has

QTP 9.5 with SAP addin

SAP Netweaver application

Your quick response is greatly appreciated.

Regards,

Venkata Pavan.