Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SAP testing automation with QTP
#13
Not Solved
Hello Hari,

I need to create some charateristics in SAP but with multiple Char. Values. How do i go to multiple levels on a header? see below:

Code:
SAPGuiSession("Session").SAPGuiWindow("SAP Easy Access").Resize 98,17
SAPGuiSession("Session").SAPGuiWindow("SAP Easy Access").SAPGuiOKCode("OKCode").Set "CT04"
SAPGuiSession("Session").SAPGuiWindow("SAP Easy Access").SendKey ENTER
SAPGuiSession("Session").SAPGuiWindow("Characteristics").SAPGuiEdit("Characteristic").Set "QTWTEST2"
SAPGuiSession("Session").SAPGuiWindow("Characteristics").SAPGuiButton("Create").Click
SAPGuiSession("Session").SAPGuiWindow("Characteristics").SAPGuiEdit("Description").Set "QTP characteristics test2"
SAPGuiSession("Session").SAPGuiWindow("Characteristics").SAPGuiComboBox("Data Type").SetFocus
SAPGuiSession("Session").SAPGuiWindow("Characteristics").SAPGuiComboBox("Data Type").Select "Character Format"
SAPGuiSession("Session").SAPGuiWindow("Characteristics").SAPGuiEdit("Number of Chars").Set "6"
SAPGuiSession("Session").SAPGuiWindow("Characteristics").SAPGuiTabStrip("TABSTRIP1").Select "Descriptions"
SAPGuiSession("Session").SAPGuiWindow("Characteristics").SAPGuiTabStrip("TABSTRIP1").Select "Values"
SAPGuiSession("Session").SAPGuiWindow("Characteristics").SAPGuiTable("Allowed Values").SetCellData 1,"Char. Value","QTW002"
SAPGuiSession("Session").SAPGuiWindow("Characteristics").SAPGuiTable("Allowed Values").SetCellData 1,"Description","TEST2"

------need to create another Char. value "QTW003" while still on the same header "QTWTEST2"
Just the next line below (data to be read from an excel file)
Reply


Messages In This Thread
SAP testing automation with QTP - by hari - 01-23-2008, 07:54 PM
RE: SAP testing automation with QTP - by Ankur - 01-23-2008, 09:52 PM
RE: SAP testing automation with QTP - by hari - 01-24-2008, 12:54 PM
RE: SAP testing automation with QTP - by MeenaM - 05-25-2011, 09:17 AM
RE: SAP testing automation with QTP - by janani - 05-18-2011, 04:27 PM
RE: SAP testing automation with QTP - by mharps - 04-07-2014, 05:43 AM
RE: SAP testing automation with QTP - by HÃ¥kan - 07-05-2011, 06:23 PM
Question, - by Rajagopalan - 04-13-2012, 03:01 PM
RE: SAP testing automation with QTP - by Ankesh - 08-08-2012, 03:19 PM
RE: SAP testing automation with QTP - by Fredodo - 12-14-2012, 04:55 PM
RE: SAP testing automation with QTP - by elango87 - 12-14-2012, 06:04 PM
RE: SAP testing automation with QTP - by Ankesh - 12-17-2012, 07:23 PM
RE: SAP testing automation with QTP - by sireesha - 05-23-2014, 01:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP and CEF automation testing smmehadi@gmail.com 1 3,227 10-27-2017, 08:08 AM
Last Post: liuyuns
  "How to automate SAP Applications using QTP" suresz449 9 23,205 09-01-2017, 12:42 PM
Last Post: Shiva Kumar
  SAP Automation Issue chinnikrishna 0 2,538 04-09-2015, 05:41 PM
Last Post: chinnikrishna
  how to sap testing using qtp sireesha 1 3,387 05-30-2014, 02:11 PM
Last Post: Tarik Sheth
  "SAP automation using QTP" work from home kamal262007 0 2,756 01-15-2014, 01:22 AM
Last Post: kamal262007

Forum Jump:


Users browsing this thread: 9 Guest(s)