What is this error obutained while assiging an operating
unit to Business group.
"ID & ID for the flexfield segment Legal Entity does not
exist in the value set HR_ORGDDF_OUI_LEGAL_ENTITY.
(VALUE=5149)
How do you script a nested loop in QTP?
I am showing a snipet of my code. Any suggestions to help
me get this to work would be great appreciated!
STEP A
- Customer Number: No loop
- ISBN: Loop
STEP B
- Customer Number: Loop
- ISBN: Nested Loop
Here is the code I am using now. I am using i for the loop
and j for the nested loop in STEP B of my script.
===========================================
'CREATE AN ADDITIONAL CUSTOMER
Dim myNum, RowNum, RowCnt2, val2, total, i
DataTable.ImportSheet "C:\QOE Data -
UAT1.xls" ,"Data" ,"Global"
RowCnt2 = DataTable.GetRowCount
i = 1
DataTable.SetCurrentRow(i) ' Set row to one
Do while Not i > RowCnt2
i=i+1
DataTable.SetNextRow
MsgBox Datatable.Value("Customer_Num")
Msgbox i
Msgbox RowCnt2
If Not i > RowCnt2 then
val2=datatable.Value("Customer_Num","Global")
OracleFormWindow("Sales Order").SelectMenu "File->New"
OracleFormWindow("Sales Order").OracleTabbedRegion("Order
Information").OracleTextField("Customer Number").SetFocus
OracleFormWindow("Sales Order").OracleTabbedRegion("Order
Information").OracleTextField("Customer Number").Enter val2
End If
'CREATE SECOND ISBN LIST
DataTable.ImportSheet "C:\QOE Data -
UAT1.xls" ,"Data" ,"Global"
Dim j, RowCnt3, val3
RowCnt3 = DataTable.GetRowCount
For j = 1 To RowCnt3
DataTable.SetCurrentRow(i)
' datatable.getSheet("DataTable").setNextRow
If Trim(DataTable("ISBN",dtGlobalSheet)) = "" Then
j = j - 1
Exit For
End If
Next
'Define ISBN rows
If RowCnt3 <> j Then
RowCnt3 = j
End If
'Loop through ISBN rows
For j = 1 To RowCnt3
DataTable.SetCurrentRow(i)
val3 = Datatable.Value("ISBN","Global")
msgbox j
If j = 1 Then
OracleFormWindow("Sales Order").OracleTabbedRegion("Line
Items").OracleTextField("Ordered Item").SetFocus
OracleFormWindow("Sales Order").OracleTabbedRegion("Line
Items").OracleTextField("Ordered Item").Enter val3
else If j < 16 Then
OracleFormWindow("Sales Order").OracleTabbedRegion("Line
Items").OracleTextField("Ordered Item_"&i).SetFocus
OracleFormWindow("Sales Order").OracleTabbedRegion("Line
Items").OracleTextField("Ordered Item_"&i).Enter val3
else If RowCnt1 => 16 Then
OracleFormWindow("Sales Order").OracleTabbedRegion("Line
Items").OracleTextField("Ordered Item_15").SetFocus
OracleFormWindow("Sales Order").OracleTabbedRegion("Line
Items").OracleTextField("Ordered
Item_15").InvokeSoftkey "DOWN"
OracleFormWindow("Sales Order").OracleTabbedRegion("Line
Items").OracleTextField("Ordered Item_15").SetFocus
OracleFormWindow("Sales Order").OracleTabbedRegion("Line
Items").OracleTextField("Ordered Item_15").Enter val3
end if
end if
End If
Next
'EXIT APP
msgbox i
loop
Browser("Browser").Page("Oracle Applications 11i").Sync
Browser("Browser").Close
==========================================
It isn't working correctly in my nested loop in STEP B (for
ISBN).
Any ideas??
Thanks!
SBsteve
can any one help me to resolve this error "&SEGMENT refers
an invalid output DESCRIPTION for system Items"
when i query an job in the MAterial Requirements user
interface
What is Sale order processing?
Once sale order is created, the processing of S.O means,
checking for the materiaal availability using Availability
check,shiiping point determination, price determintaion,
Back Order processsing, credit check holds removal, but
will avaailability check include planned receipts, if
planned receipts like prodn order will be considered in
Avilability check which is done as Sale order processing,
then does it mean that MRP needs to be run for availability
check, coz MRP run gives u the qty to be produced and when
it needs to be produced.
Please clarify.
what is meant by bluetooth? or about bluetooth, uses of
bluetooth, advantages and disadvantages of bluetooth and
more information about bluetooth and in what way it is used
and how it works
Please kindly answer my questions sir
30
What to have ready before you call Borland Developer Support?
44
How to test Web application in which the value is changing
dynamic every time and anyone can modify it?
36
how can we preform retesting(DATA driven test) using
function please gine the code for loginpage
1 Tarot
1.1 Purpose
- Tarot tool will duplicate the tarot-reading
process for the user online.
- Tarot is a craft that uses a deck of 78 cards to
predict a user’s past, present and future.
- The cards are picked by the user and arranged in a
specific spread, which represents points in his past,
present, and future; based on the meanings of the cards
selected, interpretations are given.
1.2 Scope
Only for registered user.
1.3 User Interface
User Interface:
1. Question – This is only for user experience, and has no
bearing on the formulae / process. Simple long text box.
2. Selection of field – radio button selection of 1 of 3
choices(Love, Career, Personal), which affects 1 of 3 card-
meaning databases to be used. After selection, the
unselected databases do not affect or interact with the
system.
3. Spread Selection – radio button selection of 1 of 3
choices(Celtic Cross, Horse Shoe, Simple 3 Card). This
determines the number of cards being picked and the
specific spread database to be used. This also affects the
specific report format being used, as well as the card-
selection GUI.
4. Card Selection – based on the input 3, a specific layout
is shown where the user needs to identify X number of cards
(X also determined by input 3) which are then shown in the
spread. Every card selection identifies the spread position
constants (A, B, C, etc) with specific variable values
(Card numbers) creating an array.
Report format will display on a separate new page, in the
following sequence –
- Statement of question asked
- Selection of field
- Selection of spread
- Detailed description of position data, positions
identified as per spread selection
- Card meaning as picked in field selection
1.4.5 Interfacing/Sourcing Details
1.4.5 Rules and Conditions
- Data needs to be calculated for all fields, but
only a maximum of 3 cards data should be shown in the free
report. For the rest, a payment would be required.
- Payment reports not in phase 1
- The report needs to be emailable (so functionality
to convert to text file / html document should exist, which
will then be emailed to the user’s email address).
29
When we r doing data driven test with chkpts, i want to
insert formulae in data sheet but i didn't get. How we wil
do that plz. explain in detail.
68
How can i initiate the objects to find uniquely in OR